开发者

SugarCRM - how to customize user management tools?

开发者 https://www.devze.com 2022-12-23 14:51 出处:网络
I\'m new to using SugarCRM. I want to have a users page that does the following: Allow a user to create sub-users, and each sub-user can then create additional sub users

I'm new to using SugarCRM. I want to have a users page that does the following:

  1. Allow a user to create sub-users, and each sub-user can then create additional sub users
  2. Display users in an expandable and collapse-able hierarchical tree structure
  3. Add more attributes to each user
  4. Any newly created user should be able to login to SugarCRM using suga开发者_如何转开发r's existing authentication.

Does anyone know how to do this? Or if they can recommend tutorials/resources for me to study?


John, you will need a one to many relationship based on a custom module. One user can create a sub user.

So begin by defininig that module and relationship inside of SugarCRM studio. Once this is defined if you try to throw a subpanel on the Users module you will notice an add / delete / edit button, allowing you to add / delete sub users.

To add more attributes to your user you simply go into studio, select that module and add _c (custom fields) to the corresponding table. You can add custom text, int, long, float, varchar, etc fields.

0

精彩评论

暂无评论...
验证码 换一张
取 消