Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Custom document is the way CTLive offers in order to store custom JS or CSS document into the system, and use them to realize customization in style or different behavior in logic.

It’s possible to find the custom document object structure here Custom Document Object

When you need to load a new document, you need to provide the following information:

...

Attribute

...

Description

...

Notes

...

id

...

unique identifier

...

customDocument

...

content of the document

...

Content is stored as is. All spaces, carriage returns or special characters are kept.

...

contentType

...

contentType to be used to retrieve the document

...

Possibile values are:

text/javascript

text/css

...

version

...

number identifying the version of the document

...

Once the document is stored, it’s retrievable using the following URL:

...