I am having object in JSON form, but want the text of the lookup value.
How to do this?
*This post is locked for comments
Assuming you have got this JSON response from a Web api request, to need to change your request to include the formatted values.
something like this-
req.setRequestHeader("Prefer", "odata.include-annotations=OData.Community.Display.V1.FormattedValue");
check this link for details
Hi, You may refer the following article:
arunpotti.wordpress.com/.../get-lookup-id-text-entityname-in-crm-using-javascript
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156