Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Getting a list of site categories
We are using the PHP toolkit and are trying to get the list of web site categories. Currently doing SiteCategorySearchBasic crashes PHP (segmentation fault).
With a workaround for that being unlikely were are using get operation to look for site categories and receive the following error from the webservice:
[CODE]org.xml.sax.SAXException: SiteCategory is not a legal value for {urn:types.core_2008_2.platform.webservices.netsuite.com}RecordType[/CODE]
Here is our code:
[CODE]$ref = new nsRecordRef(array("internalId"=>$categoryId, "type"=>'SiteCategory'));
$getRecordResult = $myNSclient->get($ref);
[/CODE]
Thanks in advance
-pz
Mindgrub Technologies
With a workaround for that being unlikely were are using get operation to look for site categories and receive the following error from the webservice:
[CODE]org.xml.sax.SAXException: SiteCategory is not a legal value for {urn:types.core_2008_2.platform.webservices.netsuite.com}RecordType[/CODE]
Here is our code:
[CODE]$ref = new nsRecordRef(array("internalId"=>$categoryId, "type"=>'SiteCategory'));
$getRecordResult = $myNSclient->get($ref);
[/CODE]
Thanks in advance
-pz
Mindgrub Technologies
0