Results 1 to 6 of 6

Thread: Available modules over SOAP question

  1. #1
    SugarRookie is offline Member
    Join Date
    Jul 2009
    Posts
    7

    Default Available modules over SOAP question

    I'm trying to set up a SOAP call to access a custom module I've set up. If I use the SOAP call 'get_available_modules', the custom module appears, but if I try to call against setting new entries to it. The response is :

    HTML Code:
                [number] => 20
                [name] => Module Does Not Exist
                [description] => This module is not available on this server
    I also, tried accessing a non custom module over SOAP (another one that shows up in the available module list) and got the exact same response.

    Is there some mechanism for making modules available over SOAP?

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

    Default Re: Available modules over SOAP question

    Can you post the part of the code where you are making the call to set_entry?
    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)
    ______________________________________________

  3. #3
    SugarRookie is offline Member
    Join Date
    Jul 2009
    Posts
    7

    Default Re: Available modules over SOAP question

    First I use this command (after logging in and getting a valid session_id )

    Code:
    	print_r ( $client->call('get_available_modules' , $session_id ));
    Then an available list of modules is listed. For this example, I'll try to access the Accounts modules and that's when I get the original error. Ultimately, I'd like to access my custom modules, but I figure accessing the native ones should come first.

    Code:
    	print_r ( $client->call('get_module_fields' , $session_id, 'Accounts'));

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

    Default Re: Available modules over SOAP question

    That's a bit weird.

    The times I've seen this, it has usually been a case-sensitivity issue. i.e. Calling 'accounts' vs. 'Accounts'

    Are you able to access those modules if you login to Sugar through the interface using the same credentials as what you are using in your code?
    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)
    ______________________________________________

  5. #5
    SugarRookie is offline Member
    Join Date
    Jul 2009
    Posts
    7

    Default Re: Available modules over SOAP question

    Yes, access via the web interface to all the modules is just fine. Is there a setting for making modules available over the API that might be overlooking?

  6. #6
    SugarRookie is offline Member
    Join Date
    Jul 2009
    Posts
    7

    Default Re: Available modules over SOAP question

    Interestingly, I'm able to use the set_entry method, I found some example code that did what I wanted here:

    http://www.sugarcrm.com/forums/showt...ount+over+soap

    ( Towards the bottom )

    The rest was pretty straigtforward.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2007-08-31, 06:39 AM
  2. SOAP question
    By Filipr in forum Sugar User Groups
    Replies: 1
    Last Post: 2007-02-07, 12:09 AM
  3. SOAP login question
    By Axces in forum Developer Help
    Replies: 0
    Last Post: 2006-01-19, 07:49 PM
  4. SOAP question
    By rrshanks in forum Developer Help
    Replies: 0
    Last Post: 2005-03-30, 04:45 PM

Tags for this Thread

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
  •