Results 1 to 3 of 3

Thread: how to change id's value?

  1. #1
    jojiju is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    31

    Default how to change id's value?

    'id' => array(
    'name' => 'id',
    'vname' => 'LBL_ID',
    'required' => true,
    'type' => 'id',
    'reportable'=>false,
    'comment' => 'Unique identifier'
    ),



    what does type=>'id' means and can we change the length of id from varchar 36 to suppose varchar 11

  2. #2
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: how to change id's value?

    Quote Originally Posted by jojiju
    'id' => array(
    'name' => 'id',
    'vname' => 'LBL_ID',
    'required' => true,
    'type' => 'id',
    'reportable'=>false,
    'comment' => 'Unique identifier'
    ),



    what does type=>'id' means and can we change the length of id from varchar 36 to suppose varchar 11
    It means that your id field is an id, not a simple text field.
    This way Sugar identiefies it and can encrypt it and perform other ops.
    That' s why I wouldn't change the size from 36 to 11.
    What do you think the cookie monster eats ?

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

    Default Re: how to change id's value?

    Check out this blog entry on the topic.

    http://developers.sugarcrm.com/wordp...uids-in-sugar/
    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. View Change Log
    By markoa in forum Developer Help
    Replies: 0
    Last Post: 2007-10-13, 08:55 AM
  2. Change the way sugarCRM stores ID's
    By mlh in forum Developer Help
    Replies: 3
    Last Post: 2006-06-07, 11:42 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
  •