Discussions
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