Versions Compared

Key

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

...

  1. Locate the folder plugins under the root folder where the portal is installed
  2. If the file external-widgets.json does not exist create it
  3. Add the following

    json

    JSON object to the

    arraylist

    array list

    Code Block
    languagexml
    firstline1
    titleexternal-widgets.json
    linenumberstrue
    [
    	{
    		"name": "Telepo live widget",
    		"enabled": "true",
    		"enabledPropertyKey": "telepo_live.widgets_enabled",
    		"externalEndpointBaseAddress": "UrlToMeridixMiCloudTelepoWallboard", // Exchange with correct url
    		"externalEndpointServerSideBaseAddress": "UrlToMeridixMiCloudTelepoWallboard", // Exchange with correct url
    		"manifestPath": "/api/externalwidgets/manifest",
    		"manifestPathVerb": "POST",
    		"endpointRequiredProperties": [
    			{
    				"propertyKey": "micloud.baseUrl",
    				"defaultValue": "customerTelepoBaseUrl" // Can be omitted if the customer domain is configured in the wallboard installation 
    			},
    			{
    				"propertyKey": "micloud.domain",
    				"defaultValue": "test.com" // Will show test data when this property is not set
    			},
    			{
    				"propertyKey": "micloud.username",
    				"defaultValue": "testusername" 
    			},
    			{
    				"propertyKey": "micloud.token",
    				"defaultValue": "testtoken" 
    			}
    		]
    	}
    ]


  4. You can change the enabled Property key-value "telepo_live.widgets_enabled" in the JSON object to any name Ex. "Telepo_live.Meridix_Sweden_enabled" but it must be added exactly the same value to customer properties in Meridix studio. 
  5. The key "externalEndpointBaseAddress" must have the value to the external source has the live information Ex.  "externalEndpointBaseAddress": "https://telepowallboard.meridix.se"

Add the properties on the user or customer

  1. Go to the properties tab of the user or customer that should have the widgets activated
  2. Add the following properties to the properties box (baseUrl is optional if it is configured in the wallboard installation)
  3. Note: if you have changed the value as explained in step 4 above then you need to change the value below "telepo_live.widgets_enabled=True" to "Telepo_live.Meridix_Sweden_enabled=true"

    Image Modified

    Code Block
    languagetext
    titleCopyable properties
    collapsetrue
    micloud.widgets_enabled=True
    micloud.baseUrl=https://MyTelepoApiUrl
    micloud.domain=MyDomain.com
    micloud.username=MyUsername
    micloud.token=MyTelepoToken

...


  1.  Click settings and make sure to click Update to save the changes

Test the widgets

  1. Go to the dashboard
  2. Click Add content
  3. The widgets should now be shown under the headline Live data from queues