<@U856E2SEA> I'm trying to do something sort of ri...
# suiteql
a
@tdietrich I'm trying to do something sort of risky (in sandbox). I want to select
<script>nlapisubmitfield(...)</script>
. Is this doable in your suitelet?
t
Not sure I'm following you...
a
So if you select
'<b>' || transaction.id || '<b>'
, it renders the html. Can you render script tags?
t
I don't see why you couldn't do that.
Interesting idea though.
a
I have to look into it more how it renders it. So far it isn't working.
m
That's technically an XSS attack. NetSuite used to be really poor in protecting against those but recently has plugged the major holes.
If you want a quick and dirty mass update like that, I'd select the 'nlapiSubmitFields's and then paste them into the browser console to actually run. You will probably get through a couple hundred before you run out of governance and need to refresh the page
t
I guess that technically it can be seen as an XSS attack, except that it lacks anything that could be seen as malicious. Regardless, I don't think I'd use this approach to update data.