2 * SAPI Sample Data - Contacts
8 var data_contacts = [{
\r
9 "id": "",
\r
11 "Label": "First name",
\r
15 "Label": "Last name",
\r
19 "Label": "Telephone",
\r
20 "Value": "0230328732"
\r
23 "Label": "Synchronisation",
\r
27 "id": "",
\r
29 "Label": "First name",
\r
33 "Label": "Last name",
\r
37 "Label": "Telephone",
\r
38 "Value": "0492303652"
\r
41 "Label": "Synchronisation",
\r
45 "id": "",
\r
47 "Label": "Synchronisation",
\r
51 "Label": "Last name",
\r
55 "Label": "First name",
\r
60 "Value": "4084256071"
\r
63 "id": "",
\r
65 "Label": "First name",
\r
69 "Label": "Last name",
\r
73 "Label": "Telephone",
\r
74 "Value": "0432443343"
\r
77 "Label": "Synchronisation",
\r
81 "id": "",
\r
83 "Label": "First name",
\r
87 "Label": "Last name",
\r
91 "Label": "Telephone",
\r
92 "Value": "+4443433434"
\r
95 "Label": "Synchronisation",
\r
99 "id": "",
\r
101 "Label": "First name",
\r
105 "Label": "Last name",
\r
109 "Label": "Telephone",
\r
110 "Value": "0213443434"
\r
113 "Label": "Synchronisation",
\r
119 var data_groups = [{
\r
120 "id": "",
\r
121 "GroupLabel": "TestGroupName"
\r
123 "id": "",
\r
124 "GroupLabel": "Silver club #5488",
\r
125 "Contents": ["", "", "", "", "", ""]
\r
127 "id": "",
\r
128 "GroupLabel": "The buddies #9926"
\r
130 "id": "",
\r
131 "GroupLabel": "Football team #5940",
\r
132 "Contents": ["", ""]
\r
134 "id": "",
\r
135 "GroupLabel": "Science group #2742",
\r
136 "Contents": ["", "", "", "", "", ""]
\r
138 "id": "",
\r
139 "GroupLabel": "Rockers #3062",
\r
140 "Contents": ["", "", "", "", "", ""]
\r
144 var data_database = [{
\r
145 "DBUri": "cntdb://c:contacts.cdb"
\r
147 "DBUri": "sim://global_adn"
154 device.implementation.loadData('Service.Contact', 'Contact', data_contacts);
155 device.implementation.loadData('Service.Contact', 'Group', data_groups);
156 device.implementation.loadData('Service.Contact', 'Database', data_database);