Generating dynamic content

You can generate the contents of a Delegated Administration Console page dynamically by using the description in the XML template provided for a given page.

The following example shows the XML code used to generate content dynamically:


<tabs>
		<tab tID="1" tType="1" tRolePri="0" tText="User Properties" tDesc="View/Edit
User Properties" tAction="WAT_UsersList" t tImgSrc="" BitSettings="00000010">
		 <tabBody pageType="0">
			<tab tID="1" tType="1" tRolePri="0" tText="User Properties"
tDesc="View/Edit User Properties" tAction="WAT_UsersList" t tImgSrc=""
cBitSettings="00000010" AppliesTo="hosting" notAppliesTo="domain" >
		 <tabBody pageType="0" namespace="Windows Hosting Pack"
procedure="ModifyUser">
			<tabItem RolePri="0" displayName="Username" displayDesc="Username"
provider="mswat2uiproviders.activedirectory" prov_Source="user" 
prov_AttribName="userPrincipalName" prov_Type="string" form_Type="string"
readOnly="True"/>
			<tabItem RolePri="0" displayName="SAM Account Name"
			displayDesc="Username" provider="mswat2uiproviders.activedirectory" prov_Source="user" 
prov_AttribName="samAccountName" prov_Type="string" form_Type="string" 
readOnly="True"/>
		 </tabBody>
		</tab>
		<tab tID="7" tType="1" tRolePri="0" pageType="1" tText="Group Membership" 
tDesc="Group Membership" tAction="WAT_UsersList" t tImgSrc="" 
cBitSettings="00000010" />

		</tabs>

Definitions

The following section defines the elements used in the previous example.

tabs

The core element that groups all of the tabs together.

tab

Specifies a new tab for the given page.

tabBody

Element that groups all of the content elements for the tab.