Forum Discussion
This question needs to be addressed. The ArasLabs and other Method examples detail how to add content after the Technical Document has been created, not during initial Item creation.
I wish to use a server method to:
- Create the Technical Document with the name/number being taken from a list or CSV file (local to server, not client)
- Add a Title block, with the information taken from a list or CSV file,
- Add a Text block for description, with the information taken from a list or CSV file
- Add a Text block with no content, to allow the users to continue the document.
These steps must be completed before the user first opens the Technical Document Item, so a ItemInfo approach is not applicable, as the data is defined at the time of Item creation, not at the first view or edit by a user.
What we need in Aras is some kind of XML editor than can build XML structures. Actually not just for TechDocs, I have other user cases were I also would need XML or JSON for export to other data sources.
I wonder if the task it actually hard to achieve?
Importing Excel or CSV is not a big deal.
We mainly need an overview of how Innovator structures technical documents.
E.g. this one is a title element:
<Title aras:id="9861eafb8c444c5b98ea3410a80cb4df">
<aras:emph>Table of content</aras:emph>
</Title>
I assume the id is generated on demand. We "just" have to rebuild this structure and this way you should be able to import existing documents.
Easy. :D