Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | Apps and Workspaces | Create Workspace Apps with Mashboard | Add Gadgets With JavaScript to a Workspace
 
Add Gadgets With JavaScript to a Workspace
Some gadgets and widgets use <script> tags in HTML which you can use to add these gadgets to a workspace.
* To add a javascript gadget to the workspace
1. Click the Palette menu and expand Utilities.
2. Drag Script Embed into the workspace and drop it into the position you want it.
3. Complete these properties:
*Script Title = change the title for this gadget.
*Script Tags = paste any <script> tags needed for this gadget here.
*Inline = set this property to add the <script> tag directly to the workspace rather than adding the gadget securely in an iFrame.
This option is clear by default which isolates the gadget from styles or code used in other apps or gadgets in the workspace.
4. If available, set Layout options for the gadget:
*Height = the height in pixels for this gadget.
*Chrome Options: set one of the options to control the title bar and border for this gadget:
*Chrome = set this option to display both the title bar and the border around this gadget. The title bar also contains the toolbar which allows users to edit inputs or other properties or to minimize/maximize the gadget.
*No Header = set this option to hide the title bar, but display a border around this gadget. The title bar also contains the toolbar which allows users to edit inputs or other properties or to minimize/maximize the gadget.
*No Chrome = set this option to hide both the title bar and the border around this gadget. The title bar also contains the toolbar which allows users to edit inputs or other properties or to minimize/maximize the gadget.
*Closeable = clear this option to hide the Close button in the toolbar.
*Draggable = clear this option to keep this gadget always in its current position in the workspace.
*Row Span = if this layout has multiple rows, set the number of rows this gadget should fill.
*Column Span = if this layout has multiple columns, set the number of columns this gadget should fill.
5. Click Apply.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release