rwilson504 / PCFControls

Reusable PowerApps Control Framework (PCF) controls.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hey, With All Your Spare Time, How About a Canvas Text File Uploader and Downloader? 😁

ArtKarp opened this issue · comments

commented

I am trying to figure out a way to have a user select a local text file (with my custom ext name) and upload it into a hidden text control in a canvas app. This way I can patch it to a CDS record text field. I found a data card control, but it is to much work to hide all it's unnecessary bits to make it usable. I just want a button that will let the user pick the file from their HD, upload it into a text control and tell me that it completed successfully. Would be cool the other way too...to be able to save the content of a text or HTML control text to a file. This way you could use PA to build boilerplate text and "export" it to a file.

Please let me know if I have totally missed something that already exists and offers this functionality.

-Art

I don't think there is any existing functionality that would do that in face I couldn't find any that would also allow you to download a file which is why i created the CanvasFileDownloader yesterday. I think this wold be a fairly easy control to do.

Would you want the upload to just grab text from inside the file and put it in a text field or do you want it to take the entire file and make it a base64 string that you could use to create an annotation file?

commented