Subject: Shared Actions - best practices? improvements to inheritance in 8?
I had the same problems, here is my interpretaion of how it works and how I worked around, it
Scenario, Updated Mail6.ntf/inotes6.ntf by updating standard notes actions and actions create for the applications.
MY INTERPRETATION OF HOW IT WORKS
I think shared actions are added to Forms/Views by some DOCUNID that each design element has in the Design collections.
So when a Shared Action is DELETED and reAdded, this UNID connection is lost. (The designer tries to keep a copy of the old action and this ends up like a LOCAL action from that point on)
If a new User defined action is deleted, Then in the Forms/Views design information, there is an empty link pointing to the Shared action deleted and Designer finds the closest Action it can repopulate with and this links to some other totally unrelated action.
MY SOLUTION
NEVER delete a shared action to update it, UPDATE the code directly in it.
I had to use inheritance and also these changes had to be inheritable in other Clients mail template
I created a working template by copying the Mail Template,
Then in my working template, I made the changes directly to existing shared actions.
I added the new Shared actions
I then linked the New Shared actions directly to the target forms/views
Now inheritance also works.
Just remember the key point, ONCE A SHARED ACTION IS USED IN ANY DESIGN ELEMENT, IT CANNOT BE DELETED TO UPDATE THE UNDERLYING CODE.