Is there a way to condition a behavior based on the screen ID? I would like to easily map and organize my behavior rules per screen.
Regards,
Steven
Hi @Steven Mustari,
Yes, you can make a condition based on screen name or id
//condition based on name
if(getFieldScreen().name == "Screen Name"){
//code here
}
//condition based on id
if(getFieldScreen().id == 1234){
//code here
}
BR,
Leo
Thanks Leo! Exactly what I needed!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.