News & Updates
Training & Certification
to create and rate content, and to follow, bookmark, and share content with other members.
how to do to duplicate a a group of module?
Question asked by
on Oct 23, 2015
on Oct 23, 2015 by Francesca Shiekh
Show 0 Likes
i want duplicate a gruop of module like sales (contact - opportunity lead etc ) that i want to edit with another name, what i have to do in studio or what i can do?
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Oct 23, 2015 10:09 AM
May I ask why you wish to duplicate it?
In general duplication of data is not a good thing for relational databases, perhaps you can just add a qualifier in the existing module. For example, if you have different types of contacts then you can add a contact type.
If you then need to restrict who see what types you can use Teams for that, or if you need to go more granular, use Angel Magaña's Dynamic Views solution (v.7.x) which allow you to have completely independent views with select fields/buttons based on some criteria on the User's record (you can use title or role or some custom field to determine what they see).
If you are adamant about duplication, one way is to use module builder and choose the "person" template to build the copy of the contact module, for example, and then add the fields you need/remove the ones you don't.
For more on module builder you can start here:
I suppose there is a way to copy a module in code, but, off the top of my head, it would not be a simple approach as you would have to rename all the relationships and class references...
In bocca al lupo.
Show 0 Likes
Retrieving data ...
Relate notes, emails, and calls to both opportunities and accounts?
Before_save logic hook for mass update
How to manually create an upload field in CE 6.5?
File Field for Uploads in Cases Module