Hi Bart,
Thanks for the information about how Edit+ creates and edits assets. I suspected that it did in a way that it did not activate the trigger.
In this case, the usefulness of the trigger was that I want for the restriction to occur only when the asset is created in specific sections of the site. So blacklisting the option does not work.
I am exploring using conditional keyword replacements to hide the element through Edit+'s CSS.
Something like:
%begin_globals_user_metadata_user.role^eq:ICE%
#ees_assetCreationWizardAssetTypes
.page_standard {
display: none;
}
%end_globals%
I still need to tweak the logic so that it matches user group/permissions and location. And even then, it may not work because they need to still be able to create pages while in a different location. So there is nothing stopping them from start the process elsewhere and then select the location where I donāt want them to create a page.
It looks more and more like one of those things that do not directly transfer from our old CMS to Squiz. So we may need to change business processes to adapt to a hands-down better platform.
The ideal solution would be something that does the check like the trigger does. But I donāt know enough to figure out whether we can or how to influence Edit+'s actions.
Anyway, thanks for clarifying that triggers wonāt āseeā this particular action in Edit+. Iāll keep exploring.
Ben