Prerequisites
The desktop version of the development tool is required. For more information, see the desktop version of the development tool instructions.
Background information
To enable custom components to work with the DataV blueprint editor, you must follow the editor's development rules. After you create a component with the developer tool, an index.js file and a package.json file are generated in the local component package folder. You need to modify these files to implement blueprint editor integration.
Event trigger
The following example uses the Current Value Change event of the ticker board component to demonstrate event trigger implementation. 
-
Open the
package.jsonfile after creating the component with the developer tool. -
Locate the
eventsfield within the datav field in thepackage.jsonfile.ImportantEnsure each event in the blueprint editor matches the event specified in the custom component's
eventsfield; otherwise, the editor will not detect it. -
Define events in the current events field, customizing the description for the
event-nameand the value field name.
NoteYou can customize both event and field names with multiple entries, enhancing the variety of events displayed on the blueprint editor node page.
-
Open the
index.jsfile and configure the event name for theemitmethod.this.emit('event-name', obj);NoteThe event name used in emit must match the one in the
package.jsonfile. Pass parameters as an object type, and include multiple fields if necessary.
Import data interface
The following example uses the ticker board component's Import Data Interface action to demonstrate how to implement the Import Data Interface action in custom components. 
-
Open the
index.jsfile after creating the component with the developer tool. -
Find the
renderfield within the datav field in theindex.jsfile. -
Customize the action code logic for the Import Data Interface within the
renderfield.
NoteYou can customize action logic with multiple entries, which increases the variety of actions available on the blueprint editor node page.
Add interactive actions
The following example uses the Show and Hide actions of the ticker board component to demonstrate how to add interactive actions. 
-
Open the
package.jsonfile after creating the component with the developer tool. -
Search for the
publicHandlerfield within the datav field in thepackage.jsonfile. -
Customize the descriptions for Show and Hide within the
publicHandlerfield, ensuring they align with the method names in theindex.jsfile.
NoteCustomize action logic with multiple entries to expand the range of actions displayed on the blueprint editor node page.
-
Set the content of
containerin theindex.jsfile.
NoteField names in
containermust correspond with those in thepackage.jsonfile.this.container.show(); // Show code, developer customizes this.container.hide(); // Hide code, developer customizes