Results 1 to 2 of 2

Thread: REST/SOAP Export role inconsistency on search_by_module get_entry_list

  1. #1
    mcmlxxii's Avatar
    mcmlxxii is offline Sugar Community Member
    Join Date
    Jul 2009
    Posts
    21

    Default REST/SOAP Export role inconsistency on search_by_module get_entry_list

    The Opacus Thunderbird extension uses the REST call get_entry_list to search for SugarCRM records, because of the limitations of search_by_module:

    + No way to retrieve e.g. Opportunities/Cases linked to contacts by email - i.e. search string is an email address, find matching contact and return related records.
    + In v2, no way to specify select_fields (this is available in v4) which makes returning account_id for instance impossible.

    Problem is, get_entry_list requires export permissions on the module being queried.

    This sort of made sense, although it was a nuisance. However, search_by_module now has pretty much the same if not identical functionality (offset, select_fields) and does not require export permissions. Simply put a % in the search string and export all the fields you wish.

    Can someone explain if the roles will be revisited on this now?
    Last edited by mcmlxxii; 2012-01-23 at 03:46 PM.
    Jon Cutting

    SugarCRM Gold Partners EnableIT/SugarUK
    Opacus Ltd SugarCRM Extensions
    Follow Opacus on Twitter

  2. #2
    mcmlxxii's Avatar
    mcmlxxii is offline Sugar Community Member
    Join Date
    Jul 2009
    Posts
    21

    Default Re: REST/SOAP Export role inconsistency on search_by_module get_entry_list

    On further testing the v4 webservice actually returns results now even when a user is in a role that restricts export.

    I don't seem to be able to find any documentation about this change. Could someone from SugarCRM comment on whether this is a design decision before I write a bunch of code based around a bug?

    Thanks,

    Jon
    Jon Cutting

    SugarCRM Gold Partners EnableIT/SugarUK
    Opacus Ltd SugarCRM Extensions
    Follow Opacus on Twitter

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HELP! with REST get_entry_list call
    By JanetChu in forum Developer Help
    Replies: 0
    Last Post: 2011-07-21, 09:27 PM
  2. Problem with Soap search_by_module
    By tales in forum Developer Help
    Replies: 5
    Last Post: 2011-04-15, 02:34 PM
  3. Replies: 2
    Last Post: 2011-03-07, 05:00 PM
  4. REST get_entry_list error
    By ALFRED_C in forum Developer Help
    Replies: 1
    Last Post: 2010-03-24, 08:33 PM
  5. REST get_entry_list error
    By ALFRED_C in forum Help
    Replies: 0
    Last Post: 2010-03-23, 11:21 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
  •