cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict access to attachments in document

Former Member
0 Kudos

Hi Experts ,

I have a query on how to restrict access to attachment in a document using script .Is there are way to throw an exception if a particular user or group tries to access attachment link in the toolbar .

Best Regards,

Piyush

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Piyush,

Are you referring to the top "Attachment" button or within an agreement where user inserts attachment via Contract Document?

I'm also looking for a way to restrict access to the top attachment button.  If you already have a solution, can you please provide your script so I could review and see if we could implement within our system.

Thanks,

P

0 Kudos

I'm afraid that attachments is not a class included in IAPI, if it was you just need to create a script in event life cycle LOAD, and then put some logic to check if session user is not allowed and thrown an exception.

To check that go, Setup > System Setup > Script Definition

Create a new Script, choose Event Life Cycle choose LOAD, look for Attachments as a Class.

Regards,