EXPLAIN usr.addEncodedQuery('');

sonali bhagat
Tera Contributor

EXPLAIN usr.addEncodedQuery('');

1 ACCEPTED SOLUTION

Sohail Khilji
Kilo Patron
Kilo Patron

Dear @sonali bhagat,

 

Here 'usr' - is a Object (i.e it holds the glide record object which you are querying)

addEncodedQuery() - this is nothing but a filter which you want to apply which is encoded. When you right click on listview breadcrumbs and select copy encoded query ( this will be the filter query which you will pass as a value in addEncodedQuery() method. )

 

I hope this is clear 😉


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

View solution in original post

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

Aniket Chavan
Tera Sage
Tera Sage

Hello @sonali bhagat ,

Please take a look at below links once to understand the concept in detail and let me know if you have any further doubt or queries or need any help in the scripting.

 

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks & Regards,

Aniket.

Parth_Poriya
Tera Expert

Hii

 

In usr.addEncodedQuery("") u need to set query which is copied from filter condition which u have copied from table

which is same as addQuery() method

Sohail Khilji
Kilo Patron
Kilo Patron

Dear @sonali bhagat,

 

Here 'usr' - is a Object (i.e it holds the glide record object which you are querying)

addEncodedQuery() - this is nothing but a filter which you want to apply which is encoded. When you right click on listview breadcrumbs and select copy encoded query ( this will be the filter query which you will pass as a value in addEncodedQuery() method. )

 

I hope this is clear 😉


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect