Get userGroups for my custom-textfield form control

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2014 04:35 PM
Hi!
I am using Alfresco 4.2.e (on Windows Server 2008 R2)
** I feel that I have spoken really incorrectly, sorry… **
I would like to obtain a disabled textfield for some user groups, and I have added a custom-textfield.ftl in
C:\AlfrescoDemo\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\form\controls\
For the moment, my custom-textfield.ftl just allows admin user to modify my textfield, because I can access to the user root object, but it doesn't contain information on the user groups.
If I can use a script or a webscript, where have I to do that? How include the script in my ftl?
I don't know where I have to create my web script or my javascript, and I don't know how to include it in my custom-textfield.ftl
I am using Alfresco 4.2.e (on Windows Server 2008 R2)
** I feel that I have spoken really incorrectly, sorry… **
I would like to obtain a disabled textfield for some user groups, and I have added a custom-textfield.ftl in
C:\AlfrescoDemo\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\form\controls\
For the moment, my custom-textfield.ftl just allows admin user to modify my textfield, because I can access to the user root object, but it doesn't contain information on the user groups.
If I can use a script or a webscript, where have I to do that? How include the script in my ftl?
I don't know where I have to create my web script or my javascript, and I don't know how to include it in my custom-textfield.ftl
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2014 04:22 PM
Perhaps it is a javascript file I can modify to add my function?
