2 Replies Latest reply on Jun 7, 2013 7:58 PM by dcarreno

    How to search content with Javascript API v3 ?

    dcarreno

      Hi.

       

      I'm trying to use osapi.jive.corev3.search.requestPicker  but  it shows me this error: TypeError: osapi.jive.corev3.search is undefined

       

      This is the code:

       

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

           osapi.jive.corev3.search.requestPicker({success: function(response) {

               var currentSearch = response;

               // Do something with currentSearch

          }})

        });

       

       

      I was able to use osapi.jive.corev3.people.requestPicker and osapi.jive.corev3.places.requestPicker, but not the search.

       

      Has someone used that search static class?

       

      Or do you know another way to have a picker to search content (files or documents) ?

       

      Thanks!