question

UnknownUser avatar image
0 Votes"
UnknownUser asked mananlzedan-4803 answered

Power App to file upload

I am a newbie to PowerApps and the flow automations. I am building a simple Canvas Power App that receives the user input then the JSON is composed and the JSON is posted to the Salesforce using the REST API through the flows. Submit button action is like below

 Collect(
     FormInfo,   {
         name: nameInput.Text,
         title: titleInput.Text,
         manager: managerInput.Text,
         phoneNumber: phoneNumInput.Text,
         email: emailInput.Text,
         startDate: Text(startDateInput.SelectedDate),
         roleProfileInfo: roleProfileInfoInput.Text,
         userSubmitting: User().Email   }
 );
 Set(FormObj,JSON(FormInfo));
    
 SFNewUserRequest_1.Run(FormObj);
    
    
 Reset(nameInput);
 Reset(titleInput);
 Reset(managerInput);
 Reset(phoneNumInput);
 Reset(emailInput);
 Reset(startDateInput);
 Reset(roleProfileInfoInput);


The user input is composed as JSON and sending it to the flow. I am not sure how I can add an upload file in the power app that needs to be sent to Salesforce through the REST service. Most of the examples out there are doing the loading the file to Sharepoint library, I just wanted to know if this is also ossible.

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeonLaude avatar image
0 Votes"
LeonLaude answered

Hi @DhanalakshmiVellachamy-6740,

Please note that Power Apps is currently not supported in the Q&A forums, the supported products are listed over here https://docs.microsoft.com/en-us/answers/products.

You may ask the experts in the dedicated Power Apps forum over here:
https://powerusers.microsoft.com/t5/Power-Apps-Community/ct-p/PowerApps1


If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!


Best regards,
Leon

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

mananlzedan-4803 avatar image
0 Votes"
mananlzedan-4803 answered

I've tried linking files that come via email, sending them and saving them to OneDriv

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.