AVEVA OMI Software Developer Kit
Use the NamedCredentialAttribute Class

Design Time Option 1: Use the NamedCredentialAttribute class

Note: Use this option if your app will not include an editor. The remaining options for implementing credential management are intended for use within an app editor.
  1. Configure security in the ArchestrA IDE. Add authorized users and Named Credentials for the galaxy. See Configure Named Credentials and the section "Configure Security" in the Application Server User Guide.
  2. Decorate a type string public property with the NamedCredentialAttribute class. This adds a built-in dropdown list of configured credential names.
  3. When the ViewApp builder adds your app to a layout pane, the dropdown list containing the configured credential names appears in the app properties.
  4. The ViewApp builder selects the appropriate named credential from the dropdown list.
  5. When the ViewApp is deployed, the AVEVA OMI framework provides the name of the configured credential to the app. See Named Credentials at Run Time for information about the run-time workflow.
See Also