How do I add or change a View file?

Purpose

Use this procedure to add or update a viewConfig file. The default.viewConfig file is always used by intents created from the Intent Types view. Other viewConfig files can be created after intent type creation.

The ArtifactAdmin label is used to indicate that an intent type has been installed using Artifacts. For these intent types, if you want to make changes to views, Nokia recommends creating a new view instead of modifying views. This will allow you to export the views you create and save them to be added into any future versions of the intent type created.

Steps
 

Open the Edit Intent Type form:

  1. From Network Intents, Intent Types, select an intent type and click png1.png (Table row actions), Edit.

  2. From the intents list for an intent type, click EDIT INTENT TYPE.


In the VIEWS tab, add or modify view files as required.

  1. Click Views png5.png.

  2. In the Add View form that opens, enter the name of the view and click ADD.

    A name.viewConfig file is created in the list at the left of the page.

  3. Click on the viewConfig file in the list and enter or paste the view configuration information in the panel.

  4. Click SAVE VIEWS. A name.schemaForm file is automatically created.

  5. If needed, click on the FORM tab and select name.schemaForm from the drop-down to test the input form.

If the intent type includes an RPC action, add a View file called rpc_schema.viewConfig to provide user interface information for the RPC action.

See the Network Intents tutorial on the Network Developer Portal for more information if needed.


Click UPDATE.

End of steps