({{, (RefLink[ExportForm, paclet:ref/ExportForm])[expr,"fmt"] 
specifies that expr should be exported in the specified format in functions like (RefLink[CloudDeploy, paclet:ref/CloudDeploy]) and in external results from (RefLink[APIFunction, paclet:ref/APIFunction]) and (RefLink[FormFunction, paclet:ref/FormFunction]).}, {, (RefLink[ExportForm, paclet:ref/ExportForm])[expr,{"fmt","type"}]
specifies that when expr is exported, it should be tagged as having the specified MIME type.}})

OpenersNotesSection(Spacer1)Details

All formats supported by (RefLink[Export, paclet:ref/Export]) can be specified in (RefLink[ExportForm, paclet:ref/ExportForm]).

Common cases include:

The following additional formats are also supported:

The format (RefLink[None, paclet:ref/None]) specifies that expr should be passed through without change.

(RefLink[ExportForm, paclet:ref/ExportForm]) supports the same options as (RefLink[Export, paclet:ref/Export]), including (RefLink[ImageFormattingWidth, paclet:ref/ImageFormattingWidth]) and (RefLink[ImageSize, paclet:ref/ImageSize]), for appropriate formats.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Deploy a graphic to the cloud as a GIF image:

CloudDeploy[ExportForm[Graphics[Disk[]],"GIF"]]

Import the image from the cloud:

CloudImport[%]

Deploy a (RefLink[Graphics, paclet:ref/Graphics]) expression to the cloud:

CloudDeploy[ExportForm[Graphics[Disk[]],"Text"]]

Import the (RefLink[Graphics, paclet:ref/Graphics]) expression:

CloudImport[%]

The imported object is a Wolfram Language expression, not an image:

InputForm[%]

Deploy a list of rules to the cloud in JSON format:

CloudDeploy[ExportForm[{"one"->1,"two"->2,"three"->3},"JSON"]]

Retrieve the rules from the cloud:

CloudImport[%,"JSON"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[CloudDeploy, paclet:ref/CloudDeploy])  ▪  (RefLink[Export, paclet:ref/Export])  ▪  (RefLink[Delayed, paclet:ref/Delayed])  ▪  (RefLink[EmbedCode, paclet:ref/EmbedCode])  ▪  (RefLink[ResponseForm, paclet:ref/ResponseForm])  ▪  (RefLink[HTTPResponse, paclet:ref/HTTPResponse])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Cloud Functions & Deployment, paclet:guide/CloudFunctionsAndDeployment])}, {▪(RefLinkPlain[Creating Instant APIs, paclet:guide/CreatingAnInstantAPI])}, {▪(RefLinkPlain[Web Operations, paclet:guide/WebOperations])}, {▪(RefLinkPlain[Mail, Messages, Etc., paclet:guide/MailMessagesEtc])}, {▪(RefLinkPlain[Sharing & Embedding Content, paclet:guide/SharingAndEmbeddingContent])}, {▪(RefLinkPlain[Creating Form Interfaces & Apps, paclet:guide/CreatingFormsAndApps])}, {▪(RefLinkPlain[Automated Reports, paclet:guide/AutomatedReports])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(WebLink[DocumentationFooterIconsRelatedLinks-EIWL.png(Spacer1)An Elementary Introduction to the Wolfram Language, https://www.wolfram.com/language/elementary-introduction/36-creating-websites-and-apps.html])(WebLink[: Creating Websites and Apps, https://www.wolfram.com/language/elementary-introduction/36-creating-websites-and-apps.html])}})}})