# 8. Policy Builder: What's New

(Home) Previous Next

## 1. Context is Maintained When Switching Actions or Conditions

When you change your action or condition, any entries that you may have had previously that can be carried over will be.

## 2. Numeric Inputs Validated

When Policy Builder asks for an input that has a type of numeric, it will now validate that the input actually is either numeric or is an appropriate DirXMLScript variable (like $variable$ or ~gcv~). These numeric types occur in the Condition Editor, and in the following tokens:

token-char token-dest-dn token-query token-src-dn token-unique-name token-parse-dn token-substring

## 3. NMTOKEN Inputs Validated

When Policy Builder asks for an input that has a type of NMTOKEN, it will now validate that the input conforms to the NMTOKEN standard. This is done in the following places:

if-global-variable if-local-variable if-op-property do-append-xml-element do-clear-op-property do-set-local-variable do-set-op-property do-set-xml-attr token-global-variable token-local-variable token-op-property if-xml-attr

## 4. Browse Application Namespace

Everywhere within Designer where you can browse schema, you can now browse the application schema as well as the eDirectory Schema.

## 5. Insert Tokens in Argument Builder

You can now insert tokens as well as append tokens into the list in Argument Builder.

## 6. Set DirXMLScript Tracing On Multiple Policies

DirXMLScript tracing can now be set on all policies contained in a Subscriber, Publisher, Policy Set, Driver, Library, Driverset, or Identity Vault. This makes setting up your DirXML Script tracing a whole lot easier. Tracing is on by default for everything which can create a lot of clutter in the trace logs that has to be sorted through when you are trying to track down a specific bug. Now, you can set all of the trace to off and then just turn on the trace for a specific item.

## 7. GCV Browser Remembers Context

The GCV Browser will now select the GCV that you entered in the text field when you clicked the browse button.

## 8. Local Variable Selector Shows Error Variables

Error variables that can be set during certain actions are now available in the variable selector.

## 9. Create GCV's On Driver Set or Driver

The GCV Browser now allows you to create GCV's on the Driver or the Driver Set.

## 10. Only Show Driver Scope Local Variables That Are Set In a Policy Used By the Driver

The Local Variable Selector dialog will now parse through the policy linkage and containment looking for local variables that are set with scope=driver. These local variables will then be available in the Driver tab of the local variable selector.

## 11. Policy Builder Title Includes Project Name

When turned on in the preferences, the Policy Builder will display the name of the project before the name of the policy in the title. To access this preference, go to Window -> Preferences -> Designer for IDM -> Policy Builder.

## 12. Long if-then-else Actions Displayed Much Faster

if-then-else actions and do-while's will no longer slow down the performance of Policy Builder.

| Key Bug Fixes & Other Enhancements
| Action Builder - scroll bars show up correctly - Click here for details... Action Builder - scrolling works better - Click here for details... Action Editor - no longer requires class name field - Click here for details... Arg Builder - add token as a child of a verb by default - Click here for details... Schema Browser - only class tab shows when browsing for classes - Click here for details... Schema Browser - only attribute tab shows when browsing for attributes - Click here for details... Token Query - "Scope" entry works properly now - Click here for details... The DTD and associated documentation for DirXML Script are no longer missing the class-name attribute for several actions - Click here for details... The problem of policies sometimes not being saved is now fixed Error occurs when selecting do-if action with down arrow key - Click here for details... Problem with do-if changes to the Then actions are placed in the Else field - Click here for details... Operators missing in if-operation condition - Click here for details... do-send-email-from-template now working properly - Click here for details... Class name field now populated correctly after import from file - Click here for details... Copy and Paste of policies now much more robust - Click here for details...

(Home) Previous Next