I want to create ui micro to open new user form
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 10:04 PM
Hi All,
I am trying to create ui micro to open user account creation form by calling the ui micro through caller attributes but is not working for me.
here is my ui micro script
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 12:47 AM
Hi @keshav77 ,
can you try below away
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<j:set var="jvar_n" value="add_me_${ref}"/>
<span id="${jvar_n}" onclick="addMe('${ref}')" title="Create User" alt="Create User" tabindex="0" class="btn btn-default icon-default-knowledge-base">
<span class="sr-only">Create User</span>
</span>
<script>
function addMe(reference)
{
var url = "${gs.getProperty('glide.servlet.uri')}" + "sys_user.do?sys_id=-1$[AMP]sysparam_query=short_descriptionLIKEMAJOR";
window.open(url, "_blank");
return false;
}
</script>
</j:jelly>
Thanks,
BK