Struggling to set a null value on a custom segment...
# suitetalkapi
s
Struggling to set a null value on a custom segment using SuiteTalk upsert. This works just fine to set a value:
<employee:customFieldList>
<core:customField scriptId="cseg_my_custom_segment" xsi:type="core:SelectCustomFieldRef">
<value internalId="1"/>
</core:customField>
</employee:customFieldList>
But how do I unset that value? I tried I few variations similar to
<value/>
and
<value internalId=""/>
but can’t find anything that will set that field to
null
.
TIL about the <nullFieldList> element. This worked perfectly. <https://{account}.app.netsuite.com/app/help/helpcenter.nl?fid=section_n3438152.html>