locked
Show Search bar by default on browse screen in html client RRS feed

  • Question

  • hi,

    is there a way to ensure that the search bar shows when the browse screen is opened? instead of having to click on the 'search' button in the footer.

    MrP

    Wednesday, May 13, 2015 4:38 PM

Answers

  • Each screen Entity has a .showSearch() method. So, on your "created" method :

    myapp.myScreen.created = function (screen) {
    screen.myEntity.showSearch();
    };
    That should do it :)

     
    • Marked as answer by mrP Thursday, May 14, 2015 6:21 PM
    Thursday, May 14, 2015 9:25 AM

All replies

  • HI MrP,

    You can consider using this 'search' button:

    It shows like this:

    Hope it helps.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, May 14, 2015 9:14 AM
  • Each screen Entity has a .showSearch() method. So, on your "created" method :

    myapp.myScreen.created = function (screen) {
    screen.myEntity.showSearch();
    };
    That should do it :)

     
    • Marked as answer by mrP Thursday, May 14, 2015 6:21 PM
    Thursday, May 14, 2015 9:25 AM
  • thanks,

    funny, first screen did not have the option, but i added it anyway and it works.

    the other 2 screens did have the option - maybe intenseness was being slow...

    mrP

    Thursday, May 14, 2015 6:21 PM