web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Import control is not ...
Power Apps
Unanswered

Import control is not working

(0) ShareShare
ReportReport
Posted on by

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-import

The 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

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    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

  • v-siky-msft Profile Picture
    on at

    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”.

    Annotation 2019-08-29 161649.png

     

    Best regards,

    Sik

  • Community Power Platform Member Profile Picture
    on at

    Thanks for the answer @RezaDorrani  and @v-siky-msft !

    Im using the same name. Im also trying ";" instead of ","  but still not working.

     

    import1.PNG

     

    import2.PNG

     

  • dadwarf Profile Picture
    2 on at

    Hi @Anonymous, 

    Did you find a solution ? I experience the same issue.. 

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Hello!

    Nope, no solution. Had to remove that functionality from my app. 😞

  • JoaoN Profile Picture
    222 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard