vijay1v
I'm new here

Constructing internal PDF link inside of PDF channel

Jump to solution

Dear All

I am trying to construct an internal PDF link inside of PDF channel and it puts like http://localhost:8000/fs5preview/preview/82694/media/EN/current/169188/ticket=1laqemwt7cec7/antarcti... which opens up login screen but failed to show the PDF.

Here is the PDF channel code:

                         

<fo:basic-link external-destination="url($CMS_REF(st_pdf_upload)$)" color="blue" text-decoration="underline">
$CMS_VALUE(st_pdf_header)$ (PDF, Size: $CMS_VALUE(ref(st_pdf_upload).size.humanReadable("*","0.0 {U}"))$)
</fo:basic-link>

What will be the correct code instead of $CMS_REF(st_pdf_upload)$ to show the correct link. *st_pdf_upload is a FS_REFERENCE for pdf upload.

Regards

Vijay

0 Kudos
1 Solution

Accepted Solutions
vijay1v
I'm new here

$CMS_REF(st_pdf_upload, abs:2)$ will give correct preview url.

View solution in original post

0 Kudos
1 Reply
vijay1v
I'm new here

$CMS_REF(st_pdf_upload, abs:2)$ will give correct preview url.

0 Kudos