Using Ecmascript In Policies; Creating An Ecmascript Object - Novell POLICY IN DESIGNER 3.5 - 09-18-2009 Manual

Policies in designer 3.5
Table of Contents

Advertisement

Using ECMAScript in Policies

1 1
ECMAScript is a scripting programming language, standardized by Ecma International. It is often
referred to as JavaScript* or JScript, but these are actually implementations of ECMAScript.
Identity Manager supports ECMAScript. ECMAScript objects are resource objects that store
ECMAScripts. The ECMAScript is called through a policy to provide advanced functionality that
®
DirXML
Script or XSLT style sheets cannot provide.
Identity Manager uses the ECMACScript objects in two different ways: to create a custom form in
the provisioning request definition editor, and to call an ECMAScript function in policies. For more
information on custom forms, see
idm35/dgpro/data/prdefcreateformschapter.html).
This section explains how to use the ECMAScript editor, how to use ECMAScript with policies, and
how to use ECMAScript with custom forms. It does not explain the ECMAScript language. See the
ECMAScript Language Specification (http://www.ecma-international.org/publications/standards/
Ecma-262.htm)
for information on how to use the ECMAScript language.
Section 11.1, "Creating an ECMAScript Object," on page 175
Section 11.2, "Using the ECMAScript Editor," on page 176
Section 11.3, "Examples of ECMAScripts with Policies," on page 184

11.1 Creating an ECMAScript Object

ECMAScript objects can be created in a library, driver object, Publisher channel, or Subscriber
channel.
1 In the Outline view, right-click the location to create the ECMAScript object, then select New >
ECMAScript.
2 Specify the name of the ECMAScript object.
3 Select the check box for Open the editor after creating the object, then click OK.
4 Click Yes in the file conflict message to save the ECMAScript object.
Creating Custom Forms (http://www.novell.com/documentation/
Using ECMAScript in Policies
11
175

Advertisement

Table of Contents
loading

This manual is also suitable for:

Designer for identity manager 3.5

Table of Contents