You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

transform js function not working while using select many component with SDP

Summary:

transform js function not working while using select many component with SDP

Content (please ensure you mask any confidential information):

define(['urijs/URI'], function (URI) {
'use strict';

   const addQParam = (url, toAdd) => {
        const query = URI(url).search(true);

        if (query.q) {
            toAdd = Object.assign(JSON.parse(query.q), toAdd);
        }
        query.q = JSON.stringify(toAdd);
        return URI(url).search(query).toString();
      };

    class Request {
         /**
          * @typedef {Object} Configuration
          * @property {Object} fetchConfiguration configuration for the current fetch call
          * @property {Object} endpointDefinition metadata for the endpoint
          * @property {function} readOnlyParameters: Path and query parameters. These are not writable.
          * @property {Object} initConfig map of other configuration passed into the request. The

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!