setVisible or setDisplay is not working on my Catalog Item after Upgrade to Kingston.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 07:42 AM
I am planning to upgrade my live instance from Helsinki to Kingston. However, i did the first test upgrade in Dev Instance and i found out that the logic below do not work again in forms
1. When i pick no from the option button it will hide the container (personal details)
2. below is my Catalog Script
In addition i use the UI Policy and UI Action but still not working.
This use to work in Helsinki
3. In Helsinki (see below)
How do i go about this?
Hanson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 07:58 AM
HI Hanson,
UI Policy Should Work.
Can you please paste your UI Policy here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 08:08 AM
Hey hansonolatunde
Remove the new value from the first condition, can you change your condition like this and try again,
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading) {
return;
}
if (new value == "no" ){
put your remaining o code here
}
let me know, if it doesn't works.
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 08:24 AM
What i think is may be the containers have a mandatory fields and that's why we can't hide it. I didn't tried but we can check if we make the fields non-mandatory helps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 08:33 AM
Hi Shishir
yes, you are correct if the fields are mandatory then we cant hode the container, what we can do is like We can make the fields mandatory in the Same ui Policy where we are making the Container Visible.