Certification advanced search autocomplete issue

Which IIQ version are you inquiring about?

8.3

Hello Community,

I hope you are doing well,

I have an issue with the advanced search on the Certification Menu:

on the tag bar:

When I type a 3-letter tag (example., IAM), no suggestion appears in the dropdown list. However, when I type a tag with 4+ letters, suggestions do appear.

Do you know where this minimum character threshold is configured (UIConfig or SystemConfiguration)? I’d like to allow autocomplete to work starting from 3 letters as well.

Many thanks,

@torry_salamat

Please try to search just like IAM*.

Hi @sukarande, thanks for your reply,

image

I tried with * and *. but it doesn’t work unfortunately

thank you,

SailPoint will only re-query for tags when the input here is greater than or equal to 4 characters. If you have tags that are less than 4 characters, you can click the arrow to view and page through the tags in the dropdown

2 Likes

In IdentityIQ, tags must be a minimum of 3 characters in length, a 3-character tag (for example, IAM) is valid and searchable once created. According to SailPoint product documentation, tag configuration only defines valid tag length and characters. The documentation does not describe any configuration option in UIConfig or SystemConfiguration to control autocomplete behaviour. As a result, the Advanced Search tag autocomplete triggering at 4 or more characters is a UI-level behaviour and is not configurable.

1 Like

Hello @Yeliazer_08, thank you for your reply,

The documentation link you shared appears to relate to ISC
Do you please have any documentation specific to IIQ that covers this topic?

Thanks in advance,

thanks,

Hello @torry_salamat there is no official documentation for IIQ, as far as I know. I suggest that you look into the following two locations:

\webapps\identityiq\scripts\sailpoint\certification.js

\webapps\identityiq\monitor\scheduleCertifications\viewAndEditCertifications.xhtml

\webapps\identityiq\doc\help\help\search\certification_search.htm

you can find it in webapps/identityiq/scripts/ext-4.1.0/ext-all.js in the doQuery function

3 Likes

@robert-hails do you have a document on this?

@torry_salamat You can achieve this with injecting a javascript function (via plugin) to modify the minChars setting inside the config object before the real ExtJS code ever sees it. Then we pass the modified config to the original ExtJS constructor so the component still builds correctly.

Sample script:

Ext.define('SailPoint.TagSearchOverride', {
    override: 'SailPoint.form.ComboBox',
    constructor: function(config) {
        config = config || {};
        var isTag = (config.suggestType === 'tag') || 
                    (config.datasourceUrl && config.datasourceUrl.indexOf('/Tag/') !== -1);
        
        if (isTag) {
            config.minChars = 3;
        }
        this.callParent(arguments);
            }
});

I have tested this in my instance and is working fine. Please try creating a plugin and try this script.

Note: Found a fix? Help the community by marking the comment as solution. Feel free to react(:heart:, :+1:, etc.) with an emoji to show your appreciation or message me directly if your problem requires a deeper dive.

Hello Neel, is it possible to share the plugin with us? It would be very helpful.

TagSearchFixPlugin.zip (6.6 KB)
@torry_salamat @santhirajumunganda Here is the plugin for your reference. I have only tested it in 8.5p1. Please test it out thoroughly before moving it to your environment and feel free to make any changes based on your use case.

Note: Found a fix? Help the community by marking the comment as solution. Feel free to react(:heart:, :+1:, etc.) with an emoji to show your appreciation or message me directly if your problem requires a deeper dive.

1 Like

Thanks, I will check and let you know

@torry_salamat Please let us know if your issue is fixed after installing this plugin?

Note: Found a fix? Help the community by marking the comment as solution. Feel free to react(:heart:, :+1:, etc.) with an emoji to show your appreciation or message me directly if your problem requires a deeper dive.

I could not find a doc on this, but you can see the code in the .js file I mentioned

1 Like