You are here:
saveJSONFileAsync(jsonObject, compressed)
Save JSON content to a file. An optional parameter, compressed, enables the function to compress the JSON object.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
Save JSON content to a file. An optional parameter, compressed, enables the function to compress the JSON object.
| Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
true or false. The
default value is false. Any value other than
true is considered as false.The complete path to the folder. For example: "folder\20140904163133.json".
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.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.