Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          saveJSONFileAsync(jsonObject, compressed)

          saveJSONFileAsync(jsonObject, compressed)

          Save JSON content to a file. An optional parameter, compressed, enables the function to compress the JSON object.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          Parameters

          jsonObject
          The JSON object to be serialized and saved.
          compressed
          Indicates whether the JSON object must be compressed. It can have two values: true or false. The default value is false. Any value other than true is considered as false.

          Return Value

          The complete path to the folder. For example: "folder\20140904163133.json".

          Note
          Note The optional parameter, compressed, is only applicable in Consumer Goods Cloud solution and is supported only on the device. In HESA for Cloud, the parameter is considered as false even if the value passed is true. The method throws an exception when used in CG Cloud with parameter compressed as true.
           
          Loading
          Salesforce Help | Article