Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Any specific behaviour in the case of creation at the same time that a project from a template will have to be implemented in an TriggerBusinessService of the media object.

From a brief

type

value = 2
Indicates that project creation will result in export of a model in a support

channel

(not obligatory) the application will assign by default the channel of this type if you don’t mention it. This type is present to simplify the use of the creative review channel, the search and ranking of a certain type of project, as well as the development of facets. It does not, by default, trigger any of the following additional processing than a project without mediatype.
The result will be similar to inserting a project without type on the channel creative review.

...

Code Block
final CTSurfer surfer = ... ;
....
final IObjectReadOnly sourceProject = .... ;
...
final CTObjects factory = new CTObjects();
factory.JSPLoad("media", true);
final IObjectWritable newProject = factory.create();
newProject.setProperty("name", "test");
newProject.setProperty("type", "4"); // from model;
newProject.setProperty("channel", "8"); // print / brochure;
newProject.setProperty("project", sourceProject.getIdentifiant().toString());
newProject.setProperty("mediagroup", "1");
....
final String newProjectId = newProject.JSPSave(surfer);
Info

The duplicate button in the back-office and JSP clone.jsp have been customized for the media object in order to redirect to a project creation form of this type.

IWxmFactory and IWxmProjectManager

...

  • Users 3 and 54 will be assigned to the project with their default roles.

  • user 5 will have role 10 on this project (regardless of its default role)

  • User 10 will have role 4 on this project (regardless of its default role)

  • previously assigned users will have their rights revoked

Tipinfo

If you don’t want to touch the subpoenas, you can leave the empty users fields when making changes.

...

You will be able to use this information in security rules.

...

For performance reasons this denormalization is not automatic and must be activated by the securityDenormalizeUserRightsInSurfer property in the configuration of the WXM_MediaCore plugin.