Notifications
Announcements
Hello!
I'm trying to follow these steps to export/import data on my app.https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-export-importThe Export control works fine, but I get an error (invalid argument type) when I put this formula on the Import Control:"Collect(ImportedProducts, MyData.Data)"What is the correct synthax to get back my exported data?
Thanks in advance
Hi @Anonymous
in your import control
use OnSelect property and add the following
Collect(ImportedProducts,ImportButtonName.Data)
where ImportButtonName is the name of the import control
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
Could you share the name of Import control? Did you modify the name to ‘MyData’?
According my test, I find the cause of you problem is that the control name is inconsistent with the call name of formula.
You should make sure that the name of import control is “MyData”.
Best regards,
Sik
Thanks for the answer @RezaDorrani and @v-siky-msft !Im using the same name. Im also trying ";" instead of "," but still not working.
Hi @Anonymous,
Did you find a solution ? I experience the same issue..
Thanks
Hello!Nope, no solution. Had to remove that functionality from my app. 😞
I am having the same issue @Anonymous @v-siky-msft If I delete the import control and add again with the same expression in the on select propertie, I do not got the error. I go to mobile or even web browser app and try to use the import control, and it does not work.If I try to change the expression in the on select (just rename the import control for example), I got the same error @Anonymous got. It does not work anyway.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268