IBM Security Verify

 View Only
Expand all | Collapse all

Customizing the salesforce adapter

  • 1.  Customizing the salesforce adapter

    Posted Thu April 13, 2023 01:31 PM

    I would like to "convert" an attribute that is of type picklist  to an ISIM supporting data object.  

    Has anyone done this?

    For example:
    An attribute is defined as a picklist with multiple values in the User object (fields & relationships) as a Picklist.  In the SF gui, the values are shown in a list box (Available), where are person can select multiple and then use the > to move to the a picklist (Chosen), the values are shown.

    I can create this attribute in the schema.dsml as a multivalue and I can see the multiple values returned in the recon as semicolon separated.
    but that is not going to work, first of which it only show the list that of chosen and not available.

    I need to get picklist data in isim to be used as supporting data , how can that be done?




    ------------------------------
    Angela Cook
    ------------------------------


  • 2.  RE: Customizing the salesforce adapter

    Posted Fri April 14, 2023 04:37 AM

    Normally you need to implement an iterator for each piece of supporting data that returns the values on by one. This also needs to be reflected in service.def as supporting data with the necessary changes to the schema.dsml

    I have not looked into the actual code of the SalesForce Adapter - so I do not know how the values are retrieved - I suppose there is some wrapper to the SalesForce API (delivered as a jar ?) that get the data - is the current implementation getting these as part of the account or is this already a supporting single value attribute ? 

    Will somehow need to collect the values and return with their own supporting data class - you should be able to script a loop in the epilogue but there can be other ways depending on how the adapter gets the data (you could also develop your own iterator for the purpose - that may be simpler).

    HTH 



    ------------------------------
    Franz Wolfhagen
    WW IAM Solution Engineer - Certified Consulting IT Specialist
    IBM Security Expert Labs
    ------------------------------