Skip to main content
Skip table of contents

updateRecords

Updates field values of Salesforce records based on the bind commands present in the template'sdocument content. This works with both bind for DOCX templates and bind for HTML templates.

This command needs to be run after all the bind commands' input has been read. In a Flowtemplate, the reading of the commands has to be done using the readInputs command. After it hasbeen successfully evaluated, updateRecords can be used to transfers the data into Salesforce.Typically this logic is placed in the template's custom button Flow. In a Controller template, the reading ofthe commands is done automatically when post-composing events, such as button clicks, are triggered. Thereforethose events' handlers are where the updateRecords command should be placed.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.