Using Custom Notes Fields in IDM

Using Custom Notes Fields in IDM

Problem



A Forum reader recently asked:



"Our Notes admin has created a custom/user-defined field in his Notes database that I would like to access/use/work-with in IDM. If the Notes field name is "LocationID", how do I access this within IDM, since it does not appear in the "schema mapping area"? (The field is a 3-digit numeric value that defines a specific location, and each location has its own 3-digit number.)



Can anyone provide advice / code examples on referencing this custom Notes field and using an 'If LocationID=101 then do' type of operation?"



And here's the response from Novell's Perry Nuffer ...



Solution



There are many ways to accomplish your task. Most of the ways use relatively simple methods of data translation and manipulation that are built into your driver configuration, using the existing Identity Manager policy tool set. These tools are esy to use when you understand how data flows between the Idnetity Vault and an application.



Check here for more details: http://tinyurl.com/25rhl4



Given your description so far, there are still too many unknowns. Questions that can narrow your approach to the solution are:



  • What is the origin of the LocationID data?

  • Is it stored in the Identity vault?

  • Does the field need to be synchronized on the subscriber channel, publisher
    channel, or both?


Adjusting the driver filter and schema map may be your easiest solution, and you may not even have to implement any other specialized policies. You may also be able to easily leverage DirXMLScript's do-reformat-op-attr to get the job done.



Below is an example of a specialized policy. In the policy, the Identity Vault Location 'L' attribute with value of 100 within eDirectory is set as the "Location ID" field within Lotus Notes. Also note that the arg-value is of type "int" instead of "string". This should allow the value to be stored in the Notes database as a number instead of a text string (as per your
original post).



<rule>
<description>Set Notes user's LocationID field</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
<if-op-attr name="L" op="equal">100</if-op-attr>
</and>
</conditions>
<actions>
<do-set-dest-attr-value class-name="User" name="LocationID">
<arg-value type="int">
<token-op-attr name="L"/>
</arg-value>
</do-set-dest-attr-value>
</actions>
</rule>
Labels (1)
Tags (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2007-04-25 13:30
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.