Determining useable parameters - ParameterFilterElement

Determining useable parameters - ParameterFilterElement

kevin_fielding
Advocate Advocate
505 Views
1 Reply
Message 1 of 2

Determining useable parameters - ParameterFilterElement

kevin_fielding
Advocate
Advocate

Good morning all, 

 

I'm looking for someone to steer me in the right direction if possible

 

When creating view filters via the dialog box, not all parameters are available to the users. I want to create filters programmatically, is there a way to determine through the api which parameters are useable by the ParameterFilterElement so I can present a list to the end user similar to that within the dialog box?

 

The only method I can think of is creating a filter and using the AllRuleParaemtersApplicable method, however this seems particularly inefficient. 

 

Thanks in advance,

 

Kevin

0 Likes
Accepted solutions (1)
506 Views
1 Reply
Reply (1)
Message 2 of 2

kevin_fielding
Advocate
Advocate
Accepted solution

I've found the ParameterFilterUtilities class contains the method GetFilterableParametersInCommon, 

 

Hopefully this will suit my needs. 

 

K

0 Likes