Step 2: Embed the search widget
After the search widget configuration is saved, Network generates the code snippets that are required for your web-based internal application.
Provide the code to your web developer to add to the application.
The widget setup is complete for Network administrators. Web developers can now add this code to your internal application and the search widget will be functional for business use.
Web developers can add events to customize the widget for integration with your internal application and downstream systems.
When web developers are embedding the widget code to your internal application, there are customizations that you might consider.
Using a pop-up window
Web developers can configure a Network widget so it opens in a pop-up window in your internal application instead of directly on the page.
More information, along with code samples, is available on the Veeva Network developer site at https://developer.veevanetwork.com/widgets/.
Filtering the available records
You can determine the entities that are available to users in the search widget configuration but some of those records (for example, dentists or veterinarians) might not be relevant for the widget's purpose. Also, it might be difficult for users to distinguish and find specific records they are looking for. Web developers can add preset filters in the search widget code to define a subset of records that users can view.
For more information, see Using preset filters. Example code is available in the developer documentation.
|< Step 1: Configure your search widget||Step 3: Define optional events for the search widget >|
|End users: Using the search widget >|