Does anybody have any clever ways to delete/update...
# suitecommerce
j
Does anybody have any clever ways to delete/update URL redirects in bulk? I recently discovered that redirects in NetSuite don't pass along URL parameters without a wildcard. So if I create a redirect from /my-url to /my-new-url, visiting /my-url?foo=bar will not work unless the from URL is /my-url*. I already have 4000+ redirects. I'd like to be able to edit them in place, but re-importing them with the wildcard creates a new record, duplicating the old because there's no internal ID to reference. I could inactivate all the old ones and create new ones with the wildcard, but that seems unnecessary. Anybody have any bright ideas?
m
Yes, you can download first a CSV form the actual records, then can peform a mass update to delete all records, then reimport again the fixed version
👍🏻 1
image.png
j
Thanks, @Martin. I had actually just found that
m
No problem!
j
Deleting 4,000 records at once doesn't make me nervous at all... 😬
m
haha double check that you have downloaded all the records in the CSV
m
🤯 Can't believe I'm just now learning about this, too! Huge. Thank you for bringing this to our attention, @Jacob D