Results 1 to 5 of 5

Thread: about vardefs

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

    Default about vardefs

    'tasks' =>
    array (
    'name' => 'tasks',
    'type' => 'link',
    'relationship' => 'account_tasks',
    'module'=>'Tasks',
    'bean_name'=>'Task',
    'source'=>'non-db',
    'vname'=>'LBL_TASKS',
    ),

    what does the type=>link means and source=>non-db I didn't understand about it.please clarify me

  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: about vardefs

    Quote Originally Posted by jojiju
    'tasks' =>
    array (
    'name' => 'tasks',
    'type' => 'link',
    'relationship' => 'account_tasks',
    'module'=>'Tasks',
    'bean_name'=>'Task',
    'source'=>'non-db',
    'vname'=>'LBL_TASKS',
    ),

    what does the type=>link means and source=>non-db I didn't understand about it.please clarify me
    Hi, jojiju

    Type link means it is a field which describes a collection of records from another module, in this case the module Tasks. It tells Sugar that Accounts module has a collection of Tasks. As you can see, there is a relationship entry which points to accounts_tasks relationship.
    Source non-db means this field will not be created into database.
    There are documentation at sugarwiki which explain right fine all vardefs entries.

    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
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: about vardefs

    Welcome! Please take a look at our wiki for everything about vardefs.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  4. #4
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: about vardefs

    Hello SugarDev.net,
    i am still trying for that email speed problem,but found no solution yet.
    I have also installed outlander as i posted in thread http://www.sugarcrm.com/forums/showthread.php?t=32330.
    Sorry to interrupt in this thread,i just saw your name in post,that is how i asked.
    Some times email is archieved to sugar and is listed in appropriate module's history.
    But most of the times it doesnt' and an error comes.
    Also i have tried to comment some code of inbound email ,as mow we are trying to disable the Inbound paert of email module but still speed has not decreased much.

    Do you have any ideas on this.
    Thanks.

  5. #5
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: about vardefs

    Quote Originally Posted by sawan
    Hello SugarDev.net,
    i am still trying for that email speed problem,but found no solution yet.
    I have also installed outlander as i posted in thread http://www.sugarcrm.com/forums/showthread.php?t=32330.
    Sorry to interrupt in this thread,i just saw your name in post,that is how i asked.
    Some times email is archieved to sugar and is listed in appropriate module's history.
    But most of the times it doesnt' and an error comes.
    Also i have tried to comment some code of inbound email ,as mow we are trying to disable the Inbound paert of email module but still speed has not decreased much.

    Do you have any ideas on this.
    Thanks.
    Hi sawan. I'm honoured to be your source of information, but your post doesn't belong in this thread..please post in the right topics (as you also did, you crossposter ). Or PM me!
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add address to Meetings Module 4.5 vardefs?
    By dswofford in forum Help
    Replies: 1
    Last Post: 2007-02-02, 12:47 AM
  2. joining tables in vardefs
    By ziplizard in forum Developer Help
    Replies: 0
    Last Post: 2007-01-02, 03:27 PM
  3. Vardefs (relationship)
    By mzalewski in forum Developer Help
    Replies: 5
    Last Post: 2006-07-18, 04:02 PM
  4. Using functions in vardefs
    By wyred in forum Help
    Replies: 1
    Last Post: 2006-06-14, 02:01 AM

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
  •