Item Views

Add a tab to the first accordion

“I want to display the Part BOM tab in the top accordion for all users.”

Figure 35. The Part BOM tab is added to the top accordion on the Part item view

  1. Open the Part ItemType and select the Client Style relationship tab.
  2. Right click the entry in the grid and select Open to open the Presentation Configuration for the Part ItemType.
  3. Click the Edit button.
  4. Select the cui_PresentConfigWinSection tab.
  5. Click the New button in the grid toolbar to create a new window section with the following properties:

    1. Classification: Data Model
    2. Name: Accordion1
    3. Location: ItemView
    4. For Identity: World
  6. Click the Save button, then right click the new window section, and select Open.
  7. Click the Edit button.
  8. Click the New button in the grid toolbar to create a new control with the following properties:

    1. Type: Tab Element Control
    2. Name: Acc1_BOM_Tab
    3. Label: Part BOM
    4. Additional Data: {"relTypeId": “159C6D88795B4A86864420863466F728"}
    5. Parent: ItemView.FormAccordionTabs
    6. Sort Order: 1024
    7. Action: Add
    8. For Identity: World
  9. Click Save, then navigate to Design > Parts in the TOC and open a Part item to see the new Part BOM tab in the top accordion.
Note
The default BOM tab will still appear in the relationship accordion. See the next section for steps to hide the default BOM tab from the second accordion.

Hide a tab from the second accordion

“I want to display the Part BOM tab in the top accordion instead of the relationship accordion.”

Figure 36. The Part BOM only appears in the top accordion on the Part item view

  1. Follow the steps in the previous section to add the Part BOM tab to the top accordion. The following steps outline how to hide the default BOM tab from the relationship accordion.
  2. Navigate to Administration > RelationshipTypes in the TOC.
  3. Search for the Part BOM RelationshipType and open the item.
  4. Click Edit.
  5. Check off the Hide In All box to prevent the default tab from appearing in a relationship accordion.
  6. Click Save, then navigate to Design > Parts in the TOC and open a Part item to confirm the default BOM tab doesn’t appear in the relationship accordion.

Add a third accordion with a tab

“I want to show the Documents and CAD Documents tabs in a third accordion.”

Figure 37. A third accordion is added displaying the Document and CAD Document tabs

  1. Open the Part ItemType and select the Client Style relationship tab.
  2. Right click the entry in the grid and select Open to open the Presentation Configuration for the Part ItemType.
  3. Click the Edit button.
  4. Select the cui_PresentConfigWinSection tab.
  5. Click the New button in the grid toolbar to create a new window section with the following properties:

    1. Classification: Data Model
    2. Name: Accordion3
    3. Location: ItemView
    4. For Identity: World
  6. Click the Save button, then right click the new window section, and select Open.
  7. Click the Edit button.
  8. Click the New button in the grid toolbar to create a new control with the following properties:

    1. Type: Accordion Element Control
    2. Name: Acc3_Container
    3. Additional Data: {"cssClass": “aras-item-view__relationship-accordion"}
    4. Sort Order: 2000
    5. Action: Add
    6. For Identity: World
  1. Click Save.
  2. Click the New button in the grid toolbar to create a new control with the following properties:

    1. Type: Tab Container Control
    2. Name: Doc_Tab_Container
    3. Additional Data: {"attributes” : {"slot": “header"}}
    4. Parent: Acc3_Container
    5. Sort Order: 2050
    6. Action: Add
    7. For Identity: World
  1. Click Save.
  2. Click the New button in the grid toolbar to create a new control with the following properties:

    1. Type: Tab Element Control
    2. Name: Document_Tab
    3. Label: Documents
    4. Additional Data: {"relTypeId": “09CBB0294FAB477AA7300906DC035462"}
    5. Parent: Doc_Tab_Container
    6. Sort Order: 3000
    7. Action: Add
    8. For Identity: World
  3. Click the New button in the grid toolbar to create a new control with the following properties:

    1. Type: Tab Element Control
    2. Name: CAD_Tab
    3. Label: CAD Documents
    4. Additional Data: {"relTypeId": “C65FB7DC8C3A4EFC97A6EE8196C0B448"}
    5. Parent: Doc_Tab_Container
    6. Sort Order: 3050
    7. Action: Add
    8. For Identity: World
  4. Click Save, then navigate to Design > Parts in the TOC and open a Part item to see Document and CAD Document tabs appear in a new accordion at the bottom of the page.