ZENworks Lookup

Using the look up features of eDirectory you can look up the computer using the User, or look up the current user by using the configuration item name from a window in Console.

We strongly recommend that you do the following only if you are an advanced user. To access the handlers you need in Console, you must modify the console.exe.config file, then add the following lines:
<add key="ShowHandlerConfiguration" value="True" />
<add key="ConfigureHandlers" value="True" />
You then need to restart Console.
We strongly recommend that after you have modified your windows, that you remove the handler entries from the console.exe.config file.

You need to:

To modify a window for ZENworks lookup:
  1. Start Window Manager, and open the required window.
  2. Expand the Controls tree.
  3. Click Button and then click on the window workspace.
    The button is added to the window.
  4. With the button selected, expand the Properties grid, and alongside Handlers property, click .
    A dialog appears.
  5. Expand the eDirectoryLookup branch.
  6. Add eDirLookupButtonEnable(IClientButton) and WorkstationLookup(IClientButton) to the Configured Handlers list, then click OK.
  7. Alongside the Text property, type a name for the button, for example Lookup Computer.
  8. Resize and position the button as required.
  9. Add another button to the window, and this time, expand the eDirectoryLookup nodes, and select eDirLookupButtonEnable(IClientButton) and UserLookup(IClientButton).
  10. Alongside the Text property, type a name for the button, for example Lookup User.
  11. Resize and position the button as required.
  12. Click to save the changes you have made.

The next stage is to configure the runtime handlers that you have added to the Incident window.

Before you configure the handlers, ensure that you have created connections and connection types to eDirectory. For information about creating connections and connection types, see the Administrator Guide. You must also ensure that you have imported the relevant users and computers, and that the eDirectory distinguished name is contained within the relevant attribute.

To configure the runtime handlers:
  1. In Console, start the Event Handler Configuration component.

You may have to add this component to your shortcut bar as it is not a commonly used component.

The Runtime Handlers tree lists all of the runtime handlers that you are using. The items that appear here may be different to those shown as you may not use all or any of the runtime handlers.

  1. Expand the Touchpaper.Client.ApplicationLogic.eDirectoryLookup.eDirectoryLookup folder.
  2. Expand the eDirLookupButtonEnable folder, then double-click the name of the window that you added the buttons to.
    The eDirectory Lookup Configuration property grid appears.

  1. Set the following values:

User Module – the name of the data connector that you have created. For example, eDirectory.

User Form ControlUser. You can select other identifying attributes if required, but you must ensure that they are unique attributes on that window.

User Business Object Type – the relevant User Type.

User Attribute – the attribute that you are going to search on. For example, Title. Again, this attribute must have the distinguished name from eDirectory contained within it.

Workstation Module – the name of the data connector that you have created. For example, eDirectory.

Workstation Form ControlConfigurationItem.

Workstation Business Object TypeConfiguration Item. You could also select Asset or Service depending upon your configuration.

Workstation Attribute – the attribute that you are going to search on. For example, Title. This attribute must have the distinguished name from eDirectory contained within it.

Show Diagnostic MessagesTrue or False depending upon whether you want to show detailed error messages or not.

In an eDirectory tree, each object's name is referred to as its Relative Distinguished Name or RDN. The value of the RDN is equivalent to the value of the object's naming attribute, which is determined by the object's expanded object class definition.

  1. Click .

You can now use eDirectory Lookup from the window that you modified earlier. For example, the Incident window.