Announcements
this is my code. Set(varPDF,PDF(Container1));UploadPDFtoSP.Run("test.pdf",Substitute(JSON (varPDF,JSONFormat.IncludeBinaryData),"""","")))I got this error: invalid number of arguments: received 2, expected 1.I don't know what went wrong.
Hi @norashura ,
Could you please show me your flow?
In addition, please check the trigger input arguments:
I think this link will help you a lot:
https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/how-to/pdf-function#create-a-flow-to-use-in-your-app
Best Regards,
Bof
Hi @norashura You can also check with below steps to reset the parameters:
1. In your power automate flow delete the step of "PowerApps". It will remove all the parameters of "Ask In PowerApps" in Power Automate Flow
Please refer the below screenshot:
2.Again add the "Ask In PowerApps" parameter in the Power Automate where you want to pass value from the canvas app.
Thanks!
Inogic Professional Services Division
Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!
Drop an email at crm@inogic.com
Services: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/
i've already resolve the issue. this is my flow .
this is my code :savefiletopdf.Run({file:{name:"",contentBytes: PDF(Container1 ,{ExpandContainers:true})}})
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 207 Super User 2026 Season 2
MS.Ragavendar 150 Super User 2026 Season 2