Content Html

Using the Content Html content item, you can add simple content to your website anywhere you want. In addition to the WYSIWYG functionality, you can switch to HTML mode to insert JavaScript to embed other sites, display web widgets, and use variables to create relative paths.

Important! Due to the Content Security Policy (CSP), certain integrations from external websites, such as script imports of iframes, are not permitted on payment pages for credit card security purposes.

Notes

  • The Content Html content item does not support C# script blocks. If JavaScript cannot be used instead of C#, the C# code must be ported to a first class content type and a new content item must be created. For information on using redirects, see Content records.
  • The <form> tag cannot be placed on any page in RiSE, as every page already has a <form> tag enclosing all items on the page, and <form> tags cannot be nested inside one another.
  • The editor will automatically attempt to correct invalid and improperly formatted HTML, such as missing end tags, or unsupported tags and attributes. Note that according to HTML standards, some tags cannot be placed inside of others. For example, <div> tags cannot be placed inside of <span> tags.
  • Note: We recommend using an online validator tool to help correct or validate any errors.

  • Content added to an https web page using an <iframe> must match the protocol of the parent page. If the URL is invalid, cannot be found, or is insecure based on iMIS site protocols, the following will happen:
    • The iFrame content will not load.
    • Error messages will be displayed based on the relevant scenario:
      • The content can’t be included because the requested information can only be loaded on: [URL Entered] — The URL entered in the <iframe> cannot be loaded on a domain other than the original domain. 
      • The content can’t be embedded because the security protocols do not match. Frame URL provided — The embedded content is not secure (http), but was loaded in an https iMIS site.
      • The content can’t be embedded ([URL Entered]). Please verify the URL entered — The page cannot be reached. The page might be down, or the URL is invalid.
      • The content can't be embedded because the requested information has been moved for: [URL] — The page URL included within the <iframe> is being redirected to another location (server 301 redirect, permanent redirect).

Using the Content Html content item