Results 1 to 6 of 6

Thread: How to create a relate to users field in studio

  1. #1
    franquero is offline Senior Member
    Join Date
    Jan 2010
    Posts
    39

    Question How to create a relate to users field in studio

    Hello, I need to create a relate field to user, but when I go to Studio > add new field > data type 'relate', I can not select the users module. Why?

    I have seen that kind of field allover SugarCRM, por example in the callls modules. When you schedule a call, you can relate it to a user (asigned to)

    Thanks in advance.

  2. #2
    Secret_Agent_99's Avatar
    Secret_Agent_99 is offline Senior Member
    Join Date
    Jan 2010
    Location
    Island of Unknown Orgin
    Posts
    27

    Cool Re: How to create a relate to users field in studio

    Hi,

    Make sure a relationship exists between this module and the user's module.
    I had this problem once, and if you add this realationship it should work.


    Hope this works
    Agent 99
    Secret Service

  3. #3
    franquero is offline Senior Member
    Join Date
    Jan 2010
    Posts
    39

    Default Re: How to create a relate to users field in studio

    Thank you for your answer Secret_Agent_99.

    I had checked relationship, but I can not select the users' module, it isnt in the list. So I can not create the relationship.

    I have looked into calls module relationships, and I havent see any relationship from this module with users one. But it really have a reltionship in 'asigned to' field.

    Any idea?
    Thanks

  4. #4
    REByers is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    North West England
    Posts
    182

    Default Re: How to create a relate to users field in studio

    I am looking for the answer to this question as well.

  5. #5
    prajeesh is offline Senior Member
    Join Date
    Jun 2009
    Posts
    64

    Default Re: How to create a relate to users field in studio

    create an empty file 'studio.php' and place it in modules\Users\metadata . Then go to studio and try creating a relate field for users. This should work.

  6. #6
    REByers is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    North West England
    Posts
    182

    Default Re: How to create a relate to users field in studio

    Excellent, that works well.

    So, extra question for bonus points:

    i now want to poplutate this field with the assigned to users name when a new Opportunity is created, however the field does not exist in the workflow engine.

    How do I make this happen?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 2010-03-05, 12:38 PM
  2. relate field problem (users & Employees)
    By mikesolomon in forum Developer Help
    Replies: 0
    Last Post: 2010-01-22, 11:12 AM
  3. Adding relate field to module users
    By mikesolomon in forum Developer Help
    Replies: 0
    Last Post: 2010-01-13, 02:01 PM
  4. Relate field linking to Users
    By prajeesh in forum Help
    Replies: 3
    Last Post: 2009-07-15, 11:25 AM
  5. How to create a relate field which will popup users list
    By prajeesh in forum Developer Help
    Replies: 1
    Last Post: 2009-07-15, 07:13 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
  •