Results 1 to 6 of 6

Thread: Custom Module Data in List View

  1. #1
    Join Date
    Apr 2010
    Posts
    10

    Default Custom Module Data in List View

    Hello everyone. I 'm a new Sugar user so this is my first post. I think I'm going to find Sugar very helpful in managing my small IT business.

    Anyway, I created a custom module to help me manage servers for each contact. It's working well except for the List view, which doesn't have hyperlinks to the Detailed view.



    The only way to view the detailed information is to actually edit the record, which I don't all my users to be able to do. I didn't seem to find a setting in the Module Builder / ListView where I can specify that ListView entries are to be links to DetailView. Did I miss something, or isn't this possible with Custom Modules?

    Thanks in advance for your help.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Custom Module Data in List View

    If you go into custom/modules/YOURMOD/metadata/listviewdefs.php you can add 'link' => true, to the column you want to link to the detail view.

  3. #3
    Join Date
    Apr 2010
    Posts
    10

    Default Re: Custom Module Data in List View

    Quote Originally Posted by eggsurplus View Post
    If you go into custom/modules/YOURMOD/metadata/listviewdefs.php you can add 'link' => true, to the column you want to link to the detail view.
    Thank you for your reply! But, I'm scratching my head. My module folder doesn't have a metadata folder - just an "Ext" folder. Does the metadata directory & the listviewdefs.php file need to be created manually?

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Custom Module Data in List View

    Quote Originally Posted by thinkwelldesigns View Post
    Thank you for your reply! But, I'm scratching my head. My module folder doesn't have a metadata folder - just an "Ext" folder. Does the metadata directory & the listviewdefs.php file need to be created manually?
    If you go into studio and save and deploy list view it will create a medadata folder & listviewdefs.php that you can edit

    alternatively just create the folder & file
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  5. #5
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Custom Module Data in List View

    Sorry, forgot to mention that part. Thanks Mike.

  6. #6
    Join Date
    Apr 2010
    Posts
    10

    Default Re: Custom Module Data in List View

    Quote Originally Posted by mikesolomon View Post
    If you go into studio and save and deploy list view it will create a medadata folder & listviewdefs.php that you can edit

    alternatively just create the folder & file
    Thanks! My first thought was that I had already done it - which I had. So went in to the Module builder and blew away all the changes I had made to Listview, then deployed the bogus stuff, then re-changed it to the Listview I wanted and SHAZZAM - it worked.

    Thanks a million both of you for your help.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom Module List View
    By cagatay in forum Help
    Replies: 19
    Last Post: 2011-02-04, 05:35 PM
  2. Add new custom button to list view of custom module
    By rob78 in forum Developer Tutorials
    Replies: 7
    Last Post: 2010-02-19, 08:06 AM
  3. link to detail view from list view in the custom module problem
    By shamimwilson in forum Developer Help
    Replies: 10
    Last Post: 2009-12-24, 10:47 AM
  4. Replies: 9
    Last Post: 2009-07-06, 10:55 AM
  5. Custom query for list view in custom module
    By precar in forum Developer Help
    Replies: 3
    Last Post: 2009-06-15, 04:01 AM

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
  •