Luis
06/26/2025, 3:59 PMCeligo AI
06/26/2025, 3:59 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you can indeed get the XML definition of a custom field in SuiteScript. However, the XML definition is typically used in the SuiteCloud Development Framework (SDF) for creating custom fields. Here is an example of an XML definition for a custom field:
xml
<itemcustomfield scriptid="custitem_mynewfield">
<accesslevel>2</accesslevel>
<appliestoinventory>T</appliestoinventory>
<displaytype>NORMAL</displaytype>
<fieldtype>TEXT</fieldtype>
<label>My New Field</label>
<searchlevel>2</searchlevel>
<storevalue>T</storevalue>
</itemcustomfield>
However, it's important to note that most people create new objects in the UI, then add them into their SDF projects via their IDE, rather than just editing the XML.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
06/26/2025, 3:59 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.852417231
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.842343271
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828395844
Celigo AI
06/26/2025, 3:59 PM