How to hide a tab of an item?
For the Item Part, for the all the part numbers, I need to hide a specific tab, lets say "Goals" for a specific identity. "Goals" is under Relationship Types in Part item. I have tried: - Right click on the Goals in Relationship Type,Permissions--> Access Report, edit Permissions named "Relationship Type". Add identity, here to Permission named "RelationshipType" and give no rights to the identity. The tab still shows.0Views0likes2CommentsCreating new items via aras.uiShowItemEx doesn´t add LifeCycle data especially for versioned ItemTypes. How to fix?
Hi community, I have a couple of ItemTypes with a custom LifeCycle. Sometimes when users promote an item to change the "state", the Form will not be updated and will not show the updated data. In this case users always had to click the refresh button to see the updated state. So the basic situation is something like this: I discovered that the Form update mainly fails when the item was created via a custom client Method. AND: In addition it only fails if the target ItemType is versionable. Here are some simple steps to reproduce the scenario. Let´s assume we have following code that we can directly execute from a client Method: [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:19604769-ada7-4f06-92ad-60eb8ae9dadd:type=text&text=const%20newItem%20%3D%20aras.newItem%28%22Manufacturer%22%2C%22add%22%29%3B%0Aaras.uiShowItemEx%28newItem%2C%20%22tab%20view%22%29%3B] The code will add a new item and opens it in a new tab. User than can save the item and promote it to another state. - If the ItemType is something like Manufacturer, Form update will work after item promotion. - If the ItemType is versionable like Part or Document the Form update will NOT work. I checked the context item that is used for promotion. I noticed that for versionable items the LifeCycle data is not included in the context item when we come from a custom Method. When using promote, the context item should contain information about the used LifeCycle like this: But the life cycle State information is missing when promoting a versionable item that was created by Method I wonder if this is a bug in innovator or if I forgot something in my Method code. The update error does not occur for of items that were created via the regular "New item" button. I assume the missing LifeCycle data causes the problems with the Form update. Does anyone know how to improve this one? Thanks for any hint! AngelaSolved0Views0likes1CommentHow to change the position of a Relationship Accordion tab
I needed to make a tab visible to certain identity. Therefore, I selected "Hide All" in the relationship types and used the CUI control to make a new tab. I need this tab to be all the way to right. Sort Order fields don't work, neither in the Relationship Type nor in cui_windowSection. Pictures below0Views0likes3CommentsHow to disable delete relationship button based on parent item state?
I know this question has been asked multiple times and I have reviewed all the ones that had answers. None of them seemed to clearly lead me in the right direction. I feel what I'm trying to do is a pretty basic use case. I'm trying to prevent affected items from being deleted or added based on the lifecycle state of the ECN. I feel the following is the most user friendly way to achieve this. For the ECN Item, I want to disable the "Delete ECN Affected Item" button when the ECN state is (In Review or Released state). Is this recommended? If so, please provide an example. If not, what is the preferred method to achieve this with a good user experience?Solved0Views0likes6CommentsI want to see all item bout related item in relationship tab
I developing a request form When I make a Item to request I want to a view a bout the item that I can request I manage the Item list by a Item type And I make a relationship type to connect the request item type and item list item type I need how to view all of the Item in my relationship tab bout the related item type I using aras 120Views0likes0CommentsHow to focus on particular tab on item form populated?
Hi, I can now swich the display / non-display of tab according to the conditions,by referring to Disable a Relationship Tab. But this time, unintended tab is focus on. How do I focus on particular tab on item form populated? Please,help me.5KViews0likes3CommentsWarning: Versioning and tab pane very buggy in new Innovator versions!!! Are you affected?
Hi community, I need your help to investigate an error that occurs in newer Innovator versions. In my case it occurred in Innovator 12SP17 and 12SP18 but NOT in Innovator 12SP7 / 9 / 10. I look for a bug fix for this one, cause unfortunately Aras rate this one as unimportant glitch and not as high risk behavior. From my POV the bug is a huge source for trouble (data loss!!), so I just can warn people to update to SP17 and SP18 without this bug fixed. I want to investigate, which service pack version is NOT affected by this bug. I am not able to test out all available service pack, so I would be happy if community could help: If you are a user of Innovator 12 SP11 / 12 / 14 / 15 / 16 / 17 I would be happy if you could test out at least the Error 1 scenario!! (2 minutes required!) Scope In 12SP17 and 12SP18 the tab pane can crash to easily when using item versions (like in Parts, Documents and Methods). In addition, old item revision can overwrite the latest item without the user noticing it! Both errors can occur easily, as soon users display previous revisions of an item. Comparing old and new revisions is a typical work during a Change Management process, so it´s an error that affects daily work of PLM users. Test Setup If possible perform this test in a test database. No data is edited during the test when you closely follow the instructions. But I don´t want to bring you in trouble in case of error! 1. Go to TOC -> Administration -> Open ItemType "Method" search grid 2. Search for Method with with "Ver 2" or higher, to ensure the Method has more than one revision. (If you need extra safety, create a temporary custom Method for this test that you can delete after test finished) 3. Open this Method (it doesn´t matter which one) 4. Open the 'Versions' dialog 5. Select a previous version (e.g Ver 1) of this Method 6. A Form with the previous version of your Method shall open. 7. Do not touch the new window with the previous version 8. Simply switch back to the tab with the newest version of the Method and close the "Versions" dialog We now have both versions in parallel in the tab pane. This is our basic setup. So far everything is fine. Reproduce Error 1 (Tab pane crash) 1. Start from setup above. We are in the tab with the latest revision 2. Click "Edit" (but do nothing else)! 3. Now just switch back to the tab with the previous revision of the Method and simply close this window 4. After closing the previous revision, we will automatically jump back to our latest revision tab 5. Click "Discard" as we never wanted to edit anything 6. Now the error should happen: In case of error a second tab reappears. We now have the two tabs for the item. They do not work and you cannot close them. Tab pane is crashed. Everything will be fine again after restarting Innovator in browser. If you don´t see this error, your Innovator version is not affected by this bug. You can skip all other tests. Please share which version you used! Reproduce Error 2 (glitch) 6. When you directly click "Search Method" in the TOC after above error occurred, a small additional glitch can appear 7. As our tab pane is crashed, the search grid will overlab with the Method Form. None of the tabs can be used reliable anymore Reproduce Error 3 (previous revision overwrites latest) Warning: Perform only in test database! Use a custom temporary Method for testing out this one, cause it can corrupt your data!!! 1. Start from setup above. We are in the tab with the latest revision. 2. First switch back to the tab with the previous revision. This time do not close the window, but simply take a look at the "Edit" button. It´s grayed out and you cannot use it. (This is correct behavior, as we never should be able to edit previous revisions) 3. Switch back to the latest revision and click "Edit" 4. Again switch back to the previous revision and take a look at the "Edit" button again. This time it´s not greyed out anymore!!! 5. It´s now theoretically possible to click the edit button inside the Form of the previous revision! 6. In case you click the 'Edit' button, you can create a high risk scenario: 7. After clicking the 'Edit' button, it´s seems to be possible to edit the previous revision. But what you see doesn´t represent the "truth" any more. a) The shown Method code still shows the content of the previous revision b) But the context item has switched to the latest revision. But this revision change is not visible to users as they still watch the previous code/properties. You can only see it in the 'Generation' value in the 'Properties' dialog. If you now save your "fake" previous item, the latest item will be overwritten with code and properties of the previous version. This is a high danger situation not only for Methods, but for all ItemTypes that use revision as it will lead to data loss and corrupted data. Conclusion I discovered the bug while merging a few upgrade patches and actually destroyed a few Methods cause of this bug. If I as admin fail to handle versioned items cause of this behavior, I expect that real users will face the same problem soon. I right would not recommend to use 12SP17/18 just because of this bug. Comparing and working with item versions is a daily task especially when using Change Management. But it´s important that users can trust the data they see. Right now working with revision in SP18 is very risky cause users can crash their tab (best case) or overwrite data without knowing (worst case). Please let me know if you are able to reproduce any of the above bugs in your Aras Innovator version! If you´re Innovator version doesn´t show the bugs, please also write a short post! When we can determine in which service pack the error appeared first, it´s maybe possible detect the bug more easily. Thanks for your help! Angela11KViews0likes15CommentsHow can I prevent that users accidentally close an element in the tab bar? (TOC View with Form)
Hi community, I right now work on a MES scenario were I use a TOC View as interface for end users. For some specific use cases (parallel work) I allow that user use multiple instances of the same TOC View in parallel. As user may work with a couple of these tabs at the same time, I want to prevent that they accidentally close any of the tabs. They of course can open the TOC View again and continue were they stopped. But it would add a some comfort if a warning message appears where users can decide if they really want to close the tab. I tried to use an "onBeforeUnload" Method on my Form that returns "true" or "false". The "false" is some kind of accepted by Innovator, as it will then throw me the "Item not saved" error message. But it will still close the tab independent from the user selection. Does anyone know a simple solution to prevent closing a tab? Every idea is welcomed!! :-) Thanks! Angela620Views0likes1CommentTrigger Client Method on Relationship Replace
I have a client method defined to be triggered on an OnInsertRow event for the Part BOM relationship type. This method is not triggered when the user performs a Part BOM replace. The most likely reason for this is, when handling the replace Innovator is just doing an update of the Part BOM item. The Part BOM itemtype definition only allows OnBeforeNew, OnAfterNew, OnNew and OnShowItem client events. But these events are not triggered when doing a Part BOM replace. Is there any way to trigger a client method when doing a Part BOM replace?1.6KViews0likes2Comments