Skip to main content
Solved

Client script functions on search screen


Forum|alt.badge.img+9
  • Sidekick (Partner)
  • 59 replies

Hi Experts,

I have a search type screen,
 



On it I am trying to invoke a client script via a button. But the script does not seem to pick the the rows of the resultnt search.

 


Is this expected, or am I missing something?

Best answer by Shneor Cheshin

Hey @Miraj 

I think you need to use getSearchResultDataTableRows

var rows = getSearchResultDataTableRows();
if (size(rows)> 0)
{
   Do Something ...
}

 

Cheers!

View original
Did this topic help you find an answer to your question?

2 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1172 replies
  • Answer
  • May 2, 2023

Hey @Miraj 

I think you need to use getSearchResultDataTableRows

var rows = getSearchResultDataTableRows();
if (size(rows)> 0)
{
   Do Something ...
}

 

Cheers!


Forum|alt.badge.img+9
  • Author
  • Sidekick (Partner)
  • 59 replies
  • May 3, 2023

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings