Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Custom field type Hyperlink-how to?
I have a custom field on my Invoice record of type Hyperlink. This is set to the URL of a file in the file cabinet. I'm trying to set the value of this field using Webservices, but I cannot find a way to do this. I'm not sure what type to use for the custom field type.
Below is my code in Java to set a custom Document file selection type. What do I use if my type is Hyperlink?
SelectCustomFieldRef pdfFileSelect = new SelectCustomFieldRef();
pdfFileSelect.setInternalId("custbody_invoice_pdf");
ListOrRecordRef pdfFileRef = new ListOrRecordRef();
pdfFileRef.setInternalId("454"); // folder id
pdfFileRef.setTypeId("29"); // 29 is system type ID for file or folder