Relative Path

Help
2014-06-23
2014-06-27
  • Jose Corral
    Jose Corral
    2014-06-23

    Hello,

    how can I return the relative path of the docs, for example if my main dir in the server c:\documents and inside I have other dirs example c:\documents\images\image1.jpg and c:\documents\pdfs\invoice.pdf, how can return to clients the relative path to the docs in the server \images\image1.jpg and \pdfs\invoice.pdf.

    Thanks

     
  • Hello Jose,

    are you using the Renderer to display results?
    If you are you can use options "URL Pattern" and "URL Replace" in tab "Fields" when editing a renderer:

    • URL Pattern: ^c:\documents\(.*)
    • URL Replace: $1

    Regards,
    Alexandre

     
  • Jose Corral
    Jose Corral
    2014-06-27

    Post awaiting moderation.