How to call Script Include using Jelly Script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2020 12:27 AM
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:ui_reference name="active=true" id="name" table="sys_user_group"/>
<g2:evaluate>
var out= new SurveyUtilities().getSurvey();
</g2:evaluate>
<p>${gs.getMessage(out)}</p>
</j:jelly>
I am getting output like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2020 01:07 AM
Can you explain what you are trying to achieve here? - I have prepared a HTML data (JavaScript code prepares this HTML code) in that script include & I need to show that in dashboard using dynamic content blocks
the script include function what and what you want to do with the values - When I load the dashboard then it should run the script include
Are you saying the value which is coming from the script include function should be set in that text box? - The Value from script include needs to be set on dashboard directly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2020 12:44 AM
Hi,
Adding to Pratiksha, check this
If my answer helped you in any way, mark answer as helpful and correct.
Thanks and regards,
Megha.