Can I get image to docx file by using rbv_api.getFieldValue?

Posted by Wave Kasipat on 30-Jul-2015 22:57

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

Posted by Karthikeyan Bhaskaran on 17-Aug-2015 01:06

Hello. It does not appear to work this way.

You may have to make use of other approaches, such as hosted files.

All Replies

Posted by Karthikeyan Bhaskaran on 04-Aug-2015 07:27

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

Posted by Wave Kasipat on 04-Aug-2015 21:05

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.

Posted by Karthikeyan Bhaskaran on 17-Aug-2015 01:06

Hello. It does not appear to work this way.

You may have to make use of other approaches, such as hosted files.

This thread is closed