Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

I want to create ui micro to open new user form

keshav77
Tera Contributor

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 

keshav77_0-1736229853495.png

 

1 REPLY 1

Bhavya11
Kilo Patron

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

If this information proves useful, kindly mark it as helpful or accepted solution.

Thanks,
BK