Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

  1. On the Create menu, click Microspace.
  2. Enter a title for the dashboard.
    Only alphanumerical and - hyphen is allowed to be entered as the dashboard title. 
  3. Click Create new app.  
  4. Click on the folder containing the name of the newly created microsite.
  5. Click Edit.
  6. Write the code using jaggery and/or html.
    Use the tools in the editor when necessary.
  7. Click Save.
  8. Publish the microsite.
    Please see Creating a Microsite for more information.

Publishing a microsite to the store

All creator source code files (files created by the site owner) are secured with basic authentication. As a result by default, 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.jag.

  1. On the My Items menu, click and open the microsite folder that needs to be published.
  2. In the microsite folder open the jaggery.conf file in the text editor.
  3. Remove the following code and save the jaggery.conf file.

    "securityConstraints" : [
    		{
    			"securityConstraint" : {
    				"webResourceCollection" : {
    					"name" : "Test",
    					"urlPatterns" : [
    						"/*"],
    					"methods" : [
    						"GET",
    						"POST",
    						"PUT",
    						"DELETE",
    						"HEAD",
    						"OPTIONS",
    						"TRACE",
    						"CONNECT",
    						"PATCH"]
    				},
    				"authRoles" : [
    					"private_mari"]
    			}
    		}]
  4. On the My Items menu in the portal, click on the microsite folder that needs to be published.
  5. Click Publish.
    The Published Settings page will appear. 
  6. Select "microsite" as the Publish as option.
    Dashboards too need to be published as microsites. The default value is microsites.

  7. Select the permission type allowed for this microsite.
    Users who have the edit permission will be able to edit the microsite. However, the changes will only be visible to the user who made the changes and will not be visible publicly. 

  8. Enter a name for the microsite.
  9. Enter the microsite version.
  10. Enter the URL that will be used to publicly access the microsite.
  11. Enter a description on the microsite.
  12. Enter the URL of the thumbnail.
  13. Enter the URL of the image.
  14. Click Publish.
  • No labels