Results 1 to 6 of 6

Thread: Implement Add Invitees in custom module

  1. #1
    karenAndy is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    39

    Exclamation Implement Add Invitees in custom module

    Hello SugarPeople!

    So the feature I was trying to implement is this:

    I have a custom module called Journal, in this Journal I will save the register of Calls, Meetings, Emails, etc. But I have to be able to add several users and several contacts to each journal (similar to the Meetings module). I tried to use the Meetings module but all I really need is to show the list of Contacs and Users and when I press the name of each Contact and/or User in that list, it has to redirect me to the Contact or User detail view.

    Bottom line, I do need the functionality of Add Invite of the Meetings module, but for the display all I need is a list where the names are links to the respective detail view.

    Is this to difficult to accomplish?

  2. #2
    karenAndy is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    39

    Unhappy Re: Implement Add Invitees in custom module

    Can someone help me or at least give me a hint on what to look please, I would really appreciate this!

    I'm running Sugar Version 6.1.2 (Build 5555)

  3. #3
    karenAndy is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    39

    Default Re: Implement Add Invitees in custom module

    Hello again!

    I have thought about how to perform this action and I came up with a few ideas:

    1. Add a dynamic field like email in contacts, but instead of inserting and email it will look for the posible contacts. I think this is harder to perform (correct me if I'm mistaken).

    2. Create a MultiSelect-Related field that allows me to select several contacts. This would be my ideal solution, but again I don't know how to make this feature.

    I would really appreciate if someone can give me a hint on this.

  4. #4
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: Implement Add Invitees in custom module

    A easy way to have this invitation module is creat a custom module, and then create a relation ship with contacts and leads. Then you can select multiple concats/leads at once.

    Then after you can program a custom function that reads all the related contacts and send mails to them.

    Just a suggestion, there is external tools as inbox25 that already do it.

    Then you can choose, develop you own solution or use an existing.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  5. #5
    karenAndy is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    39

    Default Re: Implement Add Invitees in custom module

    Hi Rafael,

    Thanks for your response, but I'm really not looking for the send emails functionality, I know that I can create a 1:n or n:m relationship between my Custom Module and the Contacts Module but I don`t want to add the contacts throw Subpanel.

    As I said, what I really want is to add a MultiSelect Related field, so I can choose the contacts that where in a Conference or something like that, I don't need to relate the Contacts to my Custom Module, I just want to say these are the people that were at the meeting (a Journal of meetings, calls, emails, conferences, etc).

    But thanks for your response

  6. #6
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: Implement Add Invitees in custom module

    Thanks for your explanation.
    I think a possible solution to implement what you describle is to create a enum field that allow multi select, using some code like that in your vardefs file.
    PHP Code:

     
    'contacts_ids' => 
                              array (
                                
    'name' => 'contacts_ids',
                                
    'type' => 'enum',
                                
    'label' => 'LBL_Contacts',
                                                    
    'isMultiSelect' => true,
                                
    'function' => 
                                array (
                                  
    'name' => 'get_contacts_array'// you have to program this function
                                  
    'params' => 
                                  array (
                                    
    => false,
                                  ),
                                ),
                              ), 
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Implement SugarFeed on Accounts and custom Modules
    By lobomaujp in forum Developer Help
    Replies: 2
    Last Post: 2010-11-22, 08:06 AM
  2. Meeting: Add Invitees - How to search custom modules?
    By tahpot in forum Developer Help
    Replies: 0
    Last Post: 2010-02-24, 04:36 AM
  3. Replies: 1
    Last Post: 2009-07-09, 10:00 AM
  4. Replies: 2
    Last Post: 2009-04-15, 10:26 AM
  5. Replies: 0
    Last Post: 2007-05-18, 11:22 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •