Has anyone found a way to mass delete saved CSV im...
# administration
d
Has anyone found a way to mass delete saved CSV imports? We have hundreds in our account and would like to purge most or all.
1
d
So I found that, even for Admin, the delete button is missing for CSV mappings that you aren't the owner of HOWEVER, you can simply navigate to the URL that deletes CSV imports, plugging in the target ID
/app/setup/assistants/nsimport/savedimports.nl?method=delete&recid=###
You could make a list or URLs in Excel and click each one Or if you're handy with PowerShell or batch script you could write a script to read a list of URLs/IDs from
.txt
or
.csv
file and open them each in browser
Two warnings though: 1. unlike deleting CSV imports via the UI, this method/methods WILL NOT prompt for confirmation to delete. 2. Don't spam NetSuite by opening hundreds of pages at once. I've done this quick enough (by hand!) and was timed out, maybe flagged by anti-DoS?
threw together a quick and dirty
.bat
, as I've been meaning to clean up the saved CSV imports myself DM me if you want a copy/explanation
d
Thanks @David B that's something to work with at least. I might try and create a client script to fetch the URLs
There's a Suiteidea enhancement for this, but only 5 votes - 487623.
vote 1
d
*6 votes
👍 1