is there a fast way to get all ids of custom recor...
# ask-stanley-ai
m
is there a fast way to get all ids of custom records in the system?
c
AI 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:
Copy code
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. ******
Slack 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
Please provide your feedback on this answer.