Importing and exporting HTML | HCL Digital Experience
You can import HTML and export HTML to and from presentation templates and elements that store HTML.
Procedure
-
To import HTML with no references to images:
- Click Import.
- Select the HTML file that you want to upload.
- Click Save.
-
To import HTML with references to images:
-
To export HTML click Export.
What to do next
Note:
- Web Content Manager does not verify whether the imported HTML or text is valid. For example, if you import HTML that contains a JavaScript error, then that error appears in your content when previewed.
- The encoding of the current browser window determines the encoding of the imported or exported HTML. For example if the browser is using GB2312 for Chinese, then only GB2312 encoded HTML can be imported, and on export the exported HTML encoding is GB2312.
- Some HTML editors save HTML with a mixture of UTF-8 and non UTF-8 encodings. You cannot successfully upload files that contain a mixture of UTF-8 and non UTF-8 encodings. Save your HTML file as UTF-8 only and try importing the HTML.