cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDK - Display List Picker Value

0 Kudos

Hi,

I have a cell form that contains a several List Pickers. Those picker items are populated using an entity with the key serving as the return Value and a description as the DisplayValue. Each picker has his own entity set.

Now I want to build a read only page to display that information but I’m struggling to find a way to display the return value without creating a List picker with the edit disabled. Is there any way to this this kind of binding in a simple property or similar control?

Thank you in advance.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

noliv

Were you able to resolve your issue? If any of the below responses helped you, then please mark the helpful answer by accepting it OR post an answer so others might benefit from your findings and then close this discussion.

Regards,
Jitendra (SAP Community Moderator)

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you are showing something as a display only (for example on a detail page) you would typically use one of the section table type controls (key value, simple property etc). How you setup the binding will depend heavily on your odata service and where the data is coming from.

For example, you have an item that has references to the pickers where the key values are stored in the item. If your service has navigation properties pointing to the list picker entities you can $expand the item and directly reference the display values.

Or, you can setup a section target that uses query options to filter on the specific picker entity set / key and then bind to the resulting properties to get the display value.

It all depends on what the default binding object is for the page, where the picker key values are coming from and how you want to display it.