hi, we need to publish the Item Picture field through ODATA Web service in NAV2016, but unfortunately we are not succeeding as the field is not visible. Do you have any suggestions of how we can go around this please?
add a text field to table item. fill it with the base64 encoded image value. this field you can access via odata. when calling the odata service read the new text field, convert the text value back to an image.
best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
add a text field to table item. fill it with the base64 encoded image value. this field you can access via odata. when calling the odata service read the new text field, convert the text value back to an image.
The problem with this is that a Text field can only store 250 chars so won't be large enough to store a base64 encoded image.
Answers
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
The problem with this is that a Text field can only store 250 chars so won't be large enough to store a base64 encoded image.