Reader Extensions - Adding rights programatically for attachments


hi,

i rendering form programatically users additional usage rights (this doing progrmatically). want add rights such user can attach document rendered form. other usage rights seem working except one. can tell me why happening. in rendered form can see attachment button comes disabled. here code using -

string[] formrights = new string[] {form_fill_in.value, form_import.value,
form_export.value, form_add.value, form_delete.value,
form_submit_stand_alone.value, form_spawn_template.value, form_online.value,annotation_create.value, annotation_modify.value, annotation_delete.value,annotation_import.value, annotation_copy.value,annotation_export.value, ef_create.value};

credential cred = new credential("xxxx", "xxxx".getbytes("utf-8"));
string msg = "you can fill in , other form-related operations on document.";
pdf.setusagerights(cred, formrights, msg, false);

thanks , regards,
shivajiv.

adding ef_import.value worked me.
thanks chris.

thanks , regards,
shivajiv.


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments