Last updated on January 29, 2018

Adding a card template

This article provides the instructions to add, edit, download and delete card templates within Cards.


Prerequisites

  • You must be one of the following users:
    • Content Administrator
    • Account Owner
    • Portal Administrator

Add Card Templates

  1. Click System > Cards from the Appspace Menu navigation bar, and click the Template tab.

  2. Click the Add button.

  3. In the Import Template window, click the select files link to select the desired card template zip file to import, or drag-and-drop a zip file in the drop area.

    Warning

    This replaces the existing template with the same name, unless the Name and ID is manually changed in the manifest.json file.

  4. To delete a template, select the card template, and click the Delete button.


Download Card Templates

  1. Click System > Cards from the Appspace Menu navigation bar, and click the Template tab.

  2. Select the desired template to download, and click the Download button.

    The template will be downloaded to your default download folder in a zip format.

Edit Card Templates

  1. Click System > Cards from the Appspace Menu navigation bar, and click the Template tab.

  2. Download the desired Card template to edit.

  3. Extract the Card template (template.zip).

  4. Edit the desired file with a text editor.

  5. Once done, compress the files back to the template.zip file.

  6. Click the Edit button to upload the edited template back into Cards.


Workaround for calling Player Properties

Calling Player Properties fails in the latest update of Appspace App 1.9.1. However, the workaround is to add the following property, “version” = “1.1”, in the schema.json file.

  1. Click System > Cards from the Appspace Menu navigation bar, and click the Template tab.

  2. Download the desired Card template to edit.

  3. Extract the Card template (template.zip), and locate the schema.json file.

  4. Edit the schema.json file with a text editor by adding the following property above the settings property.

    "version" : "1.1",
    

  5. Save the schema.json file, and compress the files back to the template.zip file.

  6. Click the Edit button to upload the edited template back into Cards.