Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Consume external (internal) JSON from Items Search API with suitelet? Using nlapiRequestURL?
I’ve been trying to set up an XML product feed for affiliates to use to pull a feed of products on the website. Fortunately, a helpful gent from NetSuite showed me the Items Search API that should give me almost the exact data that I need, which returns JSON, but I’m struggling with how to pull that data via a Suitelet.
Normally, I would use something like an XMLHttpRequest, but it doesn’t look like that’s something that’s supported in SuiteScript. I’ve looked into nlapiRequestURL a little bit and it looks like that might do what I need, however, I’m having trouble implementing it in a way that makes sense. I’ve put it in a suitelet with the goal of being able to have the affiliates just be able to hit a URL and see/pull the XML document. I put together a quick test script, but I keep getting the HTTP response code 406, which appears to mean that the content