I am getting "NotAllowedError: Security settings prevent access to this property or method." while using function signatureSetSeedValue.
if(P3_443.RadioButtonList.rawValue!=null && P3_443.RadioButtonList.rawValue!="")
this.presence = "visible";
//var mydoc = xfa.resolveNode("FormData.P3_443.signature.ePadSignatureField3");
var f = event.target.getField("FormData.P3_443.signature.ePadSignatu reField3"); // get signature field
//var f = event.target.getField(GetFQSOMExp(this));
Please help me on this.
See the note on page 466 -
Note:The method can be executed during a batch, application initialization or console event. See “Privileged versus non-privileged context” on page 32 for details.
Certifying signatures are signatures with a SignatureInfo object mdp property value of allowNone, default, or defaultAndComments.
Not allowed in Adobe Reader.
Refer to the Acrobat 8.0 Security Feature User Reference to obtain a deeper understanding of the use of signature seed values.
Privileged versus non-privileged context
The description of each security-restricted method indicates the events during which the method can be executed.
●By executing a specific method through a trusted function (introduced in Acrobat 7.0). Trusted functions allow privileged code—code that normally requires a privileged context to execute—to execute in a non-privileged context. For details and examples, see app.trustedFunction.