Hi,
I have a use case where I want to execute a script inside a dynamic shape group, the whole group is covered by a "OpenInNewCard" option, to make sure the button is executing the script instead of opening the element card. I've added the "NoCopyElementProperty" option on the button but I still need the element name to pass it in a script input parameter.
Anyone who has an idea to still retrieve the element name together with this "NoCopyElementProperty "?
The need for the element context while not getting an element shape happens quite often. Several questions have been asked as well that point to the same solution.
The solution is to use the "[this element]" placeholder, combining it with the NoCopyElementProperty (or cleaner: AllowInheritance=False) and also add the "ForcePropertyFromParent" option (which forces the this element placeholder to look at the parent's element context).
For more info, please check out this wonderful explanation in our Visual Overview training course.
Thanks, adding the “ForcePropertyFromParent” option did the trick!