Use Src Access on regular item type?
Hello Forums, I have a regular item type that is parent to some other regular item types. I.e. we have Item A that has a relationship to Item AB, and Item AB has a relationship to BB. A, AB, and BB are all regular items. I want A's permissions to cascade onto anything below, but it seems that 'Use Src Access' only goes as far as A to Ab (the relationship item), as opposed to also placing A's permissions onto AB. Can 'Use Src Access' reach AB and BB? Best Regards, Frank0Views0likes1CommentFeature licenses error when activate
We are using a stand-alone server currently until we get ARAS fully stood up, then we will go live. We received the feature license keys and went to activate feature key but we keep receiving the pictured error below. It also pops up upon entering our database. Has anyone seen the below error before?1.9KViews0likes4CommentsToggle visibility of Restricted files under Documents
The Document's Type field had to be updated to a new value that was added to the list. Batch loader was used to the edit the Document but this created a new Version and the State to Preliminary from Released. We did not want the new versions to be created. The new version of these Documents were purged. Now, under these Documents all the files show as "Restricted" however, they are visible to Admins. How do I make these files visible again. Screenshot below0Views0likes3CommentsChange permission for "view item" option(right click menu) of Documents under Operations
Under Process Plan(mpp_processPlans) --> Operations(mpp_operations) --> documents Some of these documents under an operation are "invalidated". The documents are assigned "invalidated" status from Document-->Part when the "valid" option is changed to "No"(screenshot below). The user has the ability to right click on the any of the documents and select "view item" (picture below) to open the document container (screenshot below). I need this "view item" functionality to work for a certain identity when the document is "invalid" Currently, if the document is "invalid" user can't open it from here but the document opens if one searched for it manually. I can't figure out where does this "view item" option come from and where and how was this right-click menu even generated. Can someone point me in the right direction, please. Thanks!0Views0likes2CommentsJavascript Temporary Permissions
Good day all. I'm still using v11 SP10. How do I grant temporary permission for a user through Javascript? I want to add a Comments tab to our custom change ItemType. I have a script attached to an Action to open a dialog box so a user can add a comment. The Submit button runs another script to pull the comments field information and sends it back to the original script. The original script then creates a Comments relationship entry for the change. I have this working except when the change is in the In Review Life Cycle state for normal user, it works for admins. I want to temporarily grant Aras PLM identity to the user so it can be added. I don't want to allow users to be able to edit anything else in the change while it is In Review. Method: DEMO_Notes_Form [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:21786300-fbfe-4e4d-aea7-c06e604e5f48:type=text&text=%2F%2F%20Aras%20Labs%20Project%0A%2F%2F%20Eli%20Donahue%20-%2010%2F5%2F16%0A%2F%2F%0A%2F%2F%20Call%20a%20custom%20form%20in%20a%20modal%20dialog%0A%2F%2F%20Perform%20some%20action%20based%20on%20the%20values%20returned%20from%20dialog%0A%0A%2F%2F%20Aras%20Labs%20Project%0A%2F%2F%20Eli%20Donahue%20-%2010%2F5%2F16%0A%2F%2F%0A%2F%2F%20Call%20a%20custom%20form%20in%20a%20modal%20dialog%0A%2F%2F%20Perform%20some%20action%20based%20on%20the%20values%20returned%20from%20dialog%0A%0Avar%20inn%20%3D%20new%20Innovator%28%29%3B%0A%0A%2F%2F%20var%20thisItem%20%3D%20document.getThis%0A%0Avar%20topWnd%20%3D%20aras.getMostTopWindowWithAras%28window%29%3B%0A%20%20%20%20topWnd%20%3D%20topWnd.main%20%7C%7C%20topWnd%3B%0A%0A%2F%2F%20get%20form%0Avar%20formName%20%3D%20%22DEMO_Change_Notes%22%3B%0Avar%20fetchForm%20%3D%20this.getInnovator%28%29.newItem%28%22Form%22%2C%22get%22%29%3B%0A%20%20%20%20fetchForm.setProperty%28%22name%22%2CformName%29%3B%0A%20%20%20%20fetchForm%20%3D%20fetchForm.apply%28%22get%22%29%3B%20%0A%0A%2F%2F%20check%20form%20for%20error%0Aif%20%28fetchForm.isError%28%29%29%0A%20%20%20%20return%20alert%28%22Can%27t%20find%20a%20form%20called%20%22%20%2B%20formName%29%3B%0A%0A%2F%2F%20get%20form%20params%0Avar%20params%20%3D%20%0A%7B%0A%20%20%20%20title%3A%20%27Change%20Notes%27%2C%20%0A%20%20%20%20formId%3A%20fetchForm.getID%28%29%2C%20%20%20%20%20%20%20%2F%2F%20put%20your%20form%27s%20id%20here%0A%20%20%20%20aras%3A%20aras%2C%0A%20%20%20%20dialogWidth%3A%20600%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20set%20width%20int%0A%20%20%20%20dialogHeight%3A%20400%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20set%20height%20int%0A%20%20%20%20content%3A%20%27ShowFormAsADialog.html%27%0A%7D%3B%0A%0Avar%20parentItem%20%3D%20parent.thisItem%3B%0Avar%20value%20%3D%20parentItem.getProperty%28%22id%22%2C%22%22%29%3B%0Avar%20userID%20%3D%20aras.getCurrentUserID%28%29%3B%0A%0Avar%20callback2%20%3D%20function%28res%29%20%0A%7B%0A%20%20%20%20var%20innovator%20%3D%20new%20Innovator%28%29%3B%0A%20%20%20%20%0A%20%20%20%20var%20partItem%20%3D%20innovator.newItem%28%22sm_DEMO_NDR_Notes%22%2C%22add%22%29%3B%0A%20%20%20%20%20%20%20%20partItem.setProperty%28%22source_id%22%2C%20value%29%3B%0A%20%20%20%20%20%20%20%20partItem.setProperty%28%22comments%22%2C%20res.param1%29%3B%0A%20%20%20%20%0A%20%20%20%20var%20resultItem%20%3D%20partItem.apply%28%29%3B%0A%7D%0A%2F%2F%20call%20form%20in%20dialog%0AtopWnd.ArasModules.Dialog.show%28%22iframe%22%2C%20params%29.promise.then%28callback2%29%3B%0A%0A%0Areturn%20null%3B] DEMO_SUBMIT-Notes [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:d1caeab1-ea95-416a-bc29-4defadc197c8:type=text&text=%2F%2F%20Aras%20Labs%20Project%0A%2F%2F%20Eli%20Donahue%20-%2010%2F5%2F16%0A%2F%2F%0A%2F%2F%20onClick%20field%20event%20for%20Submit%20button%0A%2F%2F%20Returns%20the%20form%20field%20values%20to%20the%20method%20that%20called%20the%20current%20dialog%0A%0A%2F%2F%20get%20param1%20field%0Avar%20wrapper1%20%3D%20getFieldByName%28%22comments%22%29%3B%0Avar%20p1%20%3D%20wrapper1.getElementsByTagName%28%22textarea%22%29%5B0%5D%3B%0A%0A%2F%2F%20confirm%20fields%20were%20correctly%20retrieved%0Aif%20%28%21p1%29%0A%7B%0A%09alert%28%22Can%27t%20find%20field%20param1%22%29%3B%0A%09return%3B%0A%7D%0A%0A%2F%2F%20return%20entered%20values%0Avar%20retVal%20%3D%20%7B%7D%3B%0A%20%20%20%20retVal%5B%22param1%22%5D%20%3D%20p1.value%3B%0A%20%20%20%20retVal%5B%22param2%22%5D%20%3D%20sourceID%3B%0A%20%20%20%20%2F%2F%20retVal%5B%22searchResult%22%5D%20%3D%20p3.value%3B%0A%0Aparent.returnValue%20%3D%20retVal%3B%20%0Aparent.close%28%29%3B]Solved0Views0likes4Commentschanging permissions for existing Items (Documents)
We've a classification of Documents that we've setup to have a special set of permissions. We used the solution presented in the following topic to achieve that: SUPPORT Q&A - Permission based on Class Structure However, before we made this adjustment for the classification of documents, some documents we're already created. These documents still have the generic permissions set. Is there a way to change the permissions of these existing documents in such a way that they have the same permissions as any new document created under that classification?804Views0likes3CommentsOwner Identity
Hi, I have two query: What is exactly owner identity means? How to add Identity/User to Owner Identity? because When I run "Create New Revision" Action on "Released" state of a Document Item(logged-in as a user who created the document), got this Error "You must be a member of the Owner identity to perform this action." Is there any difference between the owner of the Item and Created By Item. Regards, Maddy.15KViews0likes6CommentsHow can i create new permission and add that in
Hello, How can i add new permission and add on add I am using the following mode, it is creating permission but not adding it [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:b254bcb3-f5a7-4a5f-b41e-556278def9a4:type=text&text=Innovator%20inn%20%3D%20this.getInnovator%28%29%3B%0D%0Astring%20docid%20%3D%20this.getProperty%28%22id%22%2C%22%22%29%3B%0D%0AItem%20permissions%20%3D%20this.newItem%28%22Permission%22%2C%20%22add%22%29%3B%0D%0Apermissions.setProperty%28%22name%22%2C%20docid%29%3B%0D%0Apermissions%20%3D%20permissions.apply%28%29%3B%0D%0Athis.setProperty%28%22permission_id%22%2C%20permissions.getID%28%29%29%3B%20%20%20%0D%0A%09return%20this%3B]Solved3.3KViews1like6Comments