Skip to main content

Hello everyone,

I am trying to create a table that has a dropdown populated from a CSV file. The problem is:

When I Add a Column, I have the option Add Field, and I choose Dropdown → Link to CSV Document.
Then I edit the document and put the mergetags, I noticed that they where with absote path "//” then changed to relative "./”.

With I first tried with absolute path there are templateErros because the node returned more than one node, but with the relative, nothing appears, no error message but no content either.

What can I do? How do I use a dropdown populated by a CSV file inside a table?

Please help

I have solved on my own. There is a node between the tablerow node (that I used as node for repeat) and the input nodes, so in the templates I had to put this node in the merge tags:

Ex:
<# <Repeat Select=”//Requesting_Areas” /> #>

The xml in the workflow put a node between this one and the input nodes, lets say: Area

<# <Repeat Select=”Requesting_Areas/Area” /> #>

Now it works. 

 

I never had to do it in the DocGen for tables with normal form fields (not linked to CSV)

Sorry for the poor english