I am trying to disable the functionality of being able to click on a certain object/Template in the designer. I don't see any Properties to help me with this kind of function. Can anyone assist with an idea of scripting or etc to help me with this?
Is this Possible?
What kind of object are you trying to prevent a click on? And I'm presuming this is in Vision since you mentioned templates.
If it's a standard input component (button, numeric input, etc) you can use the enabled
property to control when it's active.
If you're trying to prevent an event handler on a component from firing, there are a few ways you could go about it. I'd probably wrap the event handler script in a conditional so it only fires if that condition is met. e.g. if user has role x, do y
.