Hello,
I am working on an SBM application and need to retrieve data from another table (e.g., EXTERNAL_TABLE
) using JavaScript within a different application. I’ve attempted several approaches but haven’t been able to achieve the desired result. Below are some of the methods I’ve tested:
-
Using JSON API -
GetItemsByItemID
:- Successfully retrieved individual items, but could not filter based on custom fields like Field1 (which is a custom field that I added).
-
Attempted
GetItemsByListingReport
with Runtime Parameters:- Used URL:
servername/.../498
- This retrieves multiple records but does not filter based on
UniqueID
as expected.
- Used URL:
-
Tried JSON API
getitemsbyreportfilter
:- Example 1:
servername/.../tmtrack.dll
- Example 2:
servername/.../tmtrack.dll
- Both attempts returned errors indicating the report filter could not be read by ID, name, or UUID, or failed to apply the intended filter.
- Example 1:
-
Direct API Calls to Filter by Field Values:
- Tested various endpoint structures but encountered "Unknown Function" errors, making it difficult to proceed.
I’d appreciate any guidance or best practices for achieving this, specifically how to filter data retrieval via JavaScript using SBM’s API or other recommended approaches.
Thank you!