I got a tip from Jakub that the side effects of a rule could do it. Set the Rule's activation condition to fire only "On Request" when "Check In Selected" (this means you won't destroy newly-entered comments.) Then go to the Side Effects tab and add the metadata field as a Key, set the Value as empty.
Eureka! It works! Except...
SiteStudio Designer doesn't fire the rules properly so you'll need to enter a custom script to catch revisions of fragments. Add
or IdcService like "ASSIGN_DOCINFO_FORM"
to catch fragments.You beaut, it works! Except...
SiteStudio designer doesn't prompt for metadata on things like Templates. If you want to reset metadata here you'll need to catch the IdcService CHECKIN_UNIVERSAL (without mucking with any other components that use it.)
Crikey, it's a bit of nailing down but... it works!
No comments:
Post a Comment