The ShortPoint Code Design Element is commonly used to embed widgets or pull content from external sources into a SharePoint intranet page. All you need to do is a working embed code from the source of your content and you are good to go. However, you may encounter an issue with some embed code scripts and this article discusses why this happens.
Issue
When using embed codes that use document.write or document.writeln, the Code Design Element does not display the content you intended to insert into your page. In most cases, you will get a blank result like our example.
Reason
ShortPoint Code Design Element does not support embed codes that contain document.write and document.writeln. This is a known limitation.
Related Articles:
- Introducing ShortPoint Code Design Element
- Example Use Cases for ShortPoint Code Design Element: Part 1
- Example Use Cases for ShortPoint Code Design Element: Part 2