Different Permission for Relationship Tab

Hi How to set different permission for part item type and Part BOM relationship item type ? Example: If Part State is "In Review", user should not have edit access to Part fields (Example: Name, Type, Long Description, etc..) but user should have edit access to Part BOM tab.   Thank You
  • Hi krisgopi88,

    The easiest approach is probably to have a form event that checks the state of the Part and disables/enables the form fields accordingly. You can find examples to get you started in the Disable Form Fields blog post and community project.

    It's important to note that the form event approach will not prevent changes to the Part that are executed via code, AML, or another client. If you want to prevent server-side changes as well, I'd recommend an onBeforeUpdate server event that checks the state of the Part and any changes being made. You can then strip out any invalid changes or throw an error.

    Eli


    Eli Donahue

    Aras Labs Lead Engineer