How It Works

Create a Lime CRM Template

To be able to fetch rows from a subtable you need to add a table with a header to your Word- or Excel template in Template Manager. Design your table as you want with colors, columns and fonts. You must create a Table Template for Lime to know how to use the template.

image image

Create a Table Template

Add the basic configuration

  1. Display name = The display name under the Template button.
  2. Main card = Choose which card the template should be visible on (In the dropdown).
  3. Not based on a main card = Makes it possible to use the template from a tab instead of a card, for example from the main window and export all articles.
  4. Template type = Choose what kind of document type you want to create, e.g Word or Excel.
  5. Template from Template manager = Choose the template you created in the first step
  6. Name of generated document = Click on the pencil and use the guide to decide the name of the document. You can write free text in the text field, but also use field codes by mark the field you want in the window, and then use the arrow on the left side of the text field to fetch the field code. image
  7. Document type = Choose what kind of document type in Lime you want.
  8. Inactive = If the template should be visible in the dropdown in the Actionpad or not.
  9. Save as PDF = If checked the document will be converted to a PDF before it’s saved in Lime. Otherwise it will be a word file.
  10. Open when done = If checked the created document will open when it's done.

Add tables

  1. Click on the Tables tab
  2. Add a table by clicking "+ Add table"
  3. Add the basic configuration for the table

    1. Table name (in template) = A reference to the table in the word document in the template manager. Give it a title like the pictures describes.

      Word image

      Excel image

    2. Hide if empty = If checked the table will be hidden if it contains no data.

    3. From tab = Choose which tab you want to fetch data
    4. Fetch rows = Choose which rows you want to check: Filter, Selected rows or All.
    5. From filter = If you choose "Filter" in the previous step you must choose which filter it should use.

      image

  4. Add the number of columns you want by clicking "Add column"

    1. Column number = The column number in the table, count from left to right and start with 1.
    2. Text before value = If you want to add a text before the value, for example "$"
    3. Field name = Click on the pencil on the left side of the field and use the guide to choose field code. Mark the field you want in the window, and then use the arrow on the left side of the text field to fetch the field code.
    4. Text after value = If you want to add a text after the value, for example "SEK"
    5. Sum column = If you want the column to sum the values, for example to sum the total price in a price column.
    6. Image scaling (if image field) = Choose how you want a image field to scale
    7. Max width (if image field) = Add the max width for the image
    8. Max height (if image field) = Add the max height for the image

    image

Choose how to sort the table

  1. Start with "Order by (prio 1)" and click on the pencil on the right side of the field 2. Use the guide to choose wich field the table should sort by 3. Save and close
  2. Choose how the field should be sorted, e.g. Ascending/Descending
  3. Continue with prio 2 and 3 if you want to specify more columns that should affect the sorting off the table image

Add shapes

  1. Click on the Shapes tab
  2. Add a shape by clicking "+ Add shape"
  3. Add the basic configuration for the shape 1. Shape name = The name of the shape in the word template. 1. Add the shape in your word template. 2. Right click on the shape and choose "Add text" and fill in a name. image 2. Hide if empty = If checked the shape will be hidden if it contains no data. 3. Source = "Field" fetches the picture from the main card, "From filter" from a filter in a tab. 4. From tab = If you choose "First in Filter" in the previous step you must choose which tab the filter appear in. 5. From filter = If you choose "First in Filter" in step 3 you must choose which filter you want to use. 4. Field name = Click on the pencil on the left side of the field and use the guide to choose field code. Mark the field you want in the window, and then use the arrow on the left side of the text field to fetch the field code.

Using a Table Template

If you look in the Actionpad where you've configured a Table Template you will be able to see a dropdown called Templates where your created templates should be. Below is an example of the Participant list in the campaign Actionpad.

image

Example of Generated Document

image