Table of Contents |
---|
Creating a microsite
- Access the UES portal.
- On the Create menu, click MicrospaceMicrosite.
- Enter a title for the dashboard.
Only alphanumerical and - hyphen is allowed to be entered as the dashboard title. - Click Create new app.
- Click Right click on the folder containing the name of the newly created microsite.
- Click Open in editor.
- Right click on the microsite folder and select New text file.
- Rename the filename and extension.
- Open the newly created file in the text editor.
- Write the code using jaggery and/or html.
Use the tools in the editor when necessary. - Click Save.
- Publish the microsite.Please see Creating a Microsite for more information.
...
Publishing a microsite to the store
Follow the instructions below to publish a microsite to the store:
Info |
---|
All source microsite file are secured with basic authentication. As a result by default any microsite is only viewable by the author. However, the security settings in Jaggery prevents microsites from being accessed publicly even after being published. The code related to the security settings will have to be manually removed before publishing it to enable public access once the microsite is published. For more information please go to http://jaggeryjs.org/apidocs/jagconf.jagwhen publishing to the store, if the author wants to make the site public he/she will have to remove the security settings manually. |
- Access the UES portal.
- On the My Items menu, click and open on the microsite folder that needs to be published.
- If you wish to make the site public once it is published carryout the additional steps mentioned below:
- In the microsite folder open the
jaggery.conf
file in the text editor. Remove the following code and save the
jaggery.conf
file.Code Block "securityConstraints" : [ { "securityConstraint" : { "webResourceCollection" : { "name" : "Test", "urlPatterns" : [ "/*"], "methods" : [ "GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE", "CONNECT", "PATCH"] }, "authRoles" : [ "private_mari"] } }]
- In the microsite folder open the
- Click Publish.
The Published Settings page will appear. Select "Site" as the Publish as option.
Dashboards too need to be published as Sites. The default value is Sites.- If required, edit the a name for the site.
- If required, edit the URL that will be used to publicly access the site.
- Enter a description on the microsite.
- Enter the URL of the thumbnail.
A default thumbnail will appear if a thumbnail URL is not specified. - Enter the URL of the image.
A default image will appear if a image URL is not specified. - Click Publish.