mjamosin
02/21/2025, 4:48 PMCeligo AI
02/21/2025, 4:49 PMAI generated answer (using internal Slack threads):To get all the IDs of custom records in the system, you can create a saved search on the record type and retrieve the IDs from the results. Here is a sample code snippet that you can use in the chrome console:
javascript
let res = search.create({
type: 'customlist_idhere',
filters: [],
columns: ['internalid', 'name']
}).run().getRange(0,100).map(res => res.toJSON().values)
Please replace 'customlist_idhere' with the internal ID of your custom list. This code will return an array of objects, each containing the internal ID and name of each custom record in the list.
You might also want to add a filter on isinactive
to exclude inactive records from the results.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
02/21/2025, 4:49 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818424404
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815417111
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813529849
Celigo AI
02/21/2025, 4:49 PM