Hi,
Is there a way to grab the FormattedValue instead of the GUID?
Using this header:
'Prefer' => 'odata.include-annotations=OData.Community.Display.V1.FormattedValue,return=representation',
I can get this kind of result:
+"productname_value@OData.Community.Display.V1.FormattedValue": "My product name" +"productname_value": "7dc2fcbe-8a6d-e811-8108-3863bb341bf8"
However with the PHP library, $res->productname_value gives me the GUID (which makes sense) but I don't know how to get the value obviously $res->productname_value@OData.Community.Display.V1.FormattedValue won't work
thank you for your help
Hi,
Is there a way to grab the FormattedValue instead of the GUID?
Using this header:
'Prefer' => 'odata.include-annotations=OData.Community.Display.V1.FormattedValue,return=representation',I can get this kind of result:
+"productname_value@OData.Community.Display.V1.FormattedValue": "My product name" +"productname_value": "7dc2fcbe-8a6d-e811-8108-3863bb341bf8"However with the PHP library,
$res->productname_valuegives me the GUID (which makes sense) but I don't know how to get the value obviously$res->productname_value@OData.Community.Display.V1.FormattedValuewon't workthank you for your help