Calling a UI Script from a UI Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2016 02:39 AM
Hi all
Is it possible from a UI Macro to call a Ui Scrpit?
There is some code on the instance here which does a few bits and loads from a UI Page and works well
However, I may want to call this routine from elsewhere (on the CMS) and that it is all Ui Macro driven
My initial attempts are not working and I am not sure if it is possible, a code issue or the click not being registered
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2016 05:13 AM
how are you currently trying to call the ui script? The following is how I have always included UI Scripts in UI Pages/UI Macros
<script>.jsdbx" />
or
<g:requires name="<UI SCRIPT NAME>.jsdbx" />
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2016 08:44 AM
I am sure I tried both methods as one method did change with fuji
Let me look again this week - it is not a priority to get running so I will look as and when I get a chance between the work that does need doing
My issue is when I press the link / button I had added nothing was triggered so i am struggling to tell where it is failing - not recognising the button action, or the UI script running.