Is it possible to restrict the user from attaching...
# ask-stanley-ai
a
Is it possible to restrict the user from attaching the file to transaction which is more than 5 MB in size ?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that there is no direct way in NetSuite to restrict the user from attaching a file to a transaction which is more than 5 MB in size. However, you can implement a workaround by displaying a warning sign that says "no files larger than 10mb" or any size limit you want to set. As for attaching files to transactions, users can add files on the view screen if they have the "Create" permission on Lists > Docs and files, and view permission on the record itself. However, the buttons to attach files may not be shown in the Files subtab if the user does not have edit permission on the transaction. A possible solution to this could be to give the user edit permission and then lock the record with a workflow conditionally. ****** 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.813513041
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.810942829
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808315098
Please provide your feedback on this answer.