cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco share + form

romschn
Star Collaborator
Star Collaborator
Hi,

I will try to explain a scenario with an example.

I have a content type - employee. Which has 3 metadata - EmployeeID, JobLocation, Designation, Salary.

I have provided a user interface - similarly using - create content in alfresco share way and opening up this content type to create employee content.
For that I need to configure this form in share-config-custom.xml.

Now, I have one requirement where in - I need to one field - Salary as read-only to some users.

So for that - the approach I was planning was -
1. Configure another form in share-config, and for salary field use the custom control to make it read only.
2. Based on user logged-in, show appropriate form to the user.
Is this approach correct?

Or is there a way using the one form which I have created earlier, I can handle above scenario.

Appreciate your inputs.

Thanks,
1 REPLY 1

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

I think you can acheive this by using single form-config only.

for the salary use a custom control, in that control add logic to make readonly depending on the loggedin user.