Skip to main content
verauser
Participant
May 14, 2020
Question

Unable to disable email option by denying PDPermReqOprUIemail permission.

  • May 14, 2020
  • 2 replies
  • 1352 views

I am creating a plugin where it creates and opens a secured PDF file. As part of opening the secured PDF file I am using AVDocOpenFromPDDocWithParams and specifying callback for the permissions. The other options for disabling the print and save, seems to work fine as part of the callback. However, I am unable to disable the email button by denying "'PDPermReqOprUIemail'' as per the logs this particular permission was never requested. Is this feature broken or am I doing something wrong?

 

On similar lines, starring this document is also uploading this document to the cloud, how can this also be disbaled?

 

Thanks in advance.

 

 

 

            params.usePermReqProc = true;
            params.permReqProc = pPermReqCallback;


 PermReqCallback(AVDoc doc, PDPermReqObj obj, PDPermReqOpr opr)
{
    // Deny permission to enable the email button
    if (PDPermReqOprUIemail == opr) {
        return 1;
    }
    
    //Handle other permission request cases....
}

 

 

 

 

This topic has been closed for replies.

2 replies

Bernd Alheit
Community Expert
Community Expert
May 14, 2020

"On similar lines, starring this document is also uploading this document to the cloud, ... "

What does you mean with this?

verauser
verauserAuthor
Participant
May 14, 2020

There is an option to "star the file"  in Acrobat DC. When that option is clicked the documents are uploaded to cloud and will be accessible on all the devices where the same user logs in. How to disable that option for this secured file?

Bernd Alheit
Community Expert
Community Expert
May 14, 2020

You can disable this in the preferences of Acrobat.

Legend
May 14, 2020

Sorry don't see the connection to recent files list. Accurate titles are important if you want experienced people to reply...

Participating Frequently
May 14, 2020

Hey thank you for pointing this, not sure how the title got updated to my previous post. Looks like some bug. I will update it.