After creating a data source using webapi\odata, I realized that mapping an optionset required an Enum as per Microsoft and OData requirements
See my example below: Creating the OData one can define these Enums:
See my example below: Creating the OData one can define these Enums:
Quering the $metadata I would see the enums defined as follow:
mappng these is then as ealy as :
- *** note The ‘External Type name’ : The actual ‘type name’.’name’ (this got me stumped for a while no-where was this documented)
- Member Name.
Hi mate, as far as i can see in your example you are setting external value as string, for example "Eugene", is this correct? Please help me because by using external value as int32 does not work..
posted by Alexandros Vathis at 2022/06/15 20:12:23