Skip to main content

add in a hyperlink to a pdf created by the report designer

Comments

4 comments

  • Andrew Kesterton

    Hi Chelsea, 

    Yes in this case it's much easier :) 

    You can set the Navigation URL property on the element you want to be the hyperlink, and the expression builder is there too if you need it to build up from values in your data: 

    Let me know if that works, 

    Andrew

     

    2
  • Andrew Kesterton

    Hi Larisa, 

    Are these PDF's stored as attachments on a feature service/layer in your ArcGIS Enterprise Server? 

    I had a similar use case where I wanted to include hyperlinks to documents attached to a feature service, as only the images could be embedded in the report.  This isn't possible out of the box and I started looking at it using a script baesd on this example, however because our services are secured then it wasn't possible to obtain the list of attachments.  There didn't seem to be a way to obtain a token to use in the script.   

    For secure services you would have to decide whether to then include a token in the url embedded in the report, which could potentially be a security risk.  Without the token in the embedded URL, the user would need to be logged in to download the attachments. 

    I'd be really interested if you find a solution!

    Andrew

    0
  • Chelsea Rozek

    Hi, did either of you figure out how to include a hyperlink? I just need one to a public URL that has some dynamic parameters. No tokens.

    0
  • Chelsea Rozek

    Thanks for the reply Andrew. Wish I had seen it earlier. Following posts doesn't seem to alert me or anything helpful. I'll keep that solution in mind. I ended up checking "Allow Markup Text" and using the expression builder to make HTML tags for the label. Syntax for me was '<href=' + [features.attributes.url] +'>Website</href>'

    0

Please sign in to leave a comment.