on 09-10-2020 6:15 AM
Hi, I have created a simple an online app with a Create Order page using the "Form Cell Page" template with a List Picker control on it. The List Picker is bound to an OData Entity "PriorityVHSet" using "Object binding on entityset." The List Picker opens up fine and properly displays the list of priorities from the bound OData Service/Entity Set. However, regardless of which value I select (Very High, High, Medium, Low), the List Picker control on the page resets the selection to the first value (Very img-3312.pngimg-3313.pngimg-3314.pngHigh) in the list. Please find below the metadata for the List Picker control. Anyone else experienced such issue?
{
"AllowEmptySelection": false,
"AllowMultipleSelection": false,
"Caption": "Priority",
"IsEditable": true,
"IsPickerDismissedOnSelection": false,
"IsSearchCancelledAfterSelection": false,
"IsSelectedSectionEnabled": false,
"IsVisible": true,
"PickerItems": {
"DisplayValue": "{PriorityCode}",
"ReturnValue": "{PriorityCode}",
"Target": {
"EntitySet": "PriorityVHSet",
"Service": "/MyApp/Services/MainService.service" } },
"PickerPrompt": "Please select one single item",
"_Name": "FormCellListPicker0",
"_Type": "Control.Type.FormCell.ListPicker" }
Thank you all. After further debugging, I have found the issue. Filter was not implemented on PriorityVHSet. I was under the impression that it calls the Entity on selection. After implementing the Filter on PriorityCode in PriorityVHSet, the issue has been resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.