Linking to documents on the server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Linking to documents on the server

Gabrielle C. Nguyen
Hello,


Thank you all for the feedback on my previous question. I have one other....


I am trying to create a link on the main page to a PDF file within ofbiz.
I want to be able to access this file by linking to it on http://localhost:8080/ecommerce/control/main 
I have placed the PDF file within ecommerce/webapp/ecommerce


At this point, I cannot properly access them.


Is there a specific location I should be putting these files or specific syntax for the path?
Can someone provide guidance to point me in the correct direction?





Thank You,


Gabrielle

Reply | Threaded
Open this post in threaded view
|

Re: Linking to documents on the server

Nicolas Malin-2
Hi Gabrielle,

Load your pdf file on content component and set a redirect (from
controller.xml) to
content/control/ViewSimpleContent?dataResourceId=${yourDareResourceIdGenerate}

Nicolas

Le 18/06/2015 15:15, Gabrielle C. Nguyen a écrit :

> Hello,
>
>
> Thank you all for the feedback on my previous question. I have one other....
>
>
> I am trying to create a link on the main page to a PDF file within ofbiz.
> I want to be able to access this file by linking to it on http://localhost:8080/ecommerce/control/main
> I have placed the PDF file within ecommerce/webapp/ecommerce
>
>
> At this point, I cannot properly access them.
>
>
> Is there a specific location I should be putting these files or specific syntax for the path?
> Can someone provide guidance to point me in the correct direction?
>
>
>
>
>
> Thank You,
>
>
> Gabrielle
>
>