Skip to main content

The aim is to get a link to work in a generated PDF from a Word Template in a repeating section.

My test PDF generated with the Document Generation action must look like this:

25085iD49A37DBD31F793F.png

But unfortunately it keeps repeating the first link for all items in the row.

All three links point to the same first element of - in this case - page1.

 

Allow me to share what I did:

This is my test list:

25086i5507C8AD9E9F1843.png

With a responsive Nintex form including a repeating section with two fields:

25088i74374AB9E9EDB2F1.png

This results in proper XML in the MyRepeat field:

25089i40AA7089272E41C1.png

The workflow is therefore as such:

25090iD604AEFA6220CEFA.png

Parsing the two XML fields into two collections. Then merge the two collections into one in order to have them properly available in the repeating section of the Document Generation action:

25091i71D820D50EA6B458.png

Then generate the document:

25093i8607B04377411C73.png

The document tagger shows me the available repeating section fields that I can merge:

25094iE8DD4B32A883BE86.png

and finally the Word template allows me to enter the fields:

25095iD11F6F8EA2A4D482.png

Where I insert the link as follows: (and this is where I think I am going wrong...)

25096iEBE64BB84E37E67E.png

Resulting in:

25097i4AE427A59100244D.gif

All links show the same url.

Where do I go wrong?

Hi,



 



That is a bit of an odd behavior. We are looking into this but in the meantime I do have a workaround that may work for you:



 





  1. Since you are outputting the document as a PDF, you can underline your tag that outputs a URL such as <<Mergecollections_obmerged_result_mc1_URL>>. When PDF sees a URL being underlined, it will automatically create a link for it.


  2. If you need masking on the link, then I recommend using an Excel template using the HYPERLINK formula instead.




 


Thanks the reply and the workaround suggestions. Very much appreciated. Looking forward to a solution.

Reply