Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How do I add a CC in a "regular button" script


Level 2

Hello, I have the below script, which works perfectly fine except that it doesn't read the cCC. Anyone know what I am doing wrong? Event type: Click Object type: Button with control type Regular var subject = CC_request.REQUEST.DD_tool.rawValue + " " + CC_request.REQUEST.GEN_document_number.rawValue + " " + CC_request.REQUEST.GEN_document_type.rawValue; var myDoc =; try {     myDoc.mailDoc({         bUI: false,         cTo: '', // Replace with actual receiver mail address.         cCC: "",         cSubject: subject,         cSubmitAs: "PDF"     }); } catch (e) {     // exception handling... } thanks in advance. Kr, Nancy

1 Reply


Level 10


try this script:

var subject = "Test E-Mail";{

  bUI: false,

  cTo: '',

  cCc: '',

  cBcc: '',

  cSubject: subject,

  cMsg: 'Test'