Results 1 to 6 of 6

Thread: problem : custom field editing in studio

  1. #1
    tudz is offline Member
    Join Date
    Apr 2008
    Posts
    6

    Default problem : custom field editing in studio

    hey,

    In studio in can't edit some custom fields
    I'd like to change them to required, mass update,audit...but all the checkboxes and other fields are disabled
    of course I should be able to edit these from the source code, but I want the end user to be able to edit them from the studio

    can anyone help?

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

    Default Re: problem : custom field editing in studio

    Is there any pattern with those custom fields? Same type maybe?

    A screenshot of your Studio and problematic custom fields would be helpful.
    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

  3. #3
    tudz is offline Member
    Join Date
    Apr 2008
    Posts
    6

    Default Re: problem : custom field editing in studio



    this happens in a custom module
    I don't think the field type matters, I mean if I add a custom field now , I am able to edit it, but I have some old ones that don't behave the same ...and there's a bunch of 'em

    but wait , I guess I got it
    these fields don't appear to be custom(there's no "_c" at the end of them)
    still I'd like them to be editable
    can I do this from the vardefs.php?
    and if so, what should I add/remove there?

  4. #4
    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: problem : custom field editing in studio

    Hi, tudz

    It is not a custom field.
    It is a native field of a custom module.
    All native field can't be edited through studio, bu you can modify its properties creating an extended vardefs.

    There are articles in the sugarwiki explaining how to do that.

    Regards
    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.

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

    Default Re: problem : custom field editing in studio

    Yeah, these aren't custom fields. We plan to put support into Studio for modifying mass update, audit, etc for default fields.

    In the meantime, here is an upgrade-safe way to set these values:

    create a new file at:
    .\custom\Extension\modules\Accounts\Ext\Vardefs\cu stom.php


    In this file, put the following:
    PHP Code:
    <?php
    $dictionary
    ['Account']['fields']['industry']['massupdate'] = true;
    $dictionary['Account']['fields']['industry']['audited'] = true;
     
    $dictionary['Account']['fields']['industry']['required'] = true;
    ?>
    Then go to:
    • Admin->Repair->Quick Repair and Rebuild->Repair
    • Admin->Repair->Rebuild Relationships
    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

  6. #6
    tudz is offline Member
    Join Date
    Apr 2008
    Posts
    6

    Default Re: problem : custom field editing in studio

    thanks a lot guys

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  2. Replies: 7
    Last Post: 2006-06-06, 07:56 PM
  3. custom field in Sugar OS 4.0 error!
    By bennn in forum General Discussion
    Replies: 3
    Last Post: 2006-01-24, 09:08 PM
  4. Replies: 3
    Last Post: 2005-10-21, 05:28 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
  •