How to pin TOC by default in Innovator 12?
Hi community, When users login to Innovator 12 the first time, they only get a huge white welcome page with deactivated TOC. This is confusing, as people may think Innovator is not working. I remember my first steps with Innovator 12. I was literally waiting 3 minutes cause I assumed Innovator is still loading. I even assumed the installation went wrong and checked the browser debugger for potential error messages. I needed an eternity until I finally accidentally clicked on the main navigation button in the top left corner to get the TOC. I want to avoid that my users face the same frustrating experience. Is it possible to pin the TOC by default? I have discovered that the ItemType Core_GlobalLayout contains the property core_toc_pinned. This one is used to store the preference for the pinned TOC. I changed the default value of this property from 0 to 1, but this customization is not enough to pin the TOC by default. The preferences are set when users log out, so we cannot use the default value in the ItemType for this purpose. There are some codetree files that reference to this property. I assume one of them also sets the "real" default value for the property. Does anybody know where I can do this customization? Many thanks! AngelaSolved7.5KViews0likes3CommentsUX - Collapse TOC - v12
I'd really like to collapse this tree dijit widget. I know it is possible: https://dojotoolkit.org/reference-guide/1.10/dijit/Tree-examples.html onclick="mytree.collapseAll();" But, where!? This should be a simple button add and oh-so-convenient! It is hard for me to track down just where this tree is instantiated. Gosh, I really need to get through "Configuring Solutions" so I can finally email from this thing (I think page 101, where you're editing forms for use in the view(s) of ItemTypes is a big light on the path for me). But, I think my attention to UX might help improve Innovator while it makes me segue a LOT. From viewing rendered source it looks like you could use pure JS to do this. You'd find all the "secondary" or "TOC" li elements with: class="aras-nav__parent aras-nav__parent_expanded" ...and remove all the aras-nav_parent__expanded(s), leaving just, "aras-nav__parent".5.4KViews0likes3CommentsTechDocs 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.1KViews0likes3CommentsHow to pass context id of calling element to custom HTML or TOC view in new tab?
Hi community, is any one familiar with opening custom HTML pages or Forms in a new tab? I right now work on something similar as shown in this blog article: https://community.aras.com/b/english/posts/displaying-html-in-aras-innovator The article describes how to open a html page in a custom tab as alternative to a pop-up dialog. In my case I open a custom Form instead of the html page, but it basically the same concept. Does any one know how to pass custom parameters to the html page / opened Form? When we just open the Form as regular pop-up dialog, we can pass the context item and custom parameters within the parameters block just as shown in the code sample. But how do we pass the context item or other properties to the html page? The blog article unfortunately doesn´t cover this detail. Would be happy if anyone has an idea or hint that could work! Thanks for any help! Angela3.1KViews0likes6CommentsHow can I add an Item selector to a Form used in TOC View
Hi community, I want to build a TOC view Form that is completely independent from any ItemType. The Form shall only represent an input mask for end users. I wonder if it´s possible to add an Item selector to TOC view forms. Of course we cannot use any item as data source, so we have to use Method. I added a Item property without data source to my Form and tried this onLoad Method to tie the item selector to an ItemType: var item = getFieldComponentByName('myPartSelector'); item.component.request = function() { var itemType = "Part"; var maxCount = "6"; var req = '<Item type="' + itemType + '" select="keyed_name" maxRecords="' + maxCount + '" action="get">' + '</Item>'; return ArasModules.soap(req, {async: true}); } I know that something similar is possible with dropdowns. But unfortunately my version didn´t work. The returned value of getFieldComponentByName seems to be undefined. Is there any way to use Item selectors in TOC Views at all? Thanks! Angela3KViews0likes3CommentsCan I add a context item to a TOC view dynamically?
Hi community, I want to use a TOC view as alternative user interface for users to edit items of another ItemType. In my current concept the properties shown in the TOC view are set on run time manually. I wonder if I can directly tie an existing Item to the TOC view, as this makes the Form easier to handle. I don´t use ItemType Part, but I will use it to describe the use case. Let´s assume we have two ItemTypes: 1. ItemType Part with all items 2. ItemType PartManipulator that doesn´t contain any item. This ItemType is only used as carrier for the TOC View. The Form used for the TOC view is linked to ItemType Part and contains fields from this Itemtype. When I now open the TOC View, of course the properties linked to Part do not show any content, cause we do not have any context item in TOC View. Is it possible to add a context item with an onLoad or onClick Method? For example something like this: // get item var inn = new Innovator(); var context = inn.newItem("Part", "get"); context.setID("003F65154A134E2FBA0099B802C63A07"); context = context .apply(); // show item in TOC view document.thisItem = context; document.item = context; return; The shown code basically works and loads the Part to the document context. But the fields in the TOC view will not show any properties from Parts. Would be happy about any ideas! Best regards Angela1.9KViews0likes0CommentsCustomize new navigation panel in Innovator 12SP10
Hi community, has anyone already customized the new navigation panel (central main page that appears after login) page from Innovator 12SP10? From my POV I would like to see this additional features: - Custom notifications (maybe linked to Notifications itemtype, so we don´t have to change the static codetree file) - Custom links (e.g. to training material or other helpful information) - InBasket related information I assume Aras will one day extend the nav panel with InBasket or Notifications information. But maybe a few modifications can already be used in the current version. Would be happy to hear your experience! Angela1.3KViews0likes0CommentsPin-to-Sidebar of TOC Views - There has to be a way, but how?
Hi community, in Innovator 12 Aras introduced the wonderful feature to pin often used TOC entries to the TOC sidebar. This saves a lot of time and works in general very well. But there is one exemption: When our ItemType doesn´t use a regular grid, but just shows a TOC View like a custom Form or HTML page. Typically inside Aras this kind of view is used for Dashboards. These kind of ItemTypes can unfortunately not be pinned. I haven´t tested this one in newer Aras version like 14+. Does any one know a workaround? If this one was fixed in any Aras version, I would be happy to know! Angela1.1KViews1like3Comments