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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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