Hi guys,
Sorry for my english.
Anybody knows a mean to know if a form has rights of reader extensions (Draft of Final) in execution?
Thanks in advance!!
ZAMPAZAMPA.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
sorry the link was broken.
I fixed it so you now can download the script.
Views
Replies
Total Likes
You can use a JavaScript to determine if a form already has Reader Extensions.
Here's a sample.
http://thelivecycle.blogspot.de/2011/07/check-files-for-usage-rights.html
Views
Replies
Total Likes
Thanks radzmar,
Sorry but i can't download the form, have you got the form with the example?
ZAMPAZAMPA
Views
Replies
Total Likes
Hi,
sorry the link was broken.
I fixed it so you now can download the script.
Views
Replies
Total Likes
You can go through http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/index.html?overview-summary.html if you want to achieve it using LiveCycle java APIs
getDocumentUsageRights
public GetUsageRightsResult getDocumentUsageRights(Document inDocument)
throws com.adobe.idp.dsc.DSCException,
Returns information about the rights-enabled PDF document. To see this method used in a code example, see the Retrieving credential information using the Java API quick start in Programming with LiveCycle ES2.
Parameters:
inDocument - A com.adobe.idp.Document object that represents the PDF document from which to retrieve information.
Returns:
A UsageRightsInfo object that contains information about the rights-enabled PDF document. Null is returned if rights have not been applied to the PDF document.
Throws:
ReaderExtensionsException - If an error occurs while getting information about the rights-enabled PDF document.
--Santosh
Views
Replies
Total Likes
Thanks twice!!
ZAMPAZAMPA
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies