File upload in visual in powerBI - powerbi

Is there any visual for file upload , where a user can upload a file. I searched a lot. But not able to find any links.Thanks .
saw this link but getting it:
https://community.powerbi.com/t5/Developer/File-Upload-in-Custom-Visual/m-p/335971

Build a Power App to accept the file, and embed that in your report with a Power Apps visual.

Related

How can i download folder in oneDrive using microsoft graph API | python requests?

I want to download folder and export as zip like we do in google drive. is there is anyway we can do in python requests. is there any endpoint for that?
downloadURL=x["#microsoft.graph.downloadUrl"]
print " download Url : ",downloadURL
I am using this https://graph.microsoft.com/v1.0/users/{user-id}/drive/root:/testing 1/new-file-name.docx. for getting that URL. how can I achieve same for folder.
As per the documentation Only driveItems with the file property can be downloaded. Folders don't have the property. I also don't get how a folder would need to be exported as pdf. I suggest you review your use case and find the files that you need to export to pdf instead of targeting folders.

Input xlsx or csv file in Kettle from microsoft sharepoint that needs login

I want to input xlsx files or csv files from a microsoft sharepoint site that i need to login.
I have account on the sharepoint but Kettle Microsoft excel input step does not have options for login. The result is that the transformation gives an error that it cannot access the file.
Is there any solution for this problem?
There is no such option to enter credential if you are reading files from share point .
But you have an option to download files using HTTP Client Steps in Pentaho,so first download them to any local unix/windows path, later you can process them using CSV file input/Excel Input option.
REST Client step is also available to read API's Data. Please work around.

apply form data from Django website to .exe file to generate link

I have built a Django website to accept data submitted from a user input form (an e-book application website). Upon application by the user, I could see their application on the backstage of the website and approve their application. This website is used only for several people.
I want to add a function like this:
The users who have accounts on this website could submit a request to download the e-book, in which they should write the details (author, year.... ) of the e-book.
I have already made an .exe file, which could accept parameters (author, year...) to generate a .txt file (the e-book). I want to create an auto parameter passing function in my Django website. when I approve the users' application for the e-books on my website, the parameters they entered should be passed to the .exe file to generate the .txt file automatically and save this .txt file on the server.
At the same time, a link that is linked to the storage position of the .txt file should be shown to the user so they could download the .txt file generated.
I have tried to deploy my Django project to pythonanywhere, but it's a linux server and so the .exe file could not be run on it.
I have these 2 questions:
Are there any free Windows server options to deploy my Django website to so that I could let the .exe file run in the backstage?
How to achieve the functionality of passing the parameters that the user entered to the .exe file automatically and show the link to the user for downloading (I have finished all the other functionality of the website, including storing the parameters they entered to the sqlite database)?

Ionic 2: Uploading file from google drive/cloud to my own server

In my application I have a functionality where user can upload his resume(of format .doc,.docx,.pdf). I'm using Ionic File Choosing plugin to choose the file and to upload I'm using Ionic File Transfer plugin. It is known that the file transfer plugin expects fileName filed in FileUploadOptions which will be the name of file to be uploaded with it's extension. In my case say resume.pdf/doc/docx.
For getting the file extension I'm passing the chosen file's path to Ionic File Path plugin which will resolve it to it's native path.
The whole process is working absolutely fine when the file is chosen from mobile's native file system.
But when the file is chosen from drive/cloud application the Ionic File Path plugin throws error cannot be resolved to native path.
As I'm not able to resolve file path to it's native path I'm not getting file's extension.
When I'm not aware of file's extension it is not possible to upload the file to my server. (if I keep filename field empty in FileUploadOptions, by default name.jpg will be taken which may not be the type of file that I'm trying to upload).
Please suggest how can I get the extension of file that is chosen from drive or how can I upload a file without default filename field in FileUploadOptions.
7.It's similar to this question ionic 2 How to download file from Google Drive and I-cloud as there is no proper answer for this question I'm reposting it with further explanation.
Finally I found solution for this problem. I have created a public github gist where I have explained the solution. The link for it is as below
https://gist.github.com/coolvasanth/d042a26deda75f5e390b42b87995f30d

python upload image from a url to google drive api

For my Python app,I had completed the basic settings to interact with google drive api and found it working by a test upload of a CSV file. Now I need to upload an image from a url to a newly created folder named 'myappname' in Google Drive.
Thanks in advance
For now, there is no way you can directly upload file from url. There are two workaround I can think of
Download file and upload it back using Files.insert()
Use Save to Drive button
Using save to Drive button requires user interaction to click the button which might not be the one you want. In that case, downloading and uploading is the only way I can think of.