Token and Preferences Server Integration Connector

Overview

Component Name: gpii.firstDiscovery.panel.token.prefsServerIntegrationConnection

File: panels.js

This connector sends an http request to the first discovery server to save user selected preferences when the token panel becomes visible.

Using the Token and Preferences Server Integration Connector component

Typically, the Token and Preferences Server Integration Connector is added as an extra grade to the Token Panel specification in the Auxiliary Schema:

"token": {
    "type": "gpii.firstDiscovery.token",
    "panel": {
        "type": "gpii.firstDiscovery.panel.token",
        "container": ".gpiic-fd-prefsEditor-panel-token",
        "template": "%templatePrefix/token.html",
        "message": "%messagePrefix/token.json",
        "gradeNames": ["gpii.firstDiscovery.panel.token.prefsServerIntegrationConnection"]
    }
}

Grades

This component uses the following base grades:

Dependencies

<script type="text/javascript" src="src/lib/infusion/infusion-custom.js"></script>
<script type="text/javascript" src="src/js/msgLookup.js"></script>
<script type="text/javascript" src="src/js/tooltip.js"></script>
<script type="text/javascript" src="src/js/panels.js"></script>