Results 1 to 2 of 2

Thread: Invoke WebServices within a detail view

  1. #1
    fedepia is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rosario, Argentina
    Posts
    104

    Default Invoke WebServices within a detail view

    hello people, how are you? I'm using sugar 5.0.0d to manage my customers but I still have to use my old system because it has aditional information about my contacts. So, I want to add in my sugar this aditional data under a new panel within the detail view of contacts, thus I have created some web services to get that aditional information.

    I have created a custom panel in detail view of contacts and the layout looks fine, but my problem is where I have to place the invokation to my old system's web services to get my aditional data. To summerize, I want to invoke my web services when I access to a detail view, and show this aditional data within a custom panel.

    Can anybody tell me where or how I can do this?

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Invoke WebServices within a detail view

    We just did something similar where we needed to invoke a SOAP call to override certain fields from an outside system. What we did was override the Bug.php bean in our case and redefined the retrieve() function for the detail view, get_list_view_data for the list view, and create_new_list_query for searching off of that data. In your case just overriding retrieve should be good enough.

    To make it upgrade safe we created a Bug_sugar.php file and had Bug.php extend that with our customizations. We think this is the direction Sugar is going but not a 100% sure on which release.

    Hope this helps you get on your way

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2008-01-09, 01:20 PM
  2. Replies: 13
    Last Post: 2007-10-04, 05:53 AM
  3. Replies: 0
    Last Post: 2007-08-09, 06:34 PM
  4. Replies: 0
    Last Post: 2006-07-11, 10:05 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
  •