The SC (Save a Copy) parameter preselects one or more save-location checkboxes on the Composer page. Use it to control where generated documents are saved without using Background Mode (bgm).

By default, the Composer page offers four save locations:

  • Files
  • Notes & Attachments
  • Chatter
  • Documents

Composer page with the four save-location checkboxes under Choose Options

Syntax

As an Other Parameter on the solution's Assign Behaviors page:

Parameter Name:  SC
Parameter Value: chatterFile

In the solution button's URL:

&SC=chatterFile

Values

ValueEffect: preselects the checkbox for
fileFiles
notesAttachmentNotes & Attachments
chatterFileChatter
documentDocuments

To preselect several checkboxes, separate the values with commas, for example notesAttachment,file,chatterFile.

Where to add it

  1. On your solution's Assign Behaviors page, click Other Parameter in the sidebar, then click Add Other Parameter.

  2. Enter SC in Parameter Name and one or more values in Parameter Value, then click Save.

    Other Parameter set to SC with the value chatterFile

Example

Parameter valueComposer page when it opens
chatterFileThe Chatter checkbox is already selected.
notesAttachment,file,chatterFileThe Notes & Attachments, Files and Chatter checkboxes are already selected.

With SC=chatterFile, the Chatter checkbox is already selected when the Composer page opens:

Composer page with the Chatter File checkbox preselected

To preselect several locations, enter a comma-separated list:

Edit Other Parameter window with SC set to notesAttachment, file and chatterFile

Works in

SC is set on the solution, not written in a template. It works only when the Composer page opens, so not in background mode. When the user clicks Download on the Composer page, the file is also saved to the ticked locations.

Combine with

Common errors

  • The checkboxes aren't preselected. Check that bgm isn't set on the solution: background mode skips the Composer page. Check the spelling of each value against the table.
  • The copy isn't saved, or Salesforce reports insufficient access. The user needs access to the record and permission to add files, attachments or Chatter posts to it. See DME-SF-004.
  • The file isn't where you expected. See Where generated documents are saved.