Results 1 to 2 of 2

Thread: Custom fields + Accounts Dashlet

  1. #1
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Custom fields + Accounts Dashlet

    HI,

    I have modified the Accounts dashlet and place the modifed version in the custom directory and the change work. I set it up so I can filter using some of my custom fields.

    But when I try to make one of my custom fields default => true so it will display on all accounts dashlet It doesn't work.
    E.G.

    In the MyAccountsDashlet.data.php in the array I have

    PHP Code:
    'pr_account_no_c' => array('width' => '7',
                                                  
    'label' => 'LBL_PR_ACCOUNT_NO',
                                                  
    'default' => true
                                                 
    ), 
    When I make default non-custom fields default=> true they appear on the Dashlet and when I make ones that are True default=>false they are removed from the dashlet.

    Is this a bug, because I had to edit a Dashletgeneric.php to allow my dashlet to filter by custom fields, so I'm wondering if I need to make another edit to allow a custom field to be made default.

    Current all that happens if I make teh Custom field default is that it move to the top to the available fields?

    Rgds
    Chris
    Last edited by chrislynch8; 2009-08-18 at 08:27 AM.
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  2. #2
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: Custom fields + Accounts Dashlet

    BUMP

    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom fields as Dashlet Filters?
    By SilenceIT in forum Developer Help
    Replies: 3
    Last Post: 2011-07-12, 02:09 PM
  2. Custom fields Accounts
    By nikobi in forum Developer Help
    Replies: 9
    Last Post: 2009-03-02, 08:19 PM
  3. Dashlet and custom fields
    By guligo in forum Developer Help
    Replies: 0
    Last Post: 2008-06-02, 07:23 AM
  4. Custom Fields Problem in Accounts
    By wns in forum Help
    Replies: 9
    Last Post: 2007-01-21, 02:23 PM
  5. Replies: 0
    Last Post: 2006-10-29, 10:09 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
  •