Automic Workload Automation

  • 1.  How to you programmatically change the Title of an Object?

    Posted Jun 28, 2016 02:49 PM
    Our sAMAccountNames are nothing like our real names, so we use the Title of the USER object to make it easier to find people. When setting up LDAP.Sync I noticed there wan't a handle to set Title to DisplayName. I tried to dig around to see if I could script it, but I haven't found a way to modify the Title. I know I could do it with a SEC_SQLI, but I would really prefer not to.
    Any suggestions?


  • 2.  How to you programmatically change the Title of an Object?
    Best Answer

    Posted Jun 29, 2016 05:24 AM
    Hi Brandon,

    indeed i dont think you can use the Automic scripting language to modify the Title attribute of objects.. One solution could be to use the Java API to do so (if you feel comfortable with Java, find the documentation here: http://docs.automic.com/documentation/AE/11.2/english/AE_API/pages/index.html).

    An alternative solution would be to use the Open-Source CLI available here: https://github.com/brendanSapience/UC4-Automic-AE-CLI-Binary-Repository

    The binary (from that CLI kit) you would need to update titles in USER objects is called: USER_Update.jar, the option u_title would allow you to do just that.

    The github page should contain enough information to guide you thru using the CLI, let me know if something is unclear to you!

    bren