Adding Dynamic Resources

Develop a freestyle resource directly in a copilot — Rich Text, Markdown, or a full HTML page with JavaScript — indexable and dynamically translatable, with no source file.

📘

For administrators and developers only

This page is for administrators and developers who build dynamic resources. Technicians don't need it.

A Dynamic resource enables the development of a freestyle resource directly in a copilot, without uploading a file. It supports three formats:

  • Rich Text, through a built-in rich text editor
  • Markdown, through a built-in Markdown editor
  • HTML, through an HTML editor

The Rich Text and Markdown editors provide a convenient way to write and modify text. The HTML editor enables the creation of a full web page with JavaScript support — both the InSkill App and web viewers have a built-in web server that can display very complicated forms. A Dynamic resource is the same kind of content as a dynamic step: its scripts use the same InSkill script API. See Dynamic Scripts and Scripts.

A Dynamic resource supports the normal resource configuration options, and is indexable. A Dynamic resource written in English is translated automatically into every language enabled in Account Settings, so you do not add translations yourself. A Dynamic resource written in another language is not translated; it is available only in the language it was written in.

What you will need:

  • The product information you want to enter, such as notes

Adding a Dynamic Resource

Follow these steps to add a Dynamic resource:

  1. In the Copilots portal, select the copilot you want to add resources to.
  2. Open the Resources tab.
  3. Select -- Add New Resource -- > Dynamic. The resource editor opens on the Details tab.

Details Tab

The Details tab holds the same attributes as any other resource — name, published state, user levels, visibility, dependencies, tags, InSkill GPT flags, keywords, description, and prompt. See Editing Resource Attributes for what each attribute does and the recommended settings. Because a Dynamic resource has no file, there is no File upload area — the content comes from the Content tab instead.

The Details tab of a Dynamic resource, showing the Name, Published, User Levels, Visibility, Dependencies, Tags, InSkill GPT, Keywords, Description, and Prompt attributes.

The Details tab of a Dynamic resource

Content Tab

The Content tab is where you write the resource:

  1. Select the editing format: markdown or html, or click Switch to Text Editor for rich text.
  2. In the language drop-down, select the language the content is written in. English is selected by default. Content written in English is translated automatically into every language enabled for the account; content written in another language is not translated.
  3. Write the content in the editor. Use the toolbar to format text and add headings, lists, quotes, code, links, images, and tables — or click Upload Image to insert a picture. The pane on the right shows a preview of the rendered content.
  4. Click Save. The resource appears in the resource list.
The Content tab of a Dynamic resource, showing the markdown and html format toggle, language drop-down, formatting toolbar, editor, and preview pane.

The Content tab, with the editor and preview