Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Integrator for Business Analytics

Use a schema imported from a schema registry

  • Last UpdatedMay 21, 2024
  • 1 minute read

Read About schemas for information on the different ways you can use a schema.

  1. In the Message Designer pane, click Schema Options.

  2. Click Select Import Schema and choose Schema Registry.

  3. Select the schema from the Schema Registry Browser and click Use Selected Schema.

  4. Assign the value to the schema properties using one of the following methods:

    • Drag an asset or attribute from the asset shape on to the schema.

    • Click the pencil icon to open the Edit Property window, pick an asset or attribute from the shape, and then pick a value from the Property Data Content list. Click Update Property.

    Before you can continue and publish your view, you must provide valid values for all properties in your schema. Avro schemas imported from the schema registry enforce strict rules. The name and data type cannot be changed. If there is a data type mismatch between the schema and the selected value, PI Integrator for Business Analytics will attempt a data type conversion. If it cannot convert the data type, then null values appear for that property. Check the Preview pane for null values. You must resolve all mistyped values. If there are unresolved values, the view will not publish. The exception to this is if the schema allows nulls; in this instance, unresolved data type mismatches do not have to be resolved and you will be able to publish your view.

  5. Continue with the next procedure Configure when messages are sent.

Related Links
TitleResults for “How to create a CRG?”Also Available in