Need to return latest version of custom table sop without using latest flag

Arka Banerjee1
Tera Contributor

Hi Team,

 

I need to return only the latest version in the search results of this portal for the records displayed. Cant use latest flag due to some restrictions. Please suggest. Please note that the search should return any general records as well matching the search key, here in the SS, I searched with the exact title.

 

ArkaBanerjee1_0-1776341431741.png

Below is the search Source

 

ArkaBanerjee1_1-1776341477035.png

 

@Ankur Bawiskar Please help

2 REPLIES 2

palanikumar
Giga Sage

Hi,

Since this is custom table, it is difficult to give recommendation. 

I can see two possible option:

1) Create a field that says whether the current record is the latest version. This has to be automatically populated. Add condition based on this field

2) What is the size of the table? If it is reasonable then create a dynamic filter (should be less than 10,000) that gets the latest version of each record and can be used as filter

Thank you,
Palani

I cant create a field to mark latest as I said. Could you please suggest a way apart from that., like elaborating the dynamic filter suggestion that you mentioned. Thanks!