Results 1 to 4 of 4

Thread: MyAccount Dashlet list

  1. #1
    webcompany is offline Junior Member
    Join Date
    Feb 2008
    Posts
    3

    Default MyAccount Dashlet list

    I'd like to modify the query that rules the MyAccount Dashlet:
    When an user is logged in, he has to see the list of his assigned accounts and the accounts of the users that depend from him.

    Anyone knows where is the query to modify?

    thank you
    Michele

  2. #2
    netron is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    85

    Default Re: MyAccount Dashlet list

    have you tried editing the dashlet via the sugar interface?
    you should get an ajaxy popup interface that allows you to customise the fields that are displayed.

  3. #3
    webcompany is offline Junior Member
    Join Date
    Feb 2008
    Posts
    3

    Default Re: MyAccount Dashlet list

    in effect i tryed to bypass the problem using the interface.
    It works!

    But

    i should modify that query because i need to implement a system of authorization and i can regulate it modifying the queries.
    Even if i've solved this problem of the list using the dashlet editor, i have another step to pass: how can i display all the companies that depend (field parent_id) from the ones that are already displayed?

    for example:
    if there are 2 companies: A and B
    where B depends from A

    if A is assigned to me
    i should see also B in the list.

    I hope that i was clear!

  4. #4
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: MyAccount Dashlet list

    Look at the files in modules\Accounts\Dashlets\MyAccountsDashlet\.

    The search parameters and default search values are defined in the MyAccountsDashlet.data.php file.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Email management - Improvements in future releases
    By manoj in forum Feature Requests
    Replies: 102
    Last Post: 2009-11-17, 06:43 AM
  3. Replies: 4
    Last Post: 2009-10-28, 10:21 AM
  4. Trying to install a dashlet in 5.0
    By moschap in forum Installation and Upgrade Help
    Replies: 9
    Last Post: 2008-07-08, 03:31 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
  •