You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: labs/telework-utah/1.0-Build-the-Foundation/1.2-Create_the_Tables.md
+40-33Lines changed: 40 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,11 @@ id: create-tables
3
3
title: "1.2 Create the Tables with Data"
4
4
hide_table_of_contents: true
5
5
draft: false
6
+
tags:
7
+
- UTAH
6
8
---
7
9
10
+
8
11
We will create the core tables for our application. To create a table in App Engine Studio:
9
12
10
13
1. Click the **Add** icon (⨁ Add) for _Data_ on the _App Home_ tab.
@@ -29,24 +32,28 @@ We will create the core tables for our application. To create a table in App Eng
29
32
5. <spanclassName="large-number">①</span> Check ☑ <strong>Import spreadsheet data</strong> (in the telework_lab files folder we downloaded earlier),<br/>
30
33
<spanclassName="large-number">②</span> Click on <strong>Convert to table</strong>.
31
34
32
-

35
+

33
36
34
37
35
38
6. <spanclassName="large-number">①</span> Select <strong>Create new table</strong> (to hold the Arrangement data),<br/>
36
39
<spanclassName="large-number">②</span> Click on the <spanclassName="aes_button">Continue</span> button.
37
40
38
-

41
+

39
42
40
43
41
44
7. <spanclassName="large-number">①</span> Click the Expand/Collapse icon (⌄) to see advanced configuration options,<br/>
42
45
<spanclassName="large-number">②</span> Check the <strong>Display</strong> checkbox,<br/>
43
46
<spanclassName="large-number">③</span>Click on the <spanclassName="aes_button">Continue</span> button.
44
47
45
-

48
+

49
+
50
+
51
+
:::info
52
+
The **Display** field is the one that appears if you reference this record from another table. A table can only have a single field marked as the **Display** field.
46
53
54
+
For example, in a drop-down or reference we want it to display "Remote Telework" and not the full Description or sys_id of the record.
47
55
48
-
:::tip
49
-
We need to set what value to display when these records will be referenced.
56
+
Fields are also known as table columns.
50
57
:::
51
58
52
59
@@ -62,7 +69,7 @@ We need to set what value to display when these records will be referenced.
62
69
<spanclassName="large-number">②</span> For the <strong>user</strong> role, click the <strong>All</strong> checkbox and then remove the <strong>Delete</strong> permission.<br/>
63
70
<spanclassName="large-number">③</span> Click on the <spanclassName="aes_button">Continue</span> button.<br/>
64
71
65
-

72
+

66
73
67
74
68
75
10. A loading screen will appear while the table is being created. When it completes, click <spanclassName="aes_button">Done</span>.
@@ -73,12 +80,11 @@ We need to set what value to display when these records will be referenced.
13. Let's add the Telework Case table. Click the **Add** icon (⨁ Add) for _Data_ on the _App Home_ tab.
80
-

81
-
87
+

82
88
83
89
84
90
14. <spanclassName="large-number">①</span>Select the **Import a spreadsheet** tile, <br/>
@@ -90,32 +96,29 @@ We need to set what value to display when these records will be referenced.
90
96
15. On the _Choose a spreadsheet to import from_ screen, click the **Drag and drop or browse to upload spreadsheet** link.
91
97
92
98
93
-
16. Browse and select the **Telework Cases.xlsx** file you downloaded.
99
+
16. Browse and select the **telework_cases.xlsx** file you downloaded.
94
100
95
101
96
102
17. Select ☑ **Import spreadsheet data**.
97
103
98
104
99
105
18. Click on the <spanclassName="aes_button">Continue</span> button.
100
-

101
-
102
-
103
-
19. This time on the _Where do you want to import your file into?_ screen, select the **Create from an extensible table** tile.
106
+

104
107
105
108
106
-
20. Click on the <spanclassName="aes_button">Continue</span> button.
107
-

109
+
19. Select **Create from an extensible table**, then click <spanclassName="aes_button">Continue</span>.
110
+

108
111
109
112
110
-
21.**On the _Which table do you want to use?_ screen,**<br/>
113
+
20.**On the _Which table do you want to use?_ screen,**<br/>
111
114
<spanclassName="large-number">➊</span> Click in the table field,<br/>
112
115
<spanclassName="large-number">➋</span> Select the <strong>Task</strong> table, <br/>
113
116
<spanclassName="large-number">➌</span> Click on the <spanclassName="aes_button">Continue</span> button.
114
117
115
118

