3 Replies Latest reply on Apr 15, 2015 11:41 PM by shipra

    Can we change the default tab of user picker?

    shipra

      Hello,

       

      I am using the following OSAPI call to get the user picker popup in my app:

       

      $("#btn_user_picker").click(function() {

          var callback = function(response) {

        alert("callback"+callback);

            var users = getUsersFromResponse(response);

            renderUserTable(users);

          }

          osapi.jive.core.users.requestPicker({success: callback, multiple: isMultipleSelected() });

        });

       

      I get the following result:

       

      The call in the networks is:http://<jiveurl>/user-autocomplete-modal.jspa?multiple=false&canInvitePartners=false

      Capture.PNG

       

      I want to make following my default tab.

      I see the call when I choose following is:http://<jiveurl>/apps/user-autocomplete-modal.jspa?view=connections&showAddressbook=false&multiple=false&canInviteP…

       

      I have tried passing 'view' as a query param but nothing happens.

          osapi.jive.core.users.requestPicker({success: callback, multiple: isMultipleSelected(),view:'connections' });


      Can this be done form OSAPi or any CSS way of doing this?