Read/write TechDoc content via REST (or similar) - where is the content stored?
Hi Community, does anybody know, where TechDocs actually stores the documents native data? E.g. is it possible to read the individual titles, sections or text elements? I have seen that native xml content of the document is stored in the content property of ItemType tp_Block. Is this the only location where the TechDoc document itself is stored? Or are there another ItemTypes involved? In the xml itself each entry has an own aras-id. But I wonder if this aras-id is really related to a existing item in the database? I want to connect to tech docs from am external data source via REST. The external source shall check if document content is still valid and maybe also write TechDoc content. In MPP we have individual items for Steps/Operation that store the data than will later render the process plan. Do we have something similar in TechDocs? Or do I need a separate ItemType to store these kind of content, so we later can use the data to generate the TechDoc from these item data? Thanks for any help! Angela7.7KViews0likes3CommentsTechDocs vs. Document ItemType - why not connected?
Hi, I made some tests with the Technical Document application. The latest version works very well and I like the idea of creating documents directly in Aras! But I struggle to understand, how TechDocs is intended to blend in into the regular lifecycle management. At the moment, TechDocs somehow looks like a standalone application for me! I completely miss some kind of revision handling for my technical document. To explain it more precise: Let´s take a short look at the regular Aras Document handling. Regular documents can be uploaded manually or created with help of the Office Connector or any other tool that fit the purpose. If we are honest, it doesn´t matter with authoring tool is used. It can be Word, Excel or something else. But in the end, all of these documents will share the same ItemType Document. From my POV, Aras TechDocs is just another Authoring Tool for the ItemType Document. I expected it to be integrated in a similar way then the Office Connector - but, it isn´t . Right now, I would be forced to download the published TechDoc PDF and then add it manually to the Document ItemType again. Only this way it can also be covered by regular change management. But this routine would completely kill all benefits that an integrated document application in Aras may have. That cannot be the solution! Is there some recommended way to handle TechDocs revisions? Do I miss something? Best regards! Angela5.3KViews0likes2CommentsDear all, do we have Batch loader for ARAS Technical Documentation module (similar to what we have for Parts and BOM creation) to create contents in tech doc editor and create / update?
Dear all, do we have Batch loader for ARAS Technical Documentation module (similar to what we have for Parts and BOM creation) to create contents in tech doc editor and create / update?5.2KViews0likes6CommentsTechDocs Content Generator - how to add TOC-Section content automatically?
Hi community, I want to use a TechDoc Content Generator Method so I can automatically fill the TOC-Section title according to the target language (de/en). In addition I also want to add the element 'TOC' automatically. As soon as users add a new TOC-Section, they shall get the following view. Unfortunately I right now struggle with both the multilingual title and the 'TOC' element.. My idea was to use something like this: //MethodTemplateName=CSharp:Aras.TDF.ContentGenerator(Strict); if (/* document language is German */) { // Add German title targetElement.AddChild(this.Factory.NewText("Title", "Inhaltsverzeichnis")); } else if (/* document language is English */) { // Add English title targetElement.AddChild(this.Factory.NewText("Title", "Table Of Contents")); } // Add TOC element targetElement.AddChild(this.Factory.New????("TOC")); // what do I have to use here? Would be cool if someone know how to use the ContentGenerator for this purpose. This way all kind of default elements could be automatically filled with default values. Thanks for any hints! Angela5.1KViews0likes3CommentsAras TechDocs - how do I add the translations of documents?
Hi community, does anybody of you use TechDocs in combination with a language pack, so you can build a Technical Document in two languages? This question may sound silly. But how can I actually import the translated version of a document? In TechDocs I am just able to edit the default language (e.g. English) of a document. The secondary language (e.g. German) is always read-only and a so far didn´t find any way to actually start the translation of my document or to import the translated version. It´s really strange. TechDocs offers us buttons to change the documents´ language. We can make side-by-side comparison with the language variants. The user guide mentioned a Translation Process. That´s all fine. But there are no hints how to actually start the process of translation itself. I would be more than happy about any hints! Many thanks! Angela4.6KViews0likes3CommentsRequirements Document: Error from Editor?
Hello, Aras Ver. 12 For a Client we have had to customize the attributes for Requirements and Requirements Document objects. No changes at the moment have been made to the XML schema. Requirements Documents can be created, but as soon as the user clicks on the "Requirements Document Editor" they get the below error: We've made no changes or edits to the schema. Is it necessary to make changes to the XML schema when adding properties to requirements? We did create a Class for the requirements document; however this appears whether the class is assigned or not. Appreciate any assistance!2.2KViews0likes3CommentsTechnical Documentation - Content Generator for an Image?
In Tech Docs Content Generator examples, I've run across: this.Factory.NewItemProperty this.Factory.NewText this.Factory.NewTable this.Factory.NewElement I'm trying to pull a Graphic from another item (requirement) and apply it into the Tech Doc. I've been able to pull the image ID and can get the content generator to create a graphic placeholder, but I can't figure out the right Factory command to generate a Graphic that's got an ID applied to it. At the moment it makes a blank block, that you can select a graphic, but then it doesn't save... The below is nested inside the content generator: String AML = @"<AML>" +"<Item type='re_ImageReference' action='get'>" +" <source_id>" + targetItem.ItemId + "</source_id>" +" <related_id>" +" <Item type='tp_image' action='get'/>" +" </related_id>" +"</Item>" +"</AML>"; Item reImages = this.Factory.InnovatorInstance.applyAML(AML); int numImages = reImages.getItemCount(); // Loop through each Catalog Entry and fill the remaining table rows for(int i=0; i < numImages; i++) { Item reImage = reImages.getItemByIndex(i); Item imageItem = reImage.getPropertyItem("related_id"); tableElement.GetCell(1, 0).AddChild(this.Factory.NewElement("Graphic")); } // for() loop over images entries The highlighted section I'm assuming needs to have some sort of assignment from the Element type (Graphic) to the source ID (imageItem result). Appreciate any insight on this! If there's a reference that has all the Factories (for instance lists and other content), that'd be much appreciated!Solved477Views0likes1CommentTDF / Tech Docs: DocumentSchemaElement for Section from Content Generator?
I've already looked at this Labs project: GitHub - ArasLabs/content-generator-samples: This project contains code snippets to demonstrate how to create and manipulate content in Aras Technical Documents. and also in the documentation, but can't see the proper commands for Section or Chapter. Basically I'm looking for the proper content generator code to: - Create a section or chapter with the title pre-filled out (such as "Introduction") - Create a sub-section or sub-chapter below the above (after the pre-filled out content). This: DocumentSchemaElement sectionElement = (DocumentSchemaElement) this.Factory.NewElement("Section") ; sectionElement.AddChild(this.Factory.NewText("Title","Introduction")); targetElement.AddChild(sectionElement); Sort of works. It creates a section, but it doesn't fill out the Title of the section, it fills it as a child. Does anyone have any guidance on this? Thanks in advance!!327Views0likes3Comments