Retrieve custom form via the API Netsuite

1k views Asked by At

I'd like to retrieve a list of all custom forms and the label to field name relationships for each form in Netsuite programmatically. I have looked at SuiteScript and cannot find the answer.

2

There are 2 answers

0
Алексей Марчук On

I use this method from SOAP API.

var customForms = svc.getSelectValue(new GetSelectValueFieldDescription
{
    field = "customForm",
    recordType = RecordType.salesOrder,
    recordTypeSpecified = true
}, 1);
0
felipechang On

Not sure if this can be done through suitescript. Best way I can think of interacting with this would be through the API on the Suitescript Developer Framework. This can read forms, and will return an XML which you can then use.