Web Portal: make a field not editable when adding new employee

Hi, how can I make an attribute not editable when adding a new employee from the Web portal and vice versa? E.g. I cannot modify the manager attribute (by default I guess), is it because of a flag in web designer?

Most important: Version 8.1

Thanks,
Roberto

Parents
  • Hi,

    For the standard project (VI_StandardWeb), open the web designer, select your web project and click edit->Configure Project->Web Project.  Search the section for Persons/Identities (in my 9.x  they replaced the name by Identities) or either click the search bar on top of options for the configuration project tab and look for the key VI_Employee_MasterData_Attributes , as an example. This setting lists the master attributes for a Person, such as LastName, Firstname, Centralaccount and so on. On the configuration setting, click on the + sign under the Value (custom) and add the attributes you need that will define your person's master data. Could be the same you have now, only that now you can edit them. Select one of these attributes/properties to edit its settings and scroll down. There's a section named "Restrict the property to be read-only". Here you can specify a condition that'll set that property to read only. Use 1=1 as the condition, for instance,  and you'll no longer be able to edit that property.

    HtH. I know it's a little bit hard to find and the forum does not easily allow to insert screenshots 

Reply
  • Hi,

    For the standard project (VI_StandardWeb), open the web designer, select your web project and click edit->Configure Project->Web Project.  Search the section for Persons/Identities (in my 9.x  they replaced the name by Identities) or either click the search bar on top of options for the configuration project tab and look for the key VI_Employee_MasterData_Attributes , as an example. This setting lists the master attributes for a Person, such as LastName, Firstname, Centralaccount and so on. On the configuration setting, click on the + sign under the Value (custom) and add the attributes you need that will define your person's master data. Could be the same you have now, only that now you can edit them. Select one of these attributes/properties to edit its settings and scroll down. There's a section named "Restrict the property to be read-only". Here you can specify a condition that'll set that property to read only. Use 1=1 as the condition, for instance,  and you'll no longer be able to edit that property.

    HtH. I know it's a little bit hard to find and the forum does not easily allow to insert screenshots 

Children