Loading
Salesforce Document Generation
Required Input and Output Parameters

Required Input and Output Parameters

Understand the input and output contract for the Context Service transform plug-in.

Required Editions

Available in: Lightning Experience
Available in: Professional, Enterprise, Unlimited, and Developer Editions

Required Input

Document generation passes token data automatically by using a contract.

Input Key Description Required Notes
TokenData Context Service returns token data as a JSON string. Yes

You can’t pass parameters, such as startTime, endTime, flags, or IDs.

All logic derives from values present in the token data.

Required Output

Document generation expects the transform plug-in to return token data in a specific structure.

Output Key Description Required Notes
TokenData Transformed token data returns as a JSON string. Yes If the plug-in doesn’t return a valid JSON string under the TokenData key, document generation fails.
 
Cargando
Salesforce Help | Article