You can specify the list of attributes to display in the
Properties panel depending on the current credentials of the user
selected in the Preferences dialog box.
This procedure uses the Document.json for the Document type of
object.
-
Open the Document.json file located at
/home/data/RTV/[serverName]/apache-tomcat/webapps/3DSpace/WEB-INF/classes/resources/masks/[bus|rel|itf]
.
-
Add credentials in the
UserContext.AppName
format.
Note:
If two contexts need to display the similar value, then you can
declare these contexts in the
UserContext.AppName1:UserContext.AppName2 format in the
Document.json file.
-
Add a list of attributes to display for these credentials. For example:
"VPLMProjectLeader.Company1.CollabSpaceA.Write": {
"attributes": [
{
"name": "project"
},
{
"name": "current"
}]
}
This example displays the collaborative space and maturity status in the
Properties panel for any user who is logged in as a Leader in Company1 organization and CollabSpaceA collaborative space
The Properties panel displays the attributes defined for the current
credentials of the user, according to the following order:
- Credentials (access role + organization + collaborative space)
- Access Role
- Context (organization + collaborative space)
- Collaborative space
- Organization
- Default