Hi guys,
May I know how to use the ODataV4 web service to get the item image/picture in Visual Studio 2017?
Any expert can help me on this or provide me the sample? I had installed the OData v4 client code generator also but still cannot get it.
Thank you.
0
Answers
If you could use the API endpoints instead of OData, then look at this: https://docs.microsoft.com/en-us/dynamics-nav/api-reference/v1.0/api/dynamics_item_get_picture
If you have to use OData, then the easiest solution is adding a field to your OData page, and display the image as a Base64 string (imo)
I using BC version 16, do you mean I need to create a new field to get the image as a Base64 string right? May I know do you have any example for this? It is because I know if direct use the SOAP or OData cannot get the url/data from my original item image field
Let me know if something is not clear