The component I was trying to hide is on a page that is a Slider Panel. This added some nuance… I discovered that the issue was not with the Set-Property action, but when I was trying to call it.
-
Immediately before a Slider-Open action - FAIL - The Set-Property action seemed to execute but had no effect. The component I was trying to hide probably wasn’t instantiated/created yet.
-
Immediately after a Slider-Open action - FAIL - The Set-Property action didn’t execute until the Slider Panel was closed.
-
OnCreate on a component that is on the same page as the component I am trying to hide - SUCCESS
A bit of a hack, but it works.