on 10-09-2020 4:15 PM
Hello Experts,
We are currently in the process of setting up our CDC as IdP in integration with a Fiori Cloud Portal (SP). We are working with the default RegistrationLogin screen set. During the registration flow I would like to display a combobox depending on a condition and for that I am trying to use the “Visible When” property.
The condition: is “locale” datafield empty? Expected behavior: If yes, then the user gets a combobox for selecting a language, if the field is already filled then nothing is offered.
The documentation is basically offering one example profile.firstName !==''and with that condition it works good, but something like profile.locale ==='' is not working. After trying many possibilities of the kind:
profile.locale ==''
profile.locale !==''
I come up with the conclusion that is probably not working because the field has absolutely no value for a fresh registered user… and then the field is undefined? then I (useless) try with:
profile.locale ==='undefined'
profile.locale ==undefined
!profile.locale
Then I just give up with profile.locale and try the field “isRegistered” like:
isRegistered == false
Also not working. Each test requires inviting a new test-member and follow the mail -> login-screen flow. Since this takes time it might be quicker if I place here the question:
What would be the best syntax to write into the field “Visible When” in order to make work the expected behavior?
I place here some other (for me not so relevant questions) in case anybody can answer and perhaps help other members of the community:
Thanks, in advance,
Gabriel
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.