Applies the specified source-code to the current basket and session. This pipelet processes the source-code exactly as if it were supplied on the URL query string, with the additional benefit of returning error information. If no input parameter is passed, then the active source code in the session is removed. If an existing basket cannot be written to, the session will not be written to either. This pipelet may open and commit a transaction, if none is currently active.
The SourceCode to set as active in the session and basket. If no parameter is passed, then the active source code in the session and basket is removed.
Returns an OK status if the source code was applied, otherwise an ERROR status. In the latter case, the possible error codes are:
See documentation for SourceCodeStatusCodes for further descriptions.
© Copyright 2000-2022, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.