and more in a single search tool across platforms. Read the announcement here. |
07/13/2023 06:07 AM
Hello,
Would like to ask help with an issue we are facing in implementing HIDE and SHOW for an application .
Currently this is how dynamic attributes are configured for an App
Attribute | AttributeType | Parent Attribute | What action to perform when Parent attribute changes? |
Attribute1 | Enum | blank | blank |
Attribute2 | Single Select query | Attribute1 | Refresh |
Attribute3 | Single Select query | Attribute2 | Refresh |
Attribute4 | Single Select query | Attribute3 | Refresh |
Attribute5 | Single Select query | Attribute4 | Refresh |
We have a requirement to add a new Attribute 6 which should be visible when Attribute2 has certain value . To achieve this we created the following code.
When this code is in place , it does not work as expected . The form kind of freezes . When I add action String in Attribute 1 it works as expected but not in Attribute 2 .
I am not sure if it has anything to do with Attribute2 depending on Attribute1 .
Attribute | AttributeType | Parent Attribute | What action to perform when Parent attribute changes? | Action String |
Attribute1 | Enum | blank | blank |
|
Attribute2 | Single Select query | Attribute1 | Mapping | SHOW###Attribute3###Value1___HIDE###Attribute3###Value2___HIDE###Attribute3###Value3___SHOW###Attribute3###Value4 |
Attribute3 | Single Select query | Attribute2 | Refresh |
|
Attribute4 | Single Select query | Attribute3 | Refresh |
|
Attribute5 | Single Select query | Attribute4 | Refresh |
|
Attribute5 | Boolean | Attribute2 | Mapping |
|
Any help appreciated
07/13/2023 03:44 PM
You can’t show hide based on enum.
change enum to select query example
select 1 as id union select 2 as id
07/17/2023 06:26 AM
We have used ENUM and Hide and Show worked . We are using 5.5SP3 .
Even in the above use case when i use HIDE SHOW for Attribute1 it works but not for Attribute2