IBM Support

Placing Security on Attached Document Delete Option

Question & Answer


Question

How can I prevent users from deleting Attached Documents

Answer

1.In Application Designer, from the Select Action select Add/Modify Signature Options.
Create a new signature option for the application(s) for which you wish to secure elements of the dialog – for example ‘ATTACHDEL’ with the description ‘Delete Attached Documents’.

2. From the Select Action menu, select the Export System XML options and select the LIBRARY.XML.

3. Create a backup copy of the XML file. Open LIBRARY.XML file using a text editor.

4. Find the ‘View Attachments’ dialog definition. (Search for viewattachments, the id of the dialog).
In the line:
<tablecol filterable="false" hidden="false" id="viewattachments_table_tablebody_8" mxevent="instantdelete" mxevent_desc="Delete Row" mxevent_icon="btn_delete.gif" sortable="false" type="event"/>
Add sigoption= “ATTACHDEL“ so that the end result is:
<tablecol filterable="false" hidden="false" id="viewattachments_table_tablebody_8" mxevent="instantdelete" mxevent_desc="Delete Row" mxevent_icon="btn_delete.gif" sortable="false" type="event" sigoption= “ATTACHDEL“/>

5. Save the XML file.

6. In Application Designer, select the ‘Import Application Definition’ toolbar button.

7. Browse to import the library.xml you modified.

Each application for which you created a signature option should now allow you to grant it to security groups. A user in a group that has the option will see the trash can icon in the Attached Documents dialog within the appropriate applications and a user in a group that does not have the option will not see the trash can icon. If you do not create the ‘ATTACHDEL’ signature option for an application, the delete icon will always show.

As with all application options in version 7, access to this option can also be granted conditionally

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Browser for Linked Docs","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1;7.5;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSWK4A","label":"Maximo Asset Management Essentials"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21447599