Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

How to reference list applet columns in Open UI js

edited Nov 30, 2018 12:46AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 1 commentAnswered

Hello,

We have some JS that is used by one of our form applets. This is working fine. Here is a snippet from our PR:

...

                var stLocation = ac_controls["OAK Location Desired"];

                $("[name='" + stLocation.GetInputName() + "']").autocomplete({

                    source: function (request, response) {

                        $.getJSON("http://webqa1.oakwood.com/action/oakwood/search/locationSuggestion?location=" + $("[name='" + stLocation.GetInputName() + "']").val(), function (data) {

                            response($.map(data, function (item) {

                                return {

                                    label: item['label'],

                                    value: item['value']

                                };

                            }));

                        });

                    },

                    select: function (event, ui) {},

                    minLength: 3,

                    delay: 300

                });

...

When we try to use the same js for our List Applet, the list applet does not load. The list column is named the same. Am I missing something?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center