Show Item Attachments Field in Change Order

Show Item Attachments Field in Change Order

Anonymous
Not applicable
444 Views
1 Reply
Message 1 of 2

Show Item Attachments Field in Change Order

Anonymous
Not applicable

Is it possible to add an attachment field in the change order WS so that in addition to seeing the descriptor information the reviewer can also see whether or not the item has attachments? In a change order there is an Affected Items tab. IN the Affected Items tab the fields in my installed tenant are Descriptor, followed by Lifecycle. Before the Lifecycle field I would like to display the associated attachments field, exactly the same way it is displayed in the I&B WS in the BOM tab. It would make reviewing the CO a lot faster.

445 Views
1 Reply
Reply (1)
Message 2 of 2

philipfrench
Collaborator
Collaborator

No, sorry.

 

Perhaps you can find a trigger point in your CO workflow, to loop through the managed items tab, and set a custom field in Managed Items tab to capture the number of attachments. This might work if your CO has an early 'submit' step, before a 'review' step. Perhaps it could be calculated on that transition?

 

If you could find such a trigger, through item.workflowItems[i].item.attachments[j].fileID and dmsid, you could even build a little paragraph field of links to those attachments, and display that (read only) in a custom paragraph field, so the user could link direct to them. I haven't tried it myself, but the scripting is not too hard.

 

But it won't be live. Yes, perhaps that Managed Items tab could have an extra 'attachments' indicator, like the Bom tab. It's a common wish to see more helpful info in Managed Items, so that reviewers can focus more easily on what they should review.