Forum Discussion
Hi Frank,
were you able to find a solution already?
I haven´t fully understand what you want to build, but you should be able to add the custom elements.
The root element can be fetched like this:
string docId = executionContext.DocumentId;
Innovator inn = this.Factory.InnovatorInstance;
Item thisDoc = inn.getItemById("tp_Block", docId);
- Frank_Guarino12 months agoIdeator I
Ya I was, although it went much different than expected.
I am using JavaScript instead of C# for this method.
I ended up building out the content via an XML document within the cache and then storing that in tp_block's column 'content'. Getting this data to conform to the Technical Documentation renderer was difficult, for example I needed to individually set each XML node's ID for tables & rows, and had to ensure my xml nodes were cleanly appended, in the end mimicing XML which would be created by Aras when using the technical documentation UI.
Best Regards,
Frank