I'm trying to use one form to cater for two brands. I'd like to be able to alter the brand (theme, colours etc) based on the url.
is this possible?
I know I can publish the form twice, but that presents some other challenges. I'd prefer to use one form and add some dynamic behaviour.
We are currently using Composer, but Maestro will be available soon, so either solution may be workable.
By mounting the form twice on Transact Manager, you can have two URLs to two different brands, identified by URL parameter. This is a superior solution, as each form payload only includes the data for one brand (optimisation, administration and obfuscation from a client point of view)
If the overhead associated with publishing is an issue, please consider that Composer templates can be set up to automatically publish each time to both brands automatically. To set this up, you need a dedicated template which references both brands, and your form needs to be built on this template (or imported into it).
You can take advantage of this feature by adding the following content to your template:
<variant name="Alpha" label="Brand Alpha" technologies="html-desktop,html-receipt">
<stylesheet name="Brand-Alpha" category="Brand"/>
<variant name="Beta" label="Brand Beta" technologies="html-desktop,html-receipt">
<stylesheet name="Brand-Beta" category="Brand"/>
The result of this is that when you hit publish in Composer, there will be a checkbox selection which brands you wish to publish. On redirect to TM and successful import you will be presented with a table of published forms, each row showing a link to edit the configuration.
that sounds like the best option. I'll explore that further.
This is not currently possible, but is something we are looking at for Maestro 5.1.
Thanks for the reply Tim.
I'l keep an eager eye on this.