/ Forums / Advansys Formativ / Formativ Creator / Duplicate addresses

  • Creator
    Topic
  • #3578
    sfranco
    Participant

    Is there a way to centrally to remove the duplicate address entry from all users Frequent Contacts?

  • Author
    Replies
  • #5515
    Support 1a
    Participant

    This is possible technically. You would need to write an applet that used a Trusted Application to log into each account in the system. Once logged in, you would need to access the Frequent Contacts address book and process it for duplicates.

    I hope this helps.

    Advansys Support

    #5516
    sfranco
    Participant

    Is there an exiting example out there that i can use?

    #5517
    Support 1a
    Participant

    We don’t have an example. However, you need to carry out the following steps:

    Create a Trusted Application Object

    Use GroupWise.CreateTrustedApplicationObjectEx() to obtain a trusted application key. You need to protect the key, as it provides access to your GroupWise system. Search for ‘CreateTrustedApplicationObjectEx’ in the Language Guide for details.

    Set the Credentials

    You need to tell GroupWise you are about to use the Trusted application key by calling GroupWise.Session.SetTrustedApplicationCredentials(). You pass it the application name and key used/obtained by CreateTrustedApplicationObjectEx() above.

    Login to the Account

    Use the Object API to access the account. You need to use the Multilogin to get an account object:

    set oAccount = GroupWise.Session.Multilogin(“UserID”, “”, null, fgwNeverPrompt, null)

    Once you have the users account object you can locate the appropriate address book and perform the appropriate tasks. This is all done via the GroupWise Object API, which is beyond the scope of what can be explained here. Have a look at http://developer.novell.com/ndk/doc/gwobjapi/gwobjenu/data/hyfolkga.html as a starting point.

    I hope this helps.

    Advansys Support

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.