Dear Sir/Madam,
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.
Hi @RandyHayes , @JR-BejeweledOne , @Anonymous ,
I am able to get the default value on dropdown list (Station and RegionalHead) correctly.
I put BasicDetailsGallery.Selected.Station.Value on Default properties and the error gone! 🙂
Thank you 🙂
What type of field is 'Station'?
Consider first changing your record in your collection for Station to the following:
Station:Station.Selected.Value,
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:
RegionalHead:RegionalHead.Selected.Value,
I hope this is helpful for you.
Hi,
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 😞
Thank you.
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.
Hi,
My collect statement as below.
And here is the items in RegionalHead.
Thank you,
Tiera
Hi,
Anyone can help me on this? I've been stuck here for a week 😞
Thank you.
Hi @Anonymous ,
Appreciate if you could help me on my issue above?
Thanks in advance,
Tiera
Hi @RandyHayes , @JR-BejeweledOne , @Anonymous ,
I am able to get the default value on dropdown list (Station and RegionalHead) correctly.
I put BasicDetailsGallery.Selected.Station.Value on Default properties and the error gone! 🙂
Thank you 🙂
User | Count |
---|---|
252 | |
126 | |
105 | |
50 | |
49 |