6 Replies Latest reply on Jul 16, 2009 10:50 AM by Sam Stickler

    Enable Usage Rights for Webservice using code

    Sam Stickler Level 1

      We are looking for code that allows us to enable web service and database connectivity rights into a form. We are using LiveCycle Forms 7.2 to render the XDP and merge data. Because we are merging data into the form, it has to be reader enabled through the  code everytime it is presented to the user in our application.


      These are the parameters we do have but we do not see one for web service connectivity.


      usageRights[0] = com.adobe.document.pdf.DOCUMENT_SAVE.value;
      usageRights[1] = com.adobe.document.pdf.FORM_FILL_IN.value;
      usageRights[2] = com.adobe.document.pdf.FORM_EXPORT.value;
      usageRights[3] = com.adobe.document.pdf.FORM_IMPORT.value;
      usageRights[4] = com.adobe.document.pdf.FORM_ONLINE.value;


      Anyone's help would be greatly appreciated