11-17-2016 03:08 AM
Hi,
My task is to hide password and verify password fields from Alfresco UI New User Page and hardcode one default password for all the new users. I have already made the custom code such that the new user is receiving the mail with username and random password...
How to hide the password and verify password fields? Any suggestion will be helpful...

11-17-2016 03:53 AM
This is not something Alfresco ever considered people might want to customize, so this is something rather hard to customize. The simplest / easiest option in this case might just be to override the users.get.html.ftl template via the web-extension folder and change the HTML markup of the create user form, i.e. apply the CSS class "hidden" to the field rows of the fields you want to suppress and set the value on the password inputs to your default password.
11-17-2016 08:03 AM
share/src/main/amp/web/components/console/users.js
share/src/main/amp/config/alfresco/web-extension/components/console/usergroups/users.get.html.ftl
Please let me know whether the location is wrong, As I have been making all the mentioned changes in the above files.
11-17-2016 09:34 AM
Your folder structure to override "users.get.html.ftl" is little incorrect. In order to override "users.get.html.ftl" place it at
src\main\amp\config\alfresco\web-extension\site-webscripts\org\alfresco\components\console\usersgroups\
Note: You have also made usergroups instead of usersgroups
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.