Sam Webster
Created Sep 05, 2023Creating dynamic templates using Invent and MegaEdit | The basics | SRBG_004
In this part of the rapid build series, we'll take a look at Infigo Invent for Indesign, along with MegaEdit products.
MegaEdit products are variable products, with templates configured to allow customisation of products on a vast array of levels. Using MegaEdit, a customer can have complete control over the design of their products.
We'll create a very simple example to demonstrate the fundamental capabilities, but remember this is only scratching the surface! The Infigo Academy contains separate learning pathways, going into much greater detail on both MegaEdit and Infigo Invent for InDesign.
Before being granted instant download access, you will need to provide some information. This is simply so we are aware of who is using our Invent plugin.
Once downloaded, installation is simple. Just follow the steps detailed on the Helpdesk article.
The process consists of:
Download the Invent installation package
Download and install a recommended Adobe extension manager
Install the Invent package via the extension manager
Open Adobe InDesign
Enable the Infigo InDesign extension.

Click below to download a sample InDesign file, to start your Invent and MegaEdit learning!
We will take a look at the fundamentals of configuring a template inside Infigo Invent, followed by a look at how we convert this into a product within our Infigo Storefront.
In our example, we are simply aiming to create one variable image field and one variable text field, to get a general feel for the functionality.

Invent Resources
Resources can be uploaded to Infigo Invent for use in your dynamic product templates.
Resources can take numerous forms, consisting of groups such as:
Clipart
Text libraries
Backgrounds
These resources can be linked to other areas of your Invent template, as we'll discover later.
When you eventually export your Invent file for use in MegaEdit, these resources will be taken with it.

Create a clipart set
Each resource set will have a different configuration of options, however they are all essentially doing the same thing. Resource sets are providing you with a location to upload a selection of items which you will subsequently be able to use on your variable template.

Enter a name for the resource set

Upload clipart images
For this example, upload a selection of imagery from your computer. The choice of images doesn't matter at this stage.

Click the create dropdown checkbox and confirm
Variables are a means of allowing users to interact with our templates. With a product template from Invent, they will usually take the shape of a form which appears to the right of your screen when configuring the product on your Storefront. We will see this later.
Variables come in a number of different forms, depending on the format of the data they hold. They can be manually created, as we will see later, or a simple dropdown variable (where users can select from a dropdown list of options) can be created directly from a resource set.
In this case, for example, it will create a dropdown list on our eventual form which allows us to switch between our uploaded images.

Navigate to the Variables tab

Click Add Variabe
We have already created one dropdown variable directly from our resource set.
Now, we will manually create a second variable. In this case it will be a text input, where users can enter a text string to appear in a specific location on the template.

Click Select on a Text Variable
Numerous variable types are available based on the data you wish them to hold. For this example we wish users to enter a text string to appear on the template, so a Text variable is applicable.

Enter a name for the variable

Enter a default value.
We will soon be linking this variable to a text frame on our template.
Setting a default value is not a necessity, however it will ensure that we don't automatically end up with an empty text box. This will ensure that when this template is loaded and viewed as a MegaEdit product, text is present.
Other options on this screen allow you to input validation and various formatting options.
Each variable type will also have its own set of options. The Infigo Academy contains detailed tutorial learning pathways on both Infigo Invent and MegaEdit.

Click on the image frame within the InDesign file
We have now created resource sets, and linked those resource sets to variables that our end users will be able to control.
Our next step is to link those variables to our artwork, so the system knows what needs to change on the artwork itself when a user changes the variable.
Begin by selecting the image frame located on the provided InDesign file.

Click the Properties tab

Click Enable
All existing elements of the InDesign file are set NOT to be controlled by Infigo Invent by default.
This means that if the template were to be imported into MegaEdit at this stage, the template would be completely static and nothing would be variable from within MegaEdit, even if you've already set up resources and variables.
By enabling frames on your template, you are confirming that Invent will see these as a variable field. As such, numerous additional options will be displayed within the Invent tab when a field is enabled.

Form a link by mapping the image field to your image variable
Locate the mapping options within the Properties tab. Here, you can link the field to a resource or one of your defined variables.
By linking this field to our image variable, it will ensure when the user changes the variable using the MegaEdit form, the image shown on the actual product will also change.

Link the text field to the text variable
Next, we will link our text field to our text variable, so that whatever is populated in the text box (which will be shown on the MegaEdit form) will be displayed on the artwork as well.
Click on the text field.

Enable the text field under the Properties tab

Link the field to the text variable you have already created

Click the Export tab

Specify an export file name and location

Click Start Validations
Invent will begin some validation checks, to ensure there are no discrepancies in your template setup

Repair any validation problems and Export

A MEX file will be created, ready to be imported into Infigo Storefront and to be used via MegaEdit

#
Importing the MEX file into your Infigo Storefront
This will import and set up your MegaEdit product on your Infigo Storefront.
You will immediately be taken to the product details page, where you can configure the product landing page.
As with Stock and other product types seen in previous tutorials, MegaEdit products have a fully configurable landing page.

Further configuration of the product can be performed within MegaEdit.
However, from our Invent file, we can see a form over to the right with two variables.
Changing the image variable will change the image displayed on the product.
Changing the text variable will also update the text displayed on the product.
MegaEdit contains many features that we will not detail in this Rapid Build series. Check the Infio Academy for more detailed tutorials on the use of MegaEdit or Invent.
