Legacy platform

Creating an identifier screen

You can create new identifier screens and use them in the application.

Before you begin

You must have a clear understanding of the files required to create an identifier screen.

Procedure

  1. Create the following .js files in the appropriate directory under <runtime>/extensions/wscisccs/webpages/
    • <screen_name>BehaviorController.js
    • <screen_name>BehaviorController.js
    • <screen_name>InitController.js
  2. Create a <screen_name>.html file in the <runtime>/extensions/wscisccs/webpages/../templates/ directory, to define the widget repository.
    Here, .. indicates sub-folders under webpages.
  3. Create a <screen_name>.html file in the <runtime>/extensions/wscisccs/webpages/../identifiers/<identifier_id>/ directory, to define the UI for the identifier.
    Here, .. indicates sub-folders under webpages.
  4. Create the following controller XML files in the <runtime>/extensions/wscisccs/webpages/controller/default/ directory.
    • InitController.xml - Define this XML file similar to that of a regular screen.
    • BehaviorController.xml - Define this XML file similar to that of a regular screen.
  5. Create an ExtnScreenIdentifiers.xml file in the <runtime>/extensions/wscisccs/webpages/identifiers/default/ directory, to define the primary and secondary identifiers and their mappings.

What to do next

You can incorporate the identifier screen in your application in multiple ways.