Import the customization into NiFi
This section of the tutorial explains the steps that are required to import the customization in NiFi to index profit margin data.
Important: These instructions are
specific to Groovy ETL. Groovy is not recommended for use in production
environments. The instructions given in this topic and its subtopics are not
relevant if you are using the recommended JavaETL or -Template_DatabaseETL methods.
For instructions that instead use the preferred method, see Create the customization in NiFi.
If you have set up the customization
to index profit margin data in any of your environments, you can
import that customization into your other environments.Prerequisite
Before you can index the profit margin data, you must load a cost price list using the Catalog Filter and Pricing tool.
Process
To index profit margin data, complete the following steps:
- Import connectors into runtime NiFi registry.
- Create a connector using the Ingest Service.
- Join the custom process groups to the connector
- Build an index and verify that the profit margin field is indexed
- Customize the user data field name mapping and search configuration to include custom data using the configuration API.
- Register the new field in search tables with the proper property names.
- Modify the store to display the profit margin only in store preview