-
What I did:
What happens:
What I'm trying to achieve:
Is there anyway to do it? (Preferably via a Setup Recipe with a note that I don't know the name of the content definitions, I want to add all) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You'll need to do some coding for this, if the goal is to have all content types selected there, past and future, and you don't know their names in advance. Some pointers (look at the source code of Audit Trail by cloning the OC repo): these are stored in |
Beta Was this translation helpful? Give feedback.
You'll need to do some coding for this, if the goal is to have all content types selected there, past and future, and you don't know their names in advance.
Some pointers (look at the source code of Audit Trail by cloning the OC repo): these are stored in
ContentAuditTrailSettings
. You update them from the UI usingContentAuditTrailSettingsDisplayDriver
. You could implement anIContentDefinitionEventHandler
and inContentTypeCreated
updateContentAuditTrailSettings
.