Results 1 to 6 of 6

Thread: Repeating rows in a module

  1. #1
    robertmarkbram is offline Senior Member
    Join Date
    May 2011
    Posts
    24

    Default Repeating rows in a module

    Hi All,

    I have a module that collects some demographic information about a person, that includes their affiliation with multiple organisations - this latter part looks like I need repeating rows in a module, where each row includes a RELATE field.

    Example:
    - name
    - address
    - blah blah
    - RELATE-to-organisation-1, role-in-org1, start-date, end-date
    - RELATE-to-organisation-2, role-in-org2, start-date, end-date
    - RELATE-to-organisation-3, role-in-org3, start-date, end-date

    Is there a way to do this?

    Thanks for any advice!

    Rob

  2. #2
    robertmarkbram is offline Senior Member
    Join Date
    May 2011
    Posts
    24

    Default Re: Repeating rows in a module

    Sorry, I meant to put this in the Developer Help section...

  3. #3
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Repeating rows in a module

    This is only a 60 second brainstorming session with not alot of data to go on but what I would do is this


    1. Create a new tab-less module that has a relationship to organisations and a start and end date
    2. relate that module to your Person module (Contacts, whatever)

    Then you can add as many organisation as you want with dates and all in a neat little subpanel.

    You will probably have to use SugarLogic or a logic hook to transfer the Organisation name to the 'Name' field as name is required and there is no use typing in the Organisation name twice. Then you can hide the 'Name' field on the Edit and Detail views and only show it on the Subpanels where it will provide a link back to the module.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  4. #4
    robertmarkbram is offline Senior Member
    Join Date
    May 2011
    Posts
    24

    Default Re: Repeating rows in a module

    Thank you for the feedback Kenneth - I will experiment with this.

    Is SugarLogic easy? Is it available to Community edition?

    Rob

  5. #5
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Repeating rows in a module

    To the best of my knowledge sugarlogic is in CE it is just not exposed, I might be wrong on that.

    I would go with a simple logic hook though for this. Thats defiantly in CE and is well documented at http://developers.sugarcrm.com
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  6. #6
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: Repeating rows in a module

    Sugar Logic is currently not in CE, only PRO and above.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Repeating tasks
    By Mithun in forum Help
    Replies: 3
    Last Post: 2009-11-05, 05:51 AM
  2. prevent repeating save()
    By JVWay in forum Developer Help
    Replies: 1
    Last Post: 2009-07-15, 11:16 AM
  3. How to remove blank rows in weeks list in calendar module
    By petercoloney in forum Developer Help
    Replies: 0
    Last Post: 2009-05-16, 07:07 AM
  4. Emails repeating
    By cmartin in forum Help
    Replies: 0
    Last Post: 2008-09-15, 07:04 PM
  5. Replies: 0
    Last Post: 2007-08-01, 12:37 PM

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
  •