B.4 idmUtil.xsl

Template

Description

IdmUtil.ItemPropertyTable

Shows a table of values for the current Item. Depending on the item, it might filter attributes.

Parameters:

  • title - Title text.

  • description - Description text.

  • showEmpty - Show empty values. The default value is False.

IdmUtil.StartOptionPropertyRow

Shows the appropriate icon and text for the startup option on the current Item. (0 = Disabled, 1 = Manual, 2 = Auto)

Parameters:

  • propertyName, propertyValue, border

IdmUtil.ItemNumbering

Gets the current item numbering in context to the Designer source (such as "2.4.5.2."). This template helps centralize what should be counted in the numbering process because several places reuse this information.

IdmUtil.ItemText

Based on the XSI type, returns text for the type, followed by a colon and the name value (for example, Identity Vault: my vault 1)

IdmUtil.ItemType

Returns text representing the type of the current Item (such as Identity Vault, Domain, or Driver Set)

IdmUtil.PolicySetPropertyRow

Builds a property row with a list of the policies based on the next policy value.

Parameters:

  • policy - Root policy of the policy set, passed by attribute name (such as mappingPolicy).

  • label - Label for the displayed value.

  • emptyLabel - Text to show if the value is empty. The default value is (none defined).

IdmUtil.PolicySetLinks

Returns a list of policy set links, called recursively.

Parameters:

  • xsiRootPolicyHref - Root policy of the policy set.

IdmUtil.ConfigValuesTable

Shows a Config Value table for the given XML.

Parameters:

  • title - Title text.

  • description - Description text.

  • xml - XML value to use to create the table.

  • border - Border used for the table. The default value is 0.5pt solid black.

  • emptyLabel - Text to show if the value is empty. The default value is (none defined).

IdmUtil.FilterTable

Shows a Filter table for the given XML.

Parameters:

  • title - Title text.

  • description - Description text.

  • xml - XML value to use to create the table.

  • emptyLabel - Text to show if the value is empty. The default value is (none defined).

IdmUtil.showSyncIcon

Show an Identity Manager sync icon based on input type and sub-type.

Parameters:

  • type - Type is pub, sub.

  • sub-type - Sub-type is "", sync, ignore, notify, reset.

IdmUtil.ValueOfReferencedItem

Returns the value of the node given the XSI expression. When extracting the name of an item, you should use the Format.BasicLinkToReferencedItem method so that the text is created as a link inside the document.

Parameters:

  • xsiHref - XSI value of referenced node.

  • suffix - Suffix to append before selecting (the default is the current node). The default value is "."

IdmUtil.ItemCustomIconFileName

Get the custom icon filename for the given GUID.

Parameters:

  • guid - The item's GUID

IdmUtil.ShowIManagerIcon

This method is for backwards compatibility. Use IdmUtil.ShowIcon instead.

IdmUtil.ShowIcon

Shows the icon for the current Item. This first checks the cusomIconURI for a referenced image, then builds to a generic path based on the type attribute (for Drivers and Applications).

Parameters:

  • image-width - The image width to use. The default value is 49px.