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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
PHP Retrieve values of CustomList
I stared at this for 4 hours now and am no closer than when I started.
Would anybody have a sample of pulling values of a custom list using the PHP toolkit?
This is the list I'm trying to get:
<?xml version="1.0" encoding="UTF-8" ?> <nsResponse> <record recordType="customlist" id="17" perm="4" fields="_eml_nkey_,_multibtnstate_,selectedtab,nsapiPI,nsapiSR,nsapiVF,nsapiFC,nsapiPS,nsapiVI,nsapiVD,nsapiVL,nsapiRC,nsapiLI,nsapiLC,nsapiCT,nsbrowserenv,id,externalid,type,whence,customwhence,entryformquerystring,name,scriptid,id,owner,description,isorderedlabel,isordered,isordered,isinactive,target"> <_eml_nkey_>5456438</_eml_nkey_> <description>Test</description> <entryformquerystring>id=17&xml=T</entryformquerystring> <id>17</id> <isinactive>F</isinactive> <isordered>F</isordered> <name>Sales Interests</name> <nsapiCT>1322678341284</nsapiCT> <owner>1658</owner> <scriptid>customlist_sales_interests</scriptid> <type>custlist</type> <machine name="translations" type="list" fields="locale,localedescription,name"> <line> <locale>pt_PT</locale> <localedescription>Portuguese (Portugal)</localedescription> </line> <line> <locale>es_ES</locale> <localedescription>Spanish</localedescription> </line> </machine> <machine name="customvalue" type="edit" fields="value,translations,value_pt_pt,value_es_es,valueid,isinactive"> <line> <isinactive>F</isinactive> <translations>translations</translations> <value>ATA</value> <valueid>1</valueid> </line> <line> <isinactive>F</isinactive> <translations>translations</translations> <value>Digium</value> <valueid>2</valueid> </line> <line> <isinactive>F</isinactive> <translations>translations</translations> <value>Firewall</value> <valueid>3</valueid> </line> <line> <isinactive>F</isinactive> <translations>translations</translations> <value>Wireless</value> <valueid>17</valueid> </line> </machine> </record> </nsResponse>
0