Link to home
Start Free TrialLog in
Avatar of Akhil Vinay Mandava
Akhil Vinay MandavaFlag for India

asked on

Table Dynamically

How to get the table Dynamically ?

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<div >
<TABLE id="storage_file_share"  BORDER="0" ></TABLE>
</div>
<g:evaluate var="jvar_user" expression="gs.getUserID();" />
<input id="sysparm_user_id" type="hidden" value="${jvar_user}" />
	
<!--	<g:evaluate var="jvar_user_role" expression="gs.hasRole('admin');" />   //Earlier exclude only admins.
-->
	
<g:evaluate var="jvar_user_role">
	// Exclude admins and ITIL users.
		var user_role = '';
		if(gs.hasRole('admin') || gs.hasRole('itil')) 
		  user_role = true;
		else
		user_role = false;
		user_role;
	</g:evaluate>
	<input id="sysparm_user_role" type="hidden" value="${jvar_user_role}" />
<br/>
<table align="center">
    <tr align="center">
       <td><button onclick="addMain()">OK</button></td>
    </tr>
</table>

</j:jelly>

Open in new window

Avatar of ste5an
ste5an
Flag of Germany image

HTML is a declarative (static) page description language.

Thus: rephrase your question. Give use more context.
Avatar of Akhil Vinay Mandava

ASKER

I'm implementing Html pages in servicenow and i need to get details of selected data in dynamically
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.