ADAL
Retrieving ADAL tables
ADAL tables that are defined to be cpi-meta-data are available within the client API.
Supported from CPI 17.00

Get by key

Get ADAL object by Key.
1
pepperi.api.adal.get({
2
"addon": "bb6ee826-1c6b-4a11-9758-40a46acb69c5", // the addon UUID
3
"table": "SomeTable", // the ADAL table name
4
"key": "bb6ee826-1c6b-4a11-9758-40a46acb69c5" // The Key of the ADAL row
5
});
Copied!

Returns:

1
{
2
"success": true,
3
"object": {
4
"Key": "bb6ee826-1c6b-4a11-9758-40a46acb69c5",
5
"Any": "other",
6
"Fields": [ "That", "exist", "on", "the", "ADAL" ],
7
"Object": true
8
}
9
}
Copied!

Get entire table

Get ADAL table by name
1
pepperi.api.adal.get({
2
"addon": "bb6ee826-1c6b-4a11-9758-40a46acb69c5", // the addon UUID
3
"table": "SomeTable", // the ADAL table name
4
});
Copied!

Returns:

1
{
2
"success": true,
3
"objects": [{
4
"Key": "bb6ee826-1c6b-4a11-9758-40a46acb69c5",
5
"Any": "other",
6
"Fields": [ "That", "exist", "on", "the", "ADAL" ],
7
"Object": true
8
}]
9
}
Copied!
Last modified 7mo ago