Upload a pdf file in the jasper server repository using jasper etl

Update JICONTENTRESOURCE
set
 data = bytea_import('C:\Users\avinashpo\Desktop\DM\testset\Avinash.pdf')where id =20667;
I am using this query in jasperETL to upload a specific file. but jasper doesnt allow absolute path in query. is there any way to achieve this. Thoughts/ trails/soultions appreciated. Thanks in advance!!
avinash.eng18's picture
Joined: Jan 18 2016 - 10:24pm
Last seen: 3 months 1 week ago

1 Answer:

Just use tRest component to use JasperReports Server's REST v2 API to upload your file.

http://community.jaspersoft.com/documentation/tibco-jasperreports-server...

hozawa's picture
177041
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago
Feedback