Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Hide and Show dynamic attribute query

savuser17
Regular Contributor
Regular Contributor

Hi,

We are trying to hide and show a form field based on Application field. We have tried and tested the show and hide method based on one or two options, however this Application DA has over hundreds of options.

So wondering if it is possible to show only for one application option and write some sort of code to hide for all other application options? Or would we have to write a very long code showing and hiding for hundreds of options?

Thanks in advance

4 REPLIES 4

Raghu
All-Star
All-Star

@savuser17  can you share DA configs


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

savuser17
Regular Contributor
Regular Contributor

Hi,

This is the DA. The code for application retrieval is:

select distinct a.customproperty1 as ID from accounts a where a.endpointkey=493 and a.status=1 and a.customproperty2 in ('Invest','Maintain','Pre-Invest')

savuser17_0-1718030488988.png

As for the second DA, the one that should be shown or hidden based on application value, it's this:

savuser17_1-1718030594384.png

 

Thanks

PremMahadikar
All-Star
All-Star

Hi @savuser17 ,

Long code is the only option to make it correctly work.

 

If this helps, please select Accept As Solution and hit Kudos

rushikeshvartak
All-Star
All-Star
  • Currently regex is not supported. It needs to be exact hardcoded string in show and hide. Please raise idea ticket for same.
  • :light_bulb:For any desired improvements or enhancements to this process, Saviynt encourages you to submit your proposal through Saviynt's Ideas Portal at https://ideas.saviynt.com/ideas/

    Your valuable input is crucial to shaping the evolution of Saviynt systems.

    Please notify us once the idea ticket has been created.

Regards,
Rushikesh Vartak
If you find this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.