I have a grid with dynamic column names and static columns.
Ex :
Here EmpSub's will varies on each instance.Need the word document format to get the dynamic columns syntax in word document.
Able to get the rows data from the CreateDictinoary function but need the exact format to write in the word document.
Thanks in Advance.
Discussion posts and replies are publicly visible
Its possible, you need to provide the column names in XML data, every time you are setting up the xml data for the cdts. And in template add the Edit Field from first row i.e header.
can you share me the sample syntax to written in word document.
I've dealt with this alot. Around 9 years ago I hand-coded something that handles this (and fairly well, for what it is) by directly injecting the required WordML code into the "Word from Template" smart service.
I defer to the advice I gave last time I talked about this, in this thread. If you want my downloaded export, you can get to it from there - though i'll warn that it requires a high level of understanding to figure out and use successfully (though last I checked it still works).