Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vendors:cisco:uc:ucce:finesse:gadgets [2024/09/30 17:19] – removed - external edit (Unknown date) 127.0.0.1 | vendors:cisco:uc:ucce:finesse:gadgets [2024/10/03 18:01] (current) – ↷ Links adapted because of a move operation 172.70.38.122 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Finesse Gadgets ====== | ||
| + | |||
| + | ===== TO DO ===== | ||
| + | * Check out - finesse.utilities.Utilities.getParameterByName(str, | ||
| + | *https:// | ||
| + | |||
| + | |||
| + | |||
| + | ===== Reference the Finesse and jQuery Libraries ===== | ||
| + | Reference the Finesse and jQuery libraries hosted on the Finesse server from within your external Hosted Gadget using the below code. | ||
| + | Full example outlines how to do this. | ||
| + | |||
| + | |||
| + | <code xml> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | <code javascript> | ||
| + | <!-- jQuery --> | ||
| + | <script type=" | ||
| + | |||
| + | <!-- Finesse Library --> | ||
| + | <script type=" | ||
| + | </ | ||
| + | |||
| + | ==== Full Example ==== | ||
| + | <code xml> | ||
| + | <?xml version=" | ||
| + | < | ||
| + | < | ||
| + | description=" | ||
| + | |||
| + | <Require feature=" | ||
| + | <Require feature=" | ||
| + | <Require feature=" | ||
| + | < | ||
| + | <Require feature=" | ||
| + | <Param name=" | ||
| + | <Param name=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | |||
| + | <Content type=" | ||
| + | < | ||
| + | < | ||
| + | <!-- Styling --> | ||
| + | <link rel=" | ||
| + | |||
| + | <!-- jQuery --> | ||
| + | < | ||
| + | |||
| + | <!-- Finesse Library --> | ||
| + | < | ||
| + | |||
| + | <!-- Gadget Business Logic --> | ||
| + | <script type=" | ||
| + | |||
| + | <body class=" | ||
| + | <!-- sample gadget html only has 1 div which will be modified during the My SampleGadget --> | ||
| + | <div> | ||
| + | <div id=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <script type=" | ||
| + | // initialize the gadget running the init handler defined in MySampleGadget.js | ||
| + | gadgets.HubSettings.onConnect = function () { | ||
| + | finesse.modules.SampleGadget.init(); | ||
| + | }; | ||
| + | </ | ||
| + | ]]> | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Some Sample Gadgets ====== | ||
| + | ==== A Variation of the Update Call Variable Sample Gadget on Devnet ==== | ||
| + | |||
| + | {{ vendors: | ||