It's all about the answers!

Ask a question

HTTP filtered based value set not retrieving the values in the combo box

Shwetha G (60231) | asked Dec 15 '16, 12:29 a.m.
Hello Team,

I am new to RTC attribute customization. I was trying the HTTP filtered based value set on one basic example :


(function() {
var HttpConnectorParameters=;

dojo.declare("org.example.workitems.providers.CDCatalogValueSet", null, {

    getFilteredValueSet: function(attributeId, workItem, context, filter) {

        var params= new;
        params.url= "";
        params.xpath= "//CD";
        params.columnXpaths= ["./ARTIST"];
        params.columnIds= ["ARTIST"];

        var connector= context.getDataConnector("HttpConnector");
        var values= connector.get(params);

        var result= [];
            var entry=;
            var title= entry.getById("ARTIST");
            if (title.indexOf(filter) > -1) {

        return result;

I have also created the attribute with Medium HTML datatype. but when I see in the UI, I see the empty dropdown with no values, it displays "retrieving". however there are values in

Could you please assist me on this.

Shwetha G commented Dec 15 '16, 12:38 a.m. | edited Sep 04 '17, 3:02 p.m.

Sorry to Correct : am using "Script based value set" instead of "HTTP filtered based value set"

Be the first one to answer this question!

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.