Principles
Content imposition is an extension of the content declination in projects. The specificity is to create a strong link between source and declinations, resulting in automatic synchronizations at each source modification. Info
Note
This functionality is intended for certain very specific cases of content declination. This section will describe a set of functional concepts leading to very specific conditions of use. It is therefore advisable to control them well and be very careful when using them.
Technical requirements for imposition
Content imposition requires the same prerequisites as the content proposal and:
the object to be declined must include the
virtualobject
field (child to the same nature)
...
Note
Any object with the virtualobject
field is eligible for the imposition functionality. If the field value is specified, it indicates that the object is imposed and its source is the pointed object.
Operation
The creation of the strong link between declination is schematized in this way:
...
It should be noted that the English version of Project 3 is not dependent, it is quite possible to impose a declination on certain projects but to leave the declinations free in others.
Configuration
Customizable fields
Updating of project contents is done after modification of the content source via a Wedia core, com.wedia.wxm.database.trigger.SlaveManager
.
...
The properties report is done field by field, so you can apply a tag to a collection field for example. In this case, the elements collections will not be included in the required declinations.
Warning |
---|
CautionIn the case of collections, the application of the tag on an field of the structure in collection is not taken into account: the update of the imposed declinations requires the deletion and re-creation of the set objects the collection. |
Note |
---|
ImportantThe application of the |
Security and modification of objects
The application of the wxm_not_imposed_property
tag has no impact on contribution forms or security.
...
You should also review your safety rules accordingly.
Secure the possibility of imposing
We don’t have a specific security domain to test to know if a user has the right to impose content on a project or not.
...
Initialized by default to true
in the wizardpushcontent
action, you are free to modify it in a personal role/object and to condition its value according to your personal criteria.
FAQ
Can I impose a collector’s item?
...