Is it possible to script a button that transfers y...
# ask-stanley-ai
a
Is it possible to script a button that transfers you to a folder in the file cabinet that is dynamically selected depending on the record ID?
c
AI generated answer (using internal Slack threads):
Yes, it is possible to script a button that transfers you to a folder in the file cabinet that is dynamically selected depending on the record ID. However, this would require custom scripting. You can use SuiteScript to create a user event script that creates a folder for each customer or record. However, automatically tying the folder to the customer for all new attachments would be a different challenge. When creating a file via N/file, you can set the folder property to the script parameter folder ID. However, there's no way to prompt for a folder itself easily. You need the ID which a user isn't going to know. You could require people to create a folder within a parent folder so you can ID it and just do a search for their folder and put stuff there. If no folder is created, you can auto create one and put the file in it. ****** 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.853474081
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.839566827
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83938235
Please provide your feedback on this answer.