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

0
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: 5 days 20 hours ago

1 Answer:

1

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
14206
Joined: Apr 24 2010 - 4:31pm
Last seen: 10 hours 56 min ago
Feedback
randomness