How you "allow by program for this purpose?
I saw 1 million forum posts where people want to activate programming their PDF files for comments, and the answer is: use LiveCycle. We plan to buy LiveCycle for our server JUST for this purpose, because it doesn't seem to be another way to do it. Before we do that, I want to know how it would work. Since I did not livecylce, I can't very well search and understand it, and I don't see any free downloads of the trial. Can someone explain how would you do this task? On the other hand, is not the pdf document open standard? Is it possible to change the pdf file "under the hood" to allow him to comment, without assistance from the Acrobat menu item?
TO apply rights uage to a document PDF programmatically, see named apply the usage rights to PDF Documents located at the following ADDRESS:
http://livedocs.Adobe.com/LiveCycle/8.2/programLC/programmer/help/000411.html
It will explain what to do and will lead you to the following Java code example:
/*
* This Java Quick Start uses the following JAR files
* 1. adobe-reader-extensions-client.jar
* 2. adobe-livecycle-client.jar
* 3. adobe-usermanager-client.jar
* 4. adobe-utilities.jar
* 5. jbossall-client.jar (use a different JAR file if LiveCycle ES is notdeployed
* on JBoss)
*
* These JAR files are located in the following path:
*/Adobe/LiveCycle8/LiveCycle_ES_SDK/client-libs
*
* For complete details about the location of these JAR files,
* see "Including LiveCycle ES library files" in Programming
* with LiveCycle ES
*/
import com.adobe.livecycle.readerextensions.client.*;
import java.util.*;
import java.io.File;
import java.io.FileInputStream;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
public class ApplyUsageRights{
public static void main(String[] args) {
try{
//Set connection properties required to invoke LiveCycle ES
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
//Create a ServiceClientFactory object
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
//Create a ReaderExtensionsServiceClient object
ReaderExtensionsServiceClient reClient = new ReaderExtensionsServiceClient(myFactory);
//Retrieve the PDF document to which to apply usage rights
FileInputStream fileInputStream = new FileInputStream("C:\\Adobe\\Loan.pdf");
Document inputPDF = new Document(fileInputStream);
//Create a UsageRight object and specify specific usage rights
UsageRights useRight = new UsageRights();
useRight.setEnabledDynamicFormFields(true);
useRight.setEnabledComments(true);
useRight.setEnabledFormFillIn(true);
useRight.setEnabledDigitalSignatures(true);
//Create a ReaderExtensionsOptions object
ReaderExtensionsOptionSpec reOptions = new ReaderExtensionsOptionSpec();
//Set the usage rights
reOptions.setUsageRights(useRight);
reOptions.setMessage("This is a Rights-Enabled PDF Document");
//Apply usage rights to a PDF document
Document rightsEnabledPDF = reClient.applyUsageRights(
inputPDF,
"RE2",
null,
reOptions);
//Create a new PDF file that represents the rights-enabled PDF document
File resultFile = new File("C:\\Adobe\\Critique5.pdf");
rightsEnabledPDF.copyToFile(resultFile);
}catch (Exception e) {
e.printStackTrace();
}
}
}
Tags: Adobe LiveCycle
Similar Questions
-
I have adobe photoshop elements 9. I changed Windows 8.1 for windows 10. Now it doesn't work. When I trty to reinstall the software, windows will uninstall it. I habe no icon on the desktop to start the program. For this purpose I can't use it. What should I do? Thanks for your help. Wolf-Eberhard
Check your installed programs and so PES 9 is listed, uninstall it by using uninstall.
Then clean by http://www.adobe.com/support/contact/cscleanertool.html
Restart your computer, and then reinstall pse 9.
-
Hello - I'm trying to reinstall CS3 on my MacPro which is not online. It runs OS 10.5.1. He is a dedicated computer for printing on an Epson 7900 and I intentionally keep the older CS3 for this purpose. (compatibility). My hard drive crashed with all my top software, so I replaced the drive and now trying to reinstall my CS3. How can I do this without an internet connection? It will not take my initial activation codes, and this computer is not online. pointers out there?
Contact support Adobe by clicking here and, when available, click on "still need help," https://helpx.adobe.com/contact.html
-
ITS Search Application: you are not authorized for this page.
Hi all
I'm working on implementing Secure Enterprise Search. I have install the connectivity between PeopleSoft and SES have deployed research definitions and created indexes.
For example, I have deployed and build and find the HC_HR_COMPANY_DIRECTORY1 of PeopleSoft HCM 9.1 definition.
When I use the research of the Application of the banner of PeopleSoft to perform a search on a key word, it returns results.
Now when I click on the link to the result it opens a new window with the error, you are not authorized for this page.
The url, it tries to open is
http://myserver/PSP/PS/employee/HRMS/c/c/HR_SRCH_GLOBAL.HR_SRCH_CD.GBL?page=HR_SRCH_CD & action = U & EmplId = K0LB07 & EMPL_RCD = 0 & SESLanguageCd = ENG
You will notice that the url contains/c/c/that causes the error.
When a remove here form the url manually, it works fine and I can navigate to the relevant page.
I saw that the stream has published in ITS contains c/HR_SRCH_GLOBAL.HR_SRCH_CD. GBL? Page = HR_SRCH_CD & etc.
When you hover over a result link it executes javascript
OpenCrefInUniNav (' c/HR_SRCH_GLOBAL.HR_SRCH_CD.) GBL? Page = HR_SRCH_CD & Action = U & EMPLID = K0LB07 & EMPL_RCD = 0 & SESLanguageCd = ENG ')
This prefaced the url with 6 separate parts by / in the base url http://myserver/psp/ps/EMPLOYEE/HRMS/c/ PeopleSoft
I found this JavaScript function in the HTML PT_COMMON object.
I don't know that the PT_COMMON.js should not be setting place, so the question should be somewhere in the engine of the application that creates the index feed to HER.
If the application of create index engine add the c / to the url when you publish the food?
I run on PeopleTools 8.52.09 and PeopleSoft HCM 9.1 FP2 review Recut.
Someone at - it an idea how to solve this problem of double/c/c /?
Concerning
HalinCan make sure you that the local node by default, Portal node (HRMS) Portal and content URL is configured correctly they should end with /psp/ and /psc/
-
When I try to install window 7 ultimate my Windows vista ultimate, the spectacle of the window the following error message "a required CD/DVD device driver is missing. If you have a driver floppy disk, CD, DVDm and USB flash drive, please insert it now. Roman Si the windows installation media is in the drive, you can remove it for this step. "I have the"TSSTcorp CDDVDW TS - L632H ATA Device"CD/DVD-ROM drive, and and it come preinstalled with no driver disk. So is there a solution to the problem?
You could try to copy the contents of the DVD to a folder on your hard drive. Then start the installation from there.
(I've seen a post or two during the upgrade to Windows 7 64 bit of Vista 32 bit). Could just be a funky DVDROM drive problem. Copy of the files should ignore the issue.
I hope this helps!
Mark <> Microsoft Partner
-
Microsoft SQL Server 2008 R2 management studio is free off cost or you had to pay for this?
Microsoft SQL Server 2008 R2 management studio is free off cost or you had to pay for this?
Hi JayaPrakashN,
I would suggest to repost your question in the SQL Server Express Forums here:
http://social.msdn.Microsoft.com/forums/en-us/SQLExpress/threads
Thank you!
-
Dialog box that says ' Creative Cloud Installer wants to make changes. Type your password for this purpose"- I type my password for Adobe ID (creative cloud), but it will not accept it. who should I go for help with this query?
It does not ask the cloud your computer admin password password!
-
I found a problem when converted from pdf to excel in Arabic or Hebrew, it gives me the right sentences overturned left from left to right...
you have a solution for this problem?
Known problem (I submitted the bug a few years report - also applies to export to Word, PowerPoint, etc.) for that (unfortunately) there is not yet a date, release or resolution plan.
-Dov
-
How to cancel purchased Quickbooks for free 1 month app before automatically charging for it?
Contact Intuit, who are the developers of the product. We have nothing here to help you, because he is not an Apple product.
-
How to set the font for this SuperNova will display the text properly
I have a problem with the use of Firefox with Supernova. Supernova is a program for the Visual disabled allowing you to enlarge the office. When you visit the page
you will see orange colored text in the main text block. It appears correctly. However when I enlarge the screen with Supernova this orange text is barely readable due to the fact that the letters seems constructed points instead of a smooth line.
Note that this happens even with this page where I enter these details of the issues. Supernove enlarged rhe screen, texts outside of the text box are horrible while the text in this text box is good.
I ask this question here because when I use Internet explore this problem does not occur.
I tried to make a screenshot, but the screenshot feature only "sees" the screen is enlarged. So when I zoom to 100% with Supernova, the text in the screenshot seems to agree.
I realize that this is a difficult question to reproduce, but any help is welcome. Note that it is not a real option for me to enlarge the font with the Firefox options. Supernova expands the full screen, not only the text on the Web page. In this way, I am also able to see the menu / bookmarks of Firefox itself.
Thank you very much
HansYou can use an extension to set a page zoom and the size of the default font on the web pages.
Try disabling hardware acceleration in Firefox.
- Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.
- https://support.Mozilla.org/KB/troubleshooting+extensions+and+themes
-
Just upgraded to macOS Sierra.
Now, I get an avalanche of:
"macOS needs repair your library to run applications. Type your password to allow this. ', dialog boxes. They just continue to flow upward.
I tried to set the permissions on the House and the library directories, by doing a Get Info-> sharing and Permissions-> select user-> select Read & Write-> apply to what's included...
This seems to set the permissions that you expect.
But Safari can't download files in my downloads folder. Other changes to the settings in other applications. Do not seem to hold.
Whenever I connect again the dam of dialogue again.
You have chosen a good time to remove permission to repair Apple disk utilities.
So, how are we supposed to solve this problem?
https://www.macissues.com/2014/04/11/how-to-fix-home-folder-permissions-in-OS-x/
-
How you allow users to choose the page layout
I understand how to direct users to the format that you have provided for their visualization device but how do you let you choose? For example, how would you allow a phone user access to the desktop version without being redirected back?
When you open the menu of hyperlinks to different page layouts are in sections. Click on the link to the page of the section you want to direct your visitors to.
-
How to get code written for perticular purpose of database using sqlplus?
Hello
I'm trying to get the syntax written for the purpose of perticular (view/Table) database using sqlplus.
Can someone help me on this please.
Thanks in advance,
NISH
I'm trying to get the syntax written for the purpose of perticular (view/Table) database using sqlplus.
Can someone help me on this please.
Use the DBMS_METADATA package:
Select dbms_metadata.get_ddl ('TABLE', 'EMP', 'SCOTT') of double
Select dbms_metadata.get_ddl ('DISPLAY', 'V_EMP', 'SCOTT') of double
-
I have one of my Macbookpros that has a broken screen. How to pass the program Adobe of it ti that I have Mac?
Download/install the desktop application, connect and install applications subscription.
https://helpx.Adobe.com/creative-cloud/help/download-install-app.html
-
"Activate by programming provided for this purpose in the drive.
Hi, I would like to know if it is possible to activate a pdf document for comment by reader programmatically. My application would create a PDF 3D (U3D shipped) and want the user to be able to compete with the reader.
I can do this manually by using the option "Activate for Commening and analysis in Adobe Reader" in the menu comments from Acrobat PRO.
The user must purchase Acrobat PRO, 3D or Adobe LiveCycle Reader Extensions ES to achieve?
Thank you very much
Ian
Sorry - this isn't a feature that allow us automation in our software development kits.
Maybe you are looking for
-
All I want to do is create a new file and do appear in my existing list of files instead of a new file under a new title.
-
small Web site home pages. How can I make them full screen
After the last update, when I put them to the top of firefox home page is about 3 x 5 inches. I can barely read the police. How to do what I used to have in the trail full screen
-
HelloI wonder if anyone can help me, whenever I turn on my laptop, that an error message appears and I can't access windows, I tried to figure out what to do, but have had no luckThat's what the message reads: Windows could not start because the foll
-
How to fix: Unboundle does not everything boundled
Hello!! In the image as an attachment, you can see in my VI I use a table to build and after something I converted it to a cluster. Everything was good before you insert the 9 in the table element, then now, unboundle does not show the 9th element in
-
where are you going on the private research office totouch?
private and no research revealing hidden Ahuh! I know what I'm getting for Christmas...