I've created a PowerApps by customizing a SharePoint form. All complete data will store in SP list. But the apps allow user to save the form by clicking "Save" button, and it will save in collection before submitting completed form.
When user wanted to view/retrieve the data from the collection, I got "Name isn't valid. This identifier isn't recognized" error on dropdown list.
I can retrieve data from the collection on text fill, date picker and etc but not on dropdown list.
My code for save data in collection as below.
I've created collection gallery called BasicDetailsGallery.
When user wanted to retrieve or view the item, it will navigated to BASIC_DETAILS_SCREEN_COLECTION as below.
On default properties, I've put BasicDetailsGallery.Selected.Value on dropdown list and got an error "Name isn't valid. This identifier isn't recognized". I also tried to put BasicDetailsGallery.Selected.Station on default properties but the error "Expected text value" came out.
When this error occurred, the value that selected by user from dropdown menu (Station) is not appear. Its blank.
Can someone provide me guidance/help on this? Please share screenshots as i'm a beginner on PowerApps.
Thank you in advance.
Solved! Go to Solution.
What type of field is 'Station'?
Consider first changing your record in your collection for Station to the following:
Two reasons, one, you should avoid using SelectedText as it is deprecated. And second, this will give you the actual selected Value from the dropdown.
Set Default formula on the Dropdown to BasicDetailsGallery.Station
Also, the formula for RegionalHead should be set as well to the following:
I hope this is helpful for you.
I tried to change the record in my collection as below but i'm getting "Incompatible type. The item you're trying to put into collection has the type that not compatible with the collection" error.
Or is there something wrong with the items properties on Station?
Hopefully you can help me out on this 😞
Are these independent fields to display the details of an item in the gallery or is it a form?
I'll get you there 😉
So, your items property is fine on the dropdown. This will be a single column table of Values.
In your collect statement, can you tell me where in the formula the error is? In your picture nothing is red and underlined. That would help get to the cause.
Also, since we changed RegionalHead, what is the items property of that dropdown?
@JR-BejeweledOne From the pictures, these appear to be independent Controls.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.