Apex
Types
DocGen Params
this is a custom apex type that represents inputs needed for types docgenrequestinput docid\ ytmudeq1iq5fvmmm ndj parameters string pdfviewpassword string pdfownerpassword boolean lockpdf boolean allowpdfprinting boolean allowfillingpdfformfields example this code block is an example on how to create this custom apex type cldfs docgenparams dcp = new cldfs docgenparams(); dcp pdfviewpassword = 'admin'; dcp pdfownerpassword = 'superadmin'; dcp lockpdf = true; dcp allowpdfprinting = true; dcp allowfillingpdfformfields = true;