How to configure suggestId for sp-object-suggest

Hello Experts,

I referenced the Kitchen Sink Plugin, it provide a angularJS directive for sp-object-suggest:

<div id="maSelector" sp-id="maSelector"></div>
      <sp-object-suggest id="testingObjectSuggest4"
             sp-object-suggest-lookup-id="maSelector"
             sp-object-suggest-id="maSelector"
             sp-object-suggest-class="sailpoint.object.ManagedAttribute"
             sp-object-suggest-context="Global"
             ng-model="ngModel.ma"
             sp-object-suggest-limit="5"
             sp-object-suggest-label="This is a test managed attribute selector"
             sp-object-suggest-help-text="This is the help text fore the managed attribute selector"
             sp-object-suggest-editable="true"
             sp-button-aria-label="Managed Attribute Selector"></sp-object-suggest>
 <br/><br/>

I have also add ManagedAttribute into SystemConfiguration: suggestObjectWhitelist; so it’s working good now:
image

Now I would like to add selector filter logic similar to the IdentitySelectorConfiguration. But I don’t know where/how should I configure this? Any idea how can we achieve this? Also, I would like to have this for Identity, Bundle and ManageAttribute.

Thanks and Regards,
Mike

The IdentitySelectorConfiguration maps the “suggest” ID to a specific filter. Try adding a new in your IdentitySelectorConfiguration which contains the desired filtering logic:

<entry key="testingObjectSuggest4">
  <value>
    <IdentityFilter ...>
    ...
    </IdentityFilter>
  </value>
</entry>

See also:
https://community.sailpoint.com/t5/IdentityIQ-Wiki/Customizing-Identity-Select-Lists/ta-p/72196

https://community.sailpoint.com/t5/IdentityIQ-Forum/How-to-find-IdentitySelectorConfiguration-in-each-UI/m-p/176700#M141691

1 Like

Hello @paulo_urcid ,

Thanks for your reply, may I know what’s the case for ManagedAttribute and Bundle Suggest, does it also using the same IdentitySelectorConfiguration? or there is something else?

Thanks and Regards,

1 Like

Hi @paulo_urcid,

How to change behavior of Identity and ManagedAttribute search in sp-object-suggest? I need the search to be wild card, but currently it is just searching based on initial letters.
Say, I have two ManagedAttribute or Identity
AB
BA

If I A, both should come, but currently it is just searching A instead of showing both