WouterT
Contributor

Link doesn't work in Repeating Section with Document generation

Jump to solution

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:

2022-08-11_10-00-22.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:

2022-08-11_11-15-44.png

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

2022-08-11_09-58-18.png

This results in proper XML in the MyRepeat field:

2022-08-11_09-29-21.png

The workflow is therefore as such:

2022-08-11_09-31-33.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:

2022-08-11_09-33-00.png

Then generate the document:

2022-08-11_09-33-48.png

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

2022-08-11_09-40-36.png

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

2022-08-11_11-29-30.png

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

2022-08-11_09-53-56.png

Resulting in:

2022-08-11_11-33-24.gif

All links show the same url.

Where do I go wrong?

0 Kudos
Reply
2 Replies
natsu_docs
Nintex Drawloop Expert
Nintex Drawloop Expert

Re: Link doesn't work in Repeating Section with Document generation

Jump to solution

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.

 

0 Kudos
Reply
WouterT
Contributor

Re: Link doesn't work in Repeating Section with Document generation

Jump to solution
Thanks the reply and the workaround suggestions. Very much appreciated. Looking forward to a solution.
0 Kudos
Reply