I am currently investigating using code c# to update the "documenttemplate" entity.
According to MS, these are the "documenttemplate" entity columns that are writeable.
As we will end up with heaps of document templates, we want to be able to batch update the templates rather than import.
In this way, the document template guids remain the same (yes, I do realize there are Xrm tools available to do the import).
Assuming all the document template records are already in the target instance, we simply run this code to batch update this entity per document template.
The issue is with the column called "ClientData".
I can get the Content easily by converting the word document template file to base64 but I have no idea where I can get the ClientData.
Does anyone know where ClientData comes from and how to extract it from the Word document template file?
Thanks
a2z