admin管理员组

文章数量:1410689

I'm using tibco bwce. I need to have pdfs with editable templates within my project. These pdfs must be used with the PDFReader palette. But I have a problem to insert the pdf path inside the general -> input file section this because the path must be the one related to the project and not the one I have on the machine, so as to be as generic as possible I tried with Resources/test.pdf but it doesnt work

I'm using tibco bwce. I need to have pdfs with editable templates within my project. These pdfs must be used with the PDFReader palette. But I have a problem to insert the pdf path inside the general -> input file section this because the path must be the one related to the project and not the one I have on the machine, so as to be as generic as possible I tried with Resources/test.pdf but it doesnt work

Share Improve this question asked Mar 5 at 21:31 Benni.Benni. 1
Add a comment  | 

1 Answer 1

Reset to default 0

to test locally and to use the same path on the machine, you can recreate the folder structure locally under C:\ drive

E.g. if on the server where you deploy (assuming unix system) there is /resources/test.pdf, locally you can create same folder structure under C drive without specifying C:\ explicitly in the code, therefore it means that resources/test.pdf stays unchanged and would work locally and on the server.

Unfortunately, no way for dynamically building the path.

Hope that helps you!

本文标签: Using relative path in tibco BWCEStack Overflow