cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

API to read structure filter definition

HelesicPetr
21-Topaz II

API to read structure filter definition

Hello community gurus,

 

Have you ever found an API to get structure filter definition?

I haven't been successful.

 

I need to read the structure filter definition in my own table but I can not find any possibility to do it till now.

 

Any help or hint is appreciated

 

PetrH

 

HelesicPetr_1-1670941464400.png

 

 

 

4 REPLIES 4

Hi,

you can have a look "NavigationCriteria" object and related methods:

 

Fetch Navigation Criteria:

NavigationCriteria navigationCriteria= NavigationCriteriaHelper.service
.getNavigationCriteria(filterName);

 

navigationCriteria.getConfigSpecs() and find the one with WTPartConfigSpec.

 

Cheers,

Xolomon

Hi @xolomon 

Thank you for your replay.

 

I know the NavigationCriteriaHelper but I haven't found a way how to read actual user's settings from the Structure filter 

 

I will check it tomorow. 😄

 

PetrH

Hi @xolomon 

 

The NavigationCriteriaHelper.service can return saved filters. I can not find the actual settings which could be modified by user any time. 

I can list all saved filters and get configSpecs for filter by name, but it is not what I need. 

 

I would get actual settings that is read in a configure wizard. But I'm not able to locate where the filter specification is read and by what API.

 

HelesicPetr_0-1671007495324.png

 

PetrH

I just add a example 

A custom table in custom tab should shows tree based on Structure filter, but I can not find a way how to get the settings of actual filter settings in the TreeDataHandler or TableBuilder.

 

as a workaround I use an own lifecycle filter but I would like to know to get the structure filter.

 

HelesicPetr_0-1671096237963.png

 PetrH

Top Tags