The addin module need to get some values from fields in the template data card and set other values in the card. I have no problem with file or folder data card but I can not solve it in template card.
If I understand you correctly, you don't need an addin for this. You can set the template folder card variables by right clicking on the folder and selecting properties.
Then select the Copy Variables tab and change the Card Variable you want to copy.
I need AddIn module. User execute template to create a folder structure then fill values in card fileds and runs AddIn module by the button on card. Module get values from the card, create the file name and file content is inserted into a different fields in the template card
Retrieving data ...