SOW - How to exclude "Pre-approved" templates from displaying under "All" filter.

Sujatha V M
Kilo Patron
Kilo Patron

Hi Team, 

 

I'm trying to exclude the "Pre-Approved" templates from the select change page on the SOW. 

 

I have identified the filter conditions and the data sources linked to it but how unable to exclude those templates from "All" filter and display other models. 

 

SujathaVM_0-1726508805517.png

Kindly share the approach or idea work on it, to proceed further. 

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.
3 REPLIES 3

Gangadhar Ravi
Giga Sage
Giga Sage

Hi @Sujatha V M 

 

You may need to create copy for that variant and then update below script.

 

GangadharRavi_0-1726510784276.png

 

you also maybe need to check components under this repeater and see if any of those need to be updated.

 

GangadharRavi_1-1726510938682.png

Please mark my answer correct and helpful if this works for you.

Thank you for the response @Gangadhar Ravi . 

I have already explored the above steps mentioned by you. I’m working on the clone copy of it. 

In data sources, Get card details has the default filter as “All” using the client script “Transform initial data” .

 

I’m facing the issue to exclude this preapproved from “All” filter and unable to find the link or not getting the right path. 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

@Gangadhar Ravi  Just sharing the details!

 

All the filter configurations are retrieved from the script include "SowChangeCardsSNC" and we have the script include "SowChangeCards" for customization point. 

 

I had modified the filter "allCards" not to concatenate standard pre-approved changes. 

 

If the filter is selected as "All"

SujathaVM_0-1726560564813.png

 

If the filter is selected as "Preapproved"

SujathaVM_1-1726560611045.png

If the filter is selected as "Pinned"

SujathaVM_2-1726560633897.png

 

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.