Skip to Content
author's profile photo Former Member
Former Member

How to restrict access to attachments in document

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 03:22 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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,

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.