Text Library Resource Set

In this tutorial, we will learn how to create and utilise Text Library Resource Sets.

This resource type allows you to pre-define text string options. These could be used, for example, to allow the selection of specific addresses or telephone numbers.

adobe

  1. 1. To begin, create a new resource set with Add Resource Set

    To begin, create a new resource set with Add Resource Set
  2. 2. Click Select on the Text Library resource

    Click Select on the Text Library resource
  3. 3. Type a name for the resource set

    Type a name for the resource set
  4. 4. Manually enter resource entries

    Both Key and Text are required for each entry into the Resource Set.

    The Key is what will be displayed in the form within MegaEdit, whereas the Text field contains the content to actually be utilised on your product.

    Manually enter resource entries
  5. 5. Click Add New Text

    Click Add New Text
  6. 6. The text resource has been added to the resource set

    The text resource has been added to the resource set
  7. 7. Uploading text resources

    Text resources can be uploaded from a CSV file. Th CSV requires a very simple format, with two column headers named Key and Text.

    Click Upload and select an appropriate CSV file.

    Uploading text resources
  8. 8. Data is loaded in from the CSV file

    The order can be changed, if desired. Also, each entry can individually be deleted or edited after import.

    Data is loaded in from the CSV file
  9. 9. All text resources can be downloaded in CSV format

    All text resources can be downloaded in CSV format
  10. 10. Select the check box shown below to automatically create a dropdown variable linked to this resource set.

    This is optional. Variables can be created and linked separately, if required.

    Select the check box shown below to automatically create a dropdown variable linked to this resource set.
  11. 11. Click Save to confirm the text library resources

    Click Save to confirm the text library resources
  12. 12. Click properties

    Next, we will link our newly created variable to one of our text frames.

    Click properties
  13. 13. Select the text frame of interest

    Select the text frame of interest
  14. 14. Enable the text frame to make it dynamic and configurable from Invent

    Enable the text frame to make it dynamic and configurable from Invent
  15. 15. Navigate to the text mapping options and select the Variable type

    This allows us to create a direct link to any of our created variables (only variables suitable for this field will be shown)

    Navigate to the text mapping options and select the Variable type
  16. 16. Select the variable linked to our text library resources

    Select the variable linked to our text library resources
  17. 17. Navigate to the Export tab and generate an MEX file from our Invent template

    Navigate to the Export tab and generate an MEX file from our Invent template
  18. 18. Import the MEX file into your MegaEdit product

    Import the MEX file into your MegaEdit product
  19. 19. Launch your MegaEdit editor for this product

    Launch your MegaEdit editor for this product
  20. 20. A dropdown is available, displaying your input Key fields. When selected, the Text field content will be shown in the text frame on the canvas

    A dropdown is available, displaying your input Key fields. When selected, the Text field content will be shown in the text frame on the canvas