I use below code in docx template to get image from other object.
#EVAL[rbv_api.getFieldValue("Picture",18395,"UploadIMG")]
but it return this
[object Object]
instead of image that i want.
it work fine if I get other field (name,id).
like this #EVAL[rbv_api.getFieldValue("Picture",18395,"name")]
I use Private Rollbase 3.2.3.0
Hello. It does not appear to work this way.
You may have to make use of other approaches, such as hosted files.
Can you please also share details regarding the objects you used and how they are related?
Is the situation something like this - two objects "obj1" and "obj2", where obj1 has an Image field with an image, and obj2 has the Document template where you are trying to use this image?
Regards,
Karthikeyan
My situation is like what you said.
obj1 has an image.
obj2 has a Document template (docx).
And my obj1 is in app1, Also obj2 is in app2.
So it have no relation.
Actually, I tried to bring an image from app1 (obj1) to Word Document template in app2 (obj2).
By using api or something that can do.
Thank you so much for your response, Karthikeyan.
Hello. It does not appear to work this way.
You may have to make use of other approaches, such as hosted files.