116
119
117
120
118
-
22.**On the _let's get more info about your new table_ screen,**
121
+
21.**On the _let's get more info about your new table_ screen,**
119
122
<br/>
120
123
<spanclassName="large-number">➊</span> Set the table label to <strong>Telework Case</strong>. (Hit <kbd>⇥ Tab</kbd>) The table name will auto populate, <br/>
121
124
<spanclassName="large-number">➋</span> Check the <strong>Auto number</strong>, <br/>
@@ -125,65 +128,69 @@ We need to set what value to display when these records will be referenced.
125
128

126
129
127
130
128
-
23.**Set the permissions.** <br/>
131
+
22.**Set the permissions.** <br/>
129
132
<spanclassName="large-number">①</span> For the <strong>admin</strong> role, click the <strong>All</strong> checkbox <br/>
130
133
<spanclassName="large-number">②</span> For the <strong>user</strong> role, click the <strong>All</strong> checkbox and then remove the <strong>Delete</strong> permission. <br/>
131
134
<spanclassName="large-number">③</span> Click on the <spanclassName="aes_button">Continue</span> button.
132
135
133
136

134
137
135
138
136
-
24. On the _Great! Now your table is ready for data_ screen, select the <spanclassName="aes_button">Continue</span> button.
139
+
23. On the _Great! Now your table is ready for data_ screen, select the <spanclassName="aes_button">Continue</span> button.
137
140

138
141
139
142
140
-
25. A loading screen will appear: _Sit tight while we create data mapping instance for table Arrangement_.
143
+
24. A loading screen will appear: _Sit tight while we create data mapping instance for table Arrangement_.
141
144
142
145
143
-
26. Read the help pop-up and click <spanclassName="aes_button">Next</span> until <spanclassName="aes_button">Done</span>.
146
+
25. Read the help pop-up and click <spanclassName="aes_button">Next</span> until <spanclassName="aes_button">Done</span>.
144
147

145
148
146
149
147
-
27. Notice the fields have already been auto-mapped, but some are not correct. Clear out the _Transfer reason_ value.
150
+
26. Notice the fields have already been auto-mapped, but some are not correct. Clear out the _Transfer reason_ value.
148
151

149
152
150
153
151
-
28. Click on the Add Fields link button at the top.
154
+
27. Click on the Add Fields link button at the top.
152
155

153
156
154
157
155
-
29. Hover over the row and edit the Reason field by clicking on the pencil icon.
158
+
28. Hover over the row and edit the Reason field by clicking on the pencil icon.
156
159

157
160
158
161
159
-
30. In the **Field type** section select **Choice** then click the <spanclassName="aes_button">Update field</span> button. The choices will be added for you based on the spreadsheet data!
160
-

162
+
29.
163
+
1. Click **Field type**
164
+
2. Select **Choice**
165
+
3. Click the <spanclassName="aes_button">Update field</span> button. <br/><br/>
166
+
**The choices will be added for you based on the spreadsheet data!**
167
+

161
168
162
169
163
-
31. Days per week is ok as an integer.
170
+
30. Days per week is ok as an integer.
164
171
165
172
166
-
32. Days per week is ok as an integer, but Edit the Arrangment field.
173
+
31. Days per week is ok as an integer, but Edit the Arrangment field.
167
174
- Field type: **Reference**
168
175
- Reference table: **Arrangement**
169
176
- Click the <spanclassName="aes_button">Update field</span> button.
170
177
171
178

172
179
173
180
174
-
33. Lets add the new fields to our table by clicking the <spanclassName="aes_button">Add fields</span> button.
181
+
32. Lets add the new fields to our table by clicking the <spanclassName="aes_button">Add fields</span> button.
175
182

176
183
177
184
178
-
34. Clear the Description, Opened, and Transfer reason values. Click on the <spanclassName="aes_button">Continue</span> button.
185
+
33. Clear the Description, Opened, and Transfer reason values. Click on the <spanclassName="aes_button">Continue</span> button.
179
186

180
187
181
188
182
-
35. Your table is now ready. Click the <spanclassName="aes_button">Edit table</span> button. Click through all the helper screens.
189
+
34. Your table is now ready. Click the <spanclassName="aes_button">Edit table</span> button. Click through all the helper screens.
183
190

184
191
185
192
186
-
36. Click the <spanclassName="aes_button">Next</span> button on the Welcome to Table builder helper and other popups.
193
+
35. Click the <spanclassName="aes_button">Next</span> button on the Welcome to Table builder helper and other popups.
0 commit comments