IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Add extra attributes to infomap response

    Posted 11/25/19 06:50 AM
    Hi Community,

    kindly can you help in if it is possible to add extra attributes to provide more details in the infomap response. If it is possible, kindly let me know how to do it.


    Thanks and Regards,

    Hossam Shebl

    ------------------------------
    Hossam Shebl
    ------------------------------


  • 2.  RE: Add extra attributes to infomap response

    Posted 12/01/19 11:11 PM
    Hi,

    One way to add extra attributes is using MACROS. You can create MACROS for the attributes you want to add and populate its value. For example you can use:

    macros.put("@ATTRIBUTE_NAME@", "This is the attribute value");

    And then in the response, you can get its value through simple HTML or javascript by accessing @ATTRIBUTE_NAME@.

    You can also populate an array for attributes like this:

    macros.put("@ARRAY_NAME@", JSON.stringify(javascriptArrayName));

    and then in the infomap response, you will find a list of values when you display @ARRAY_NAME@ through HTML/javascript.

    Hope it helps.

    Regards,

    ------------------------------
    Jahanzaib Sarwar
    ------------------------------