YOUR ARE VIEWING ARTICLE

Using CardExchange® Producer with CardExchange® Cloud

Using CardExchange® Producer with CardExchange® Cloud

First you need to ensure that your CardExchange.Gateway.exe.config file is set up correctly.

In Windows Explorer, go to the Program Installation directory. By default this is:

C:\Program Files (x86)\CardExchange Solutions\CardExchange Gateway\

Now find the CardExchange.Gateway.exe.config file, and drag it on to the CardExchange.Config.exe file.

1

This will open the file in the Configuration program.

2

Under the DatabaseSetup.Settings, make sure that the following URLs are correct:

ControllerCMSAuthorityUrl: https://auth.cardexchangecloud.com

ControllerCMSApiUrl: This should be the correct value for your instance region:

US: https://api.cardexchangecloud.com/

Europe: https://api.cardexchangecloud.eu/

Now that is configured, open up Producer.

Open your Card Design that you want to link to the CardExchange® Cloud database.

Click on the Data tab at the top, and click on New

3

Set a name for the connection, choose Controller CMS v2 as the Database type.

In the Database field, choose the correct regional URL for your instance:

US: https://api.cardexchangecloud.com/

Europe: https://api.cardexchangecloud.eu/

4

When you click on the Next button, you will need to sign in to your Cloud instance.

NOTE: The user you are signing in with needs to be assigned a Press role from the Admin Center.

5

After you have signed in, you will need to select the view to read data from. This should be set to the Production view, with the primary key as Id.

6

Next check the fields you would like to display in the Records List pane in the Main Interface:

7

CardExchange® Producer should not be used to add new records, or update the existing data from Controller. Leave ‘Allow editing database records’ unchecked, and click on next.

8

Likewise, you do not need to make any changes to this next screen, as you will not be able to Add or Update records from Producer

9

Storage Items:

There are a few storage items that will need to be configured to write back some information needed for CardExchange Cloud.

NumberOfTries: This is used as a print counter for the record’s credential. Set this to store a value back into the Production Table into the field NumberOfTries. This should always be stored back. If this value is missing, then the Credential will not move past the In Production stage.

10

ChipSerialNumber: Even if you will not be reading a SMART card, you will still have to pass controller back a value for the ChipSerialNumber. Set this to store a value in the Production Table, under the field ChipSerialNumber. The card will not be able to be printed if this value is not stored.

11

If you are calculating a value at time of print, and need to save that data back to cloud, you can do so by creating an additional Storage Item for that value.

12

When you have finished, click on the Finish button, and save your Database Definition File.

Mappings

After the Database Connection has been configured, you will need to configure the Mappings for your Storage Items.

Click on the Data tab in the left hand pane, and then click on Storage Items at the bottom. You will then see your storage items that need to be configured.

13

Click on the ChipSerialNumber, then in the Properties box on the right, set this to what you would like to store back. In Press, by default, it stores a Global Counter, with a prefix of C5, and formatting as an Integer with format code X12.

14

Alternatively, If you would like to read a SMART card at print, and store back the UID, you will need to configure the correct read operation, such as MIFARE Classic, then select MIFARE® Classic UID from the dropdown.

15

If you have any additional Storage Items to configure, do so now. For an example, I have a CalculatedData field that I will be saving.

16

Now you can finish the Card Design, then save and close.

TOPICS

CATEGORY

AUTHOR
Support Team

PUBLISHED
January 13, 2022

MODIFIED
April 26, 2022

Sign In to Post

Welcome back! Login to your account and get access to the CardExchange® Community and start posting today.

Please read our community rules!

Account Registration

Please fill in the fields below and become a member of our CardExchange® Community today!

Please enter the name!
Please provide an username!
Please provide a valid e-mail!
Retype the e-mail!
Please enter a password!
Retype the password!
After you submit your registration you will receive an email with information about your account

ISO/IEC 27001:2013 

United States

201 Sand Creek Rd, Suite L-E
Brentwood, CA 94513

Monday – Friday
9am – 5pm (EST)
+1 (925) 529 4999

Netherlands

Stationsplein 13 A
3818 LE, Amersfoort

Monday – Friday
9am – 5pm (CET)
+31 (0)20 2251 447

© 2022 CardExchange, Inc.