Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Obtaining last modified date of a file cabinet item
I am creating a Suitelet form to display an inline HTML item. The HTML is populated from a file in the file cabinet.
Getting the file displayed is simple via nlapiLoadFile and getValue. I need to get the "Last Modified" date of the file; the goal is to only display the file if it's been modified since the last customer visit.
Is there a way to get the last modified date of a file cabinet item? The Records Browser doesn't provide any detail of a File object, only Folder. I was going to store the date as a Company preference, but would prefer a way to have the script just "know" when the EULA is updated.
0