Solved

Client script functions on search screen


Userlevel 4
Badge +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?

icon

Best answer by Shneor Cheshin 3 May 2023, 01:33

View original

2 replies

Userlevel 6
Badge +26

Hey @Miraj 

I think you need to use getSearchResultDataTableRows

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

 

Cheers!

Userlevel 4
Badge +9

Thanks @Shneor Cheshin 

Reply