You are on page 1of 4

CREATING DATA STORES SKILLS PRACTICE SOLUTIONS

In this exercise, you will create a data store for the VFM application that includes the
VFM_vehicle CDT as an entity.

Create a data store called VFM DS following the guidelines below.


1. Add an entity called vehicle with data type VFM_vehicle
2. Verify the data store. There should be no existing tables that match the vehicle entity
just yet.
3. Save and publish the data store, allowing Appian to create the vehicle table
automatically
4. Set security on the data store giving VFM Admin administrator privileges and VFM
All Users viewer privileges.

CREATING DATA STORE OBJECT: 


In the Application Designer, select “New” and “Data Store”.
CREATING DATA STORE ENTITY: 
Once you create a Data Store, you must add an entity and map it to your vehicle CDT.

VERIFY DATA STORE: 


After creating and saving the entity, scroll down and select “Verify”.
SAVE AND PUBLISH DATA STORE: 
Select “Save and publish”. You should then see a green message like the one below.

To verify that the table has been created correctly, navigate in the designer interface to the
“Home” tab and click on the “Cloud Database” link. Expand the Appian structure and under
Tables, click on the vehicle table link. Click on the “Structure” tab and validate that the id
field name has a gold key next to it, indicating that it is the primary key, and
AUTO_INCREMENT is in the “Extra” column, indicating that the value will be
auto-generated. You should see a table structure like the one below.
SET SECURITY ON DATA STORE: 
To set security on the Data Store, select the checkbox next to the object in the Application
Designer. Then select the “Security” button. Here you can add groups for security.

You might also like