Publishing a Site

To let users access and use a KnowledgeKube application from their web browser, the selected model needs to be published to a live site.

If you want to make your application available to the KnowledgeKube mobile app, you'll need to publish the model using Enterprise Server.

Implementation:

  1. Click to access the Content Delivery tab.
  2. Click Pages to access the Site Map Inspector.
  3. Select the Your Site panel in the Site Map Inspector.

Each model that you want to publish must be hosted on its own page within your site

  1. Click the central node of your site.
  2. Click New in the Site Map Inspector toolbar, and select Model Host.
  3. Using the Add New Page window, give the new page a suitable Default Title.
  4. Press the key tab to automatically generate a Virtual Page Name based on the chosen Default Title. Change this if the generated one is not suitable.
  5. Use the Master Page drop-down menu to select which of your site's master pages will be applied to your new page.
  6. Use the Model Reference drop-down menu to choose which model you want your page to host.
  7. Switch to the Access Control panel and un-tick the top most check box to un-block the selected page, allowing users to access it.
  8. Use the Access Type drop-down menu to change the access type to Authenticated (if you want users to have to log in to access the page), Anonymous (if only users that are not logged in should be able to access the page) or Open (if both anonymous and logged-in users are allowed to access the page).
  9. Switch to the HTML Page Content panel where you can make any necessary changes to your page's HTML mark-up.

By default this will contain an Element Tag that references the model you selected. This serves as the placeholder for where the model will appear on the page and uses the following syntax:

<% MODEL(ModelReference) %>

You can relocate the div that contains the page's <% MODEL %> element tag if you wish, but you must ensure its contents are not modified in any way.

  1. Click Save to confirm creation of your page.
  2. Use the Site Map Inspector menu to select Tools > Publish Changes > Pages, which publishes the page to the live site.