Defining host-level profiles
Profiles can be defined separately for each host application, in the
<HostConfiguration> section of the gateway.config
file.
- You can specify any number of host-level profiles for each host application. This acts as an additional level of filtering on the list of profiles specified in the custom data configuration (if used), or on the full list of profiles available on the Granta MI system.
- If you don’t specify host-level profiles for a particular host application, users will see all profiles in the custom data configuration (if used), or on the Granta MI system.
To specify a host-level profile, add an entry to the relevant
<HostConfiguration> section. You can use either the profile
key, or the profile name, as defined on your Granta MI system.
To specify a profile using its name, use this format. (Note that profile names must be unique on your system.)
<HostOption a:name="HostLevelProfileName">Profile_Name_Here</HostOption>To specify a profile using its key, use this format.
<HostOption a:name="HostLevelProfileKey">PROFILE_KEY_HERE</HostOption>
Example:
In the example configuration below, NX users will only see the ‘Fluids’ and ‘Mechanical’ profiles, Ansys Electronics Desktop users will only see the ‘Electronics’ profile, and Ansys Workbench users will see all three profiles.
<Host a:host="MIMaterialsGateway_NX">
[...]
<HostOption a:name="HostLevelProfileName">Mechanical</HostOption>
<HostOption a:name="HostLevelProfileName">Fluids</HostOption>
[...]
</Host>
[...]
<Host a:host="MIMaterialsGateway_Ansys">
[...]
<HostOption a:name="HostLevelProfileName">Mechanical</HostOption>
<HostOption a:name="HostLevelProfileName">Fluids</HostOption>
<HostOption a:name="HostLevelProfileName">Electronics</HostOption>
[...]
</Host>
[...]
<Host a:host="MIMaterialsGateway_AEDT">
[...]
<HostOption a:name="HostLevelProfileName">Electronics</HostOption>
[...]
</Host>