Results 1 to 3 of 3

Thread: Enabling audit for Prospects

  1. #1
    marclangston is offline Sugar Community Member
    Join Date
    Oct 2009
    Posts
    98

    Default Enabling audit for Prospects

    My Opportunities, Accounts, and Leads are enabled for auditing, but not Prospects. I've seen referencing to auditing in various vardef.php files but I'm unsure exactly where to add/change code to enable it for Prospects. Some related information was provided in another thread (http://www.sugarcrm.com/forums/showthread.php?t=60925) but I'm not sure if I should copy something or create something, place it in the custom\Extension\modules\Prospects\Ext\Vardefs directory some other directory, and exactly what modifications I'd need to make.

    Can anyone provide me some direction as to how to enable this?
    Thanks.
    marc

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Enabling audit for Prospects

    You have to create the folders and file custom/Extension/modules/Prospects/Ext/Vardefs/vardefs.ext.php containing this code:

    PHP Code:
    <?PHP
    $dictionary
    ['Prospect']['audited'] = true;
    $dictionary['Prospect']['fields']['<field_name>']['audited'] = true;
    ?>
    Obviously replace <field_name> by the fields you want to enable auditing.

    Then go to Admin -> Repair -> Quick Repair and Rebuild.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    marclangston is offline Sugar Community Member
    Join Date
    Oct 2009
    Posts
    98

    Default Re: Enabling audit for Prospects

    Thanks so much, André. This was exactly what I needed - the file name as well as the syntax. I've got about a dozen Prospect fields now being audited.
    marc

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Enabling SOAP login
    By LeFou in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2009-09-17, 07:00 PM
  2. Enabling JSON
    By kageeslin in forum Developer Help
    Replies: 11
    Last Post: 2009-01-24, 01:57 PM
  3. Replies: 0
    Last Post: 2008-08-20, 10:11 PM
  4. enabling the admin
    By sudheerbattula in forum Help
    Replies: 1
    Last Post: 2007-06-18, 04:53 PM
  5. Enabling auditing?
    By StephaneZ in forum General Discussion
    Replies: 3
    Last Post: 2005-09-30, 05:25 PM

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
  •