get file id in a formula field
# ask-stanley-ai
i
get file id in a formula field
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that you can get the internal ID of a file in the file cabinet using a saved search. However, if you need to get this information in a formula field, you might face some limitations. In a saved search, you can get the value instead of the text by appending ".id" to a field ID like this:
Copy code
{custrecord_custom_list_field.id}
Unfortunately, it seems that this method might not work for all fields, and it might not work for your specific use case of getting the internal ID of a file in a formula field. If you are trying to get the internal ID from a custom field that populates the PDF, you might get the file name (e.g., abc.pdf) instead of the internal ID. ****** 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.847318
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798583448
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798118412
Please provide your feedback on this answer.