JS Client API
Search…
Getting Started
Rule Engine Unique Functions
Custom Form Window Functions
Known Issues
Use Cases & Code Samples
Retrieving Data
Retrieving Standard Resources
Retrieving User Defined Tables
Retrieving Attachments
Retrieving Items in Transaction Scope
Retrieving Transaction Lines
ADAL
Updating Data
Adding Objects to Standard Resources
Updating Standard resources
Updating User Defined Table
Updating Items in Transaction Scope
Adding Transaction Lines
Removing Transaction Lines
Powered By
GitBook
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!
Retrieving Data - Previous
Retrieving Transaction Lines
Next - Updating Data
Adding Objects to Standard Resources
Last modified
1yr ago
Copy link
Contents
Get by key
Get entire table