Difference between revisions of "Determining the typeid"

From SmartWiki
Jump to: navigation, search
(Level 2 Type)
(Level 2 Type)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__TOC__
 
When using [[Advanced Logic]] or [[Visibility Condition]] for standard fields, you may wish to restrict based on the '''Level 1 Template''' or '''Level 2 Type''' of the associated record.
 
When using [[Advanced Logic]] or [[Visibility Condition]] for standard fields, you may wish to restrict based on the '''Level 1 Template''' or '''Level 2 Type''' of the associated record.
  
Line 6: Line 7:
  
 
In order to determine the ''typeid'' of a Level 1 template:
 
In order to determine the ''typeid'' of a Level 1 template:
* Go to the list of [[Template]]s on the '''Settings''' page.
+
* Go to the list of [[Template]]s on the [[UTA Settings]] page.
* Click into the Template for which you need the typeid
+
* Click on the hyperlinked name of the relevant Template in the left-hand pane.
* The typeid will be displayed at the top of the page, captioned "Template ID"
+
* The typeid will be displayed at the top of the page, captioned "Template ID."
  
 
[[Image:LocationofTemplateID.png|link=]]
 
[[Image:LocationofTemplateID.png|link=]]
  
 
''Alternate Method''
 
''Alternate Method''
* Go to the list of [[Template]]s on the '''Settings''' page.
+
* Go to the list of [[Template]]s on the [[UTA Settings]] page.
 
* Right-click on the name of the relevant template in the left-hand pane and select '''Properties'''
 
* Right-click on the name of the relevant template in the left-hand pane and select '''Properties'''
 
* Within the address displayed it will list the numerical ''typeid'' for that [[Template]]:
 
* Within the address displayed it will list the numerical ''typeid'' for that [[Template]]:
Line 20: Line 21:
  
 
In order to determine the ''typeid'' of a Level 2 type:
 
In order to determine the ''typeid'' of a Level 2 type:
* Go to the list of '''Types''' on the [[UTA Settings]] page.
+
* Go to the list of [[Types]] on the [[UTA Settings]] page.
 
* Click on the hyperlinked name of the relevant Type in the left-hand pane.
 
* Click on the hyperlinked name of the relevant Type in the left-hand pane.
* The typeid will be displayed at the top of the page, with the caption "Status ID."
+
* The typeid will be displayed at the top of the page, with the caption "Type ID."
  
[[Image:LocationofTypeID.png|link=]]
+
[[Image:LocationofTypeIDMay2014.png|link=]]
  
* Go to the list of '''Types''' on the [[UTA Settings]] page.
+
''Alternate Method''
 +
* Go to the list of [[Types]] on the [[UTA Settings]] page.
 
* Right-click on the name of the relevant type in the left-hand pane and select '''Properties'''
 
* Right-click on the name of the relevant type in the left-hand pane and select '''Properties'''
 
* Within the address displayed it will list the numerical ''typeid'' for that '''Type''' (it will be called ''statusid'' in the address).<br>
 
* Within the address displayed it will list the numerical ''typeid'' for that '''Type''' (it will be called ''statusid'' in the address).<br>
Line 40: Line 42:
 
:[[Image:SIIE.png]]
 
:[[Image:SIIE.png]]
  
 +
==See Also==
 
{{DeterminingIDs}}
 
{{DeterminingIDs}}

Latest revision as of 12:56, 16 May 2014

When using Advanced Logic or Visibility Condition for standard fields, you may wish to restrict based on the Level 1 Template or Level 2 Type of the associated record.

The syntax of the conditional statements refers to the typeid, which is the system's numerical value associated with each Template or Type.

Level 1 Template

In order to determine the typeid of a Level 1 template:

  • Go to the list of Templates on the UTA Settings page.
  • Click on the hyperlinked name of the relevant Template in the left-hand pane.
  • The typeid will be displayed at the top of the page, captioned "Template ID."

LocationofTemplateID.png

Alternate Method

  • Go to the list of Templates on the UTA Settings page.
  • Right-click on the name of the relevant template in the left-hand pane and select Properties
  • Within the address displayed it will list the numerical typeid for that Template:

Level 2 Type

In order to determine the typeid of a Level 2 type:

  • Go to the list of Types on the UTA Settings page.
  • Click on the hyperlinked name of the relevant Type in the left-hand pane.
  • The typeid will be displayed at the top of the page, with the caption "Type ID."

LocationofTypeIDMay2014.png

Alternate Method

  • Go to the list of Types on the UTA Settings page.
  • Right-click on the name of the relevant type in the left-hand pane and select Properties
  • Within the address displayed it will list the numerical typeid for that Type (it will be called statusid in the address).
Important: Within the address it will be called statusid rather than typeid.
You should still use typeid when referring to it for Advanced Logic, Visibility Conditions or scripts.

Firefox:

SIFF.png
  • you may have to click into the address and hit the End button on your keyboard to see the statusid portion of the address.

Internet Explorer:

SIIE.png

See Also