/ Forums / Advansys Formativ / Creating Solutions with Formativ / Does Formativ have a way to export address books?

  • Creator
    Topic
  • #10423

    dgerisch
    Participant

    I’m looking for a way to automate the process of opening the Address Book application, picking the non- system address books, and choosing File –> Export –> Entire book (and then deal with the File Save As dialog box).

    I do want to save the address books in the .NAB file format. I’m just making a backup, per person, prior to doing some maintenance. Also, it would be nice to have, that my users could have a one-click address book backup option.

    Essentially, what I would like is:


    Sub Main(Client, GWEvent)

    Dim objAddressBooks
    Dim objAddressBook

    Set objAddressBooks = GroupWise.AddressBooks
    For Each objAddressBook In objAddressBooks
    objAddressBook.FileExportAs(“some_path_and_file_name_i_generate_from_the_address_book_name”)
    Next
    Set objAddressBooks = Nothing

    End Sub

    Can something like this be done with Formativ?

    Thanks!

    • This topic was modified 6 months ago by  dgerisch.

You must be logged in to reply to this topic.