Triggers using the DISE CX Portal and Premium player

  1. Create your trigger in the DISE Portal by going to 'Experimental features' -> 'Triggers' -> 'New trigger'
    (You will need to be an admin to access Experimental features, you can toggle it on and off under user settings)
    • Depending on how you want to control the trigger you can select either 'Local source' Yes or No.
      For example if you want to control the trigger using our API you want 'Local source' set to 'No'
  2. When you have created your trigger you need to open the developer console in your web browser (f12) and then click the trigger in the trigger list. A number will show up under the 'Network' tab. 
  3. Apply your trigger to a playlist by creating a Layout and adding playlists to it.
    This means that you can trigger this playlist at any point by using the trigger.
  4. Apply the layout to any player you wish to use it.
  5. Use the following API request to toggle the trigger on and off.
    • https//<server adress>/api/v1/trigger/<id>/toggle
    • You want use "PUT" and authenticate (using Basic Auth) with NETWORK/username


Alternative ways:
2.19+ Server version

  1. Create a trigger and set LocalSource to on.

  2. Create your layout and set this trigger on the playlist you want to be able to control.
  3. Find out the id of the Trigger you just created (can be found in database table "trigger")
  4. Open any DISE Composer or DISE Bridge and open the schedule dialog. create your schedule and press the Copy All button.
  5. Go to the web page http://www.freeformatter.com/java-dotnet-escape.html and paste the clipboard
  6. Click Escape and copy the result string (it should now be \\ instead of \, \" instead of " and \r\n instead of new line.
  7. Go to the player and create a new setting, with the name Trigger_<id> (ex: Trigger_11)
  8. Select string as type and paste the escaped schedule.
  9. Publish the player
  10. You should now be able to control the playback of this playlist/channel using the schedule


2.17 and 2.18 Server version 

  1. In the database table trigger, edit data and create a new row with the name of your trigger, local_source = true, network_id to the id of your network and inactive = false
  2. Note the id of the new trigger
  3. Open any DISE Composer or DISE Bridge and open the schedule dialog. create your schedule and press the Copy All button.
  4. In the server, create a new custom setting for the player called Trigger_<id> (ex: Trigger_11). Make it a string with the value "TriggerHere!"
  5. Go to the settings table in the database and find the new setting, paste the schedule you copied earlier as the value.
  6. Create your Layout with the Playlists
  7. Browse to the layout playlist you want to control and note the channel id from the browser URL displaySchemes/<layout_id>/channel/<channel_id>
  8. In the database, go to the table display_channel click edit data and find the channel with the id from step 7
  9. In the trigger_id column, enter the trigger id from step 2
  10. Select the layout on the player and make sure to publish
  11. You should now be able to control the playback of this playlist/channel using the schedule


You will need the latest version of DISE Premium player Update 14 for the above functionality to work.