With the new email 2.0 editor it is possible to design modules that can be added to the email, in a container. Yet, a user could add in theory an unlimited number of modules to an email, making it too long to be read and too large a file to be quickly downloaded with a low network bandwidth.
This idea is to propose muliple ways to control the number of modules in a container:
- The container should have mktMaxNumberModules attribute that would control the maximum number of modules to be inserted in the container
- Each module could have a mktMaxNumberInstances attribute that would control the maximum number of time this module can be present in the container. If I set this to 1, for instance for hero banner to be insterted only once in the module. But for a Newsletter bulletpoint module, I could set the max value to 4 or 5. Default value = 0 (unlimited).
- Each module could have a ExcludedModulesID attribute that would guarantee that the module could not be present in the container together with other modules. In other term, this would enable to make modules mutually exclusive. For instance, let's say I have 2 different hero modules in the template. This feature would enable to guarantee that someone does not insert the 2 different hero modules in the container together.
-Greg