Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Custom Fields Without Studio

  1. #1
    SlidingHorn's Avatar
    SlidingHorn is offline Senior Member
    Join Date
    May 2010
    Posts
    20

    Default Custom Fields Without Studio

    I'm giving up on the studio feature, because I can't get anything to load in the "Main" area. I attached a screen shot so you can see what I'm talking about.

    Anyhow, my question is, how would I add a custom field ("Contact Type" - pretty much identical to the "Account Type" field) to the contacts module without using studio...or if you can help me get studio to work, that'd be great too.

    I've allocated more than the suggested memory & upload limits in my php.ini, performed a quick repair/rebuild, and have checked permissions. I'm at a loss.
    Attached Images Attached Images  

  2. #2
    icson.zhou@gmail.com is offline Senior Member
    Join Date
    Mar 2010
    Posts
    29

    Default Re: Custom Fields Without Studio

    see the /var/log/httpd/error_log says what wrong

  3. #3
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Custom Fields Without Studio

    Quote Originally Posted by SlidingHorn View Post
    I'm giving up on the studio feature, because I can't get anything to load in the "Main" area. I attached a screen shot so you can see what I'm talking about.

    Anyhow, my question is, how would I add a custom field ("Contact Type" - pretty much identical to the "Account Type" field) to the contacts module without using studio...or if you can help me get studio to work, that'd be great too.

    I've allocated more than the suggested memory & upload limits in my php.ini, performed a quick repair/rebuild, and have checked permissions. I'm at a loss.
    There are certainly ways to do this, however, all you are doing is dancing around a problem. The problem you are seeing is most likely indicates a permissions issue, the same type which is likely to cause problems in other areas of the application.

    You are best off fixing the original problem or you are very likely going to see another manifestation of it elsewhere.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  4. #4
    joshh is offline Member
    Join Date
    Apr 2010
    Posts
    12

    Default Re: Custom Fields Without Studio

    I had a similar problem with Studio that was solved by switching to an older version of PHP (5.2.6 from 5.3). This was with SugarCRM CE 5.5.0a.

    Creating custom fields without Studio is not too difficult. Look at the section on vardefs in the Sugar Developer Guide (Chapter 4 Customizing Sugar).

    http://developers.sugarcrm.com/docs/...r.html#9000029

    I agree with Angel though - best fix the root problem here as it will likely trip you up in other areas.

  5. #5
    SlidingHorn's Avatar
    SlidingHorn is offline Senior Member
    Join Date
    May 2010
    Posts
    20

    Default Re: Custom Fields Without Studio

    Quote Originally Posted by Angel View Post
    The problem you are seeing is most likely indicates a permissions issue,
    Already re-checked permissions, and have again set them according to this manual. Unless that page is wrong, it's not a permissions issue

    Looking through the forums, I found someone having the same issue as I am here, so I loaded Firebug, and we have the same error.

    This is the error given in Firebug:

    Code:
    parseJSON
    http://www.ryansuniverse.com/crm/include/javascript/sugar_grp1_yui.js?c=1
    Line 9335
    Any help is always appreciated
    Last edited by SlidingHorn; 2010-05-17 at 02:05 PM.

  6. #6
    SlidingHorn's Avatar
    SlidingHorn is offline Senior Member
    Join Date
    May 2010
    Posts
    20

    Default Re: Custom Fields Without Studio

    just bumping the thread...any help available on this one?

  7. #7
    SlidingHorn's Avatar
    SlidingHorn is offline Senior Member
    Join Date
    May 2010
    Posts
    20

    Default Re: Custom Fields Without Studio

    Still need help here. Thanks ahead of time, everyone!

    *Bump*

  8. #8
    snikwahj is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    38

    Default Re: Custom Fields Without Studio

    As suggested by joshh above, I'd say that the issue probably lies with your platform not being supported in the version of SugarCRM you are running.

    Looking at the screenshot above, your workstation looks like you are running Ubuntu 10.04 so I would ask whether the server that your Sugar is installed on is also running that version (or if the install is on the same machine as your workstation)? If that is the case then the PHP version installed as part of Ubuntu 10.04 (PHP 5.3.2) is not supported in SugarCRM v. 5.5.x. I have had to keep my servers and workstations at 8.04 for that very reason.

    {MANUAL EDIT - sorry, not as observant as I think I am!!}
    Re-observing your screenshot, it looks more like you are running Ubuntu 9.10 than 10.04 (which has the window control buttons on the left instead!) and the PHP version in 9.10 (5.2.10) IS supported in Sugar 5.5.x. However, it still looks to me like your server might be running PHP 5.3 to create the given error so best check for that anyway.
    {END OF MANUAL EDIT}

    If this is the case then I'm afraid you need to back PHP (and any other platform elements as necessary) down to a supported version. For Sugar 5.5.2 you can use up to PHP 5.2.13 but for Sugar 5.5.1 you can only use up to 5.2.12. See this link for more info on supported platforms: https://www.sugarcrm.com/crm/product...platforms.html

    The best thing to do is to make sure that the platform is all correctly set up first and report back.

    As for adding custom fields outside of Studio, the advice above is the best place to start. The developer guides explain all you need to know about creating custom vardefs.ext.php files.

    HTH,

    JH.
    Last edited by snikwahj; 2010-05-21 at 09:49 AM. Reason: Not looking carefully enough the first time!

  9. #9
    SlidingHorn's Avatar
    SlidingHorn is offline Senior Member
    Join Date
    May 2010
    Posts
    20

    Default Re: Custom Fields Without Studio

    Quote Originally Posted by snikwahj View Post
    As suggested by joshh above, I'd say that the issue probably lies with your platform not being supported in the version of SugarCRM you are running.


    Re-observing your screenshot, it looks more like you are running Ubuntu 9.10 than 10.04 (which has the window control buttons on the left instead!) and the PHP version in 9.10 (5.2.10) IS supported in Sugar 5.5.x. However, it still looks to me like your server might be running PHP 5.3 to create the given error so best check for that anyway.
    {END OF MANUAL EDIT}

    The best thing to do is to make sure that the platform is all correctly set up first and report back.

    As for adding custom fields outside of Studio, the advice above is the best place to start. The developer guides explain all you need to know about creating custom vardefs.ext.php files.

    HTH,

    JH.
    Thanks for the attempt, but that's not the case. Running PHP 5.2.13, and this is not set up locally, it's on my VPS. Again, all permissions are set correctly (as previously determined), and the problem is a JAVASCRIPT error.

    Edit: The webserver is running CentOS 5
    Last edited by SlidingHorn; 2010-05-21 at 02:22 PM.

  10. #10
    rtelegan is offline Junior Member
    Join Date
    Dec 2006
    Posts
    1

    Default Re: Custom Fields Without Studio

    Sliding Horn.... I have some of the same issues with the Studio in 5.5.2. I even tried a demo of the Sugar Professional and I could not get the studio to work like it should their either. Lane in Sugar CRM sales worked with me last Friday and said this appears to be a new bug. I can not believe this is an isolated incident.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem Adding Custom Fields Without Using The Studio
    By lassociates in forum Developer Help
    Replies: 1
    Last Post: 2009-07-25, 06:12 PM
  2. Custom fields don't appear in Studio, views
    By appdev in forum Developer Help
    Replies: 8
    Last Post: 2008-02-19, 11:40 PM
  3. Studio and Custom Fields
    By BirchN in forum Help
    Replies: 1
    Last Post: 2007-02-21, 10:03 PM
  4. Custom Fields not listed in studio
    By mgwb in forum Help
    Replies: 0
    Last Post: 2006-10-23, 05:38 PM
  5. studio & Custom fields
    By Jimbo in forum Help
    Replies: 0
    Last Post: 2006-09-22, 08:29 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
  •