Anypoint Connector for NetSuite synchronizes data and automates business processes between NetSuite and third party applications, either on-premise or in the cloud. This example shows you how to use the NetSuite connector in an Anypoint integration application.
This document assumes that you are familiar with NetSuite, Mule, Anypoint connectors, Anypoint Studio, elements in a Mule flow, and global elements.
This application connects to NetSuite to retrieve a list of customers based on the predefined criteria (all customers that have a last name that starts with 'a'). The data is then parsed and formatted to improve readability and is displayed in the web browser for the end user.
Complete the following procedure to create, then run this example in your own instance of Anypoint Studio.
You should verify the configuration by clicking Test Connection button. Alternatively, you can also configure the global element in the XML Editor.
Using a single flow, this application accepts incoming HTTP requests, performs a query in NetSuite and delivers results to the end user.
The HTTP connector listens at http://localhost:8081/customers to incoming HTTP Get requests. The dynamic part of the NetSuite customer query is extracted from the URL under lastName parameter key using DataWeave. Next, the DataWeave expression block iterates over the returned collection and prepares an HTML table body that is sent to a Parse Template component that injects it into the HTML template.
Studio includes a feature that enables you to easily export all the documentation you have recorded for your project. Whenever you want to share your project with others outside the Studio environment, you can export the project's documentation to print, email or share online. Studio's auto-generated documentation includes:
|Published on||Jul 28, 2018|