Hi,
I am in need of some serious help. We have a big project that we have going on right now that would be made easier if we had use of the Sugar CRM. The problem, however, is that we are using Asteria as our dialer service and they are not integrated with Sugar.
We asked a friend to talk with Asteria and figure out what needed to be done to get this integration going. That was about three weeks ago. My co-manager, who had been communicating both with this developer friend and Asteria about this, left for Officer training and is gone for the next week. I have some of the conversations about what was going on, but a lot of this goes over my head.
Here is what the person at Asteria sent us:
What we usually do is create a "helper" scripts the pulls the URL parameters required from the actual screenpop in assist and then does a redirect:
<?php
header('Location: http://sugar_host.somewhere.com/sugarcrm/index.php?action=DetailView&module=Leads&record='. urlencode($_GET['vendor_id']));
?>
That little PHP script will pull the vendor_id from the url pop and do a SugarCRM search for it. Below is another sample:
<?php
header('Location: http://192.168.2.101/sugarcrm/index.php?action=DetailView&module=Leads&record='. urlencode($_GET['ACCOUNT_ID']));
?>
Here is a sample searching salesforce for the callerid number:
?php
header('Location: https://na5.salesforce.com/search/SearchResults?sbstr='.urlencode($_GET['calleridnum']));
?>
To get a list of the variables available try setting this as the POP URL.
<html><head><title>General Popup Test</title>
</head>
<body>
<H1>General Popup Test</H1>
<?php
echo "<pre>";
echo "--------GET VARIABLES--------------<br>";
print_r($_GET);
echo "--------REQUEST VARIABLES--------------<br>";
print_r($_REQUEST);
echo "--------SERVER PARAMETERS----------<br>";
print_r($_SERVER);
echo "</pre>";
?>
</body>
</html>
He also sent this as well (a sample php script):
<html><head><title>General Popup Test</title>
</head>
<body>
<H1>General Popup Test</H1>
<?php
echo "<pre>";
echo "--------GET VARIABLES--------------<br>";
print_r($_GET);
echo "--------REQUEST VARIABLES--------------<br>";
print_r($_REQUEST);
echo "--------SERVER PARAMETERS----------<br>";
print_r($_SERVER);
echo "</pre>";
?>
</body>
</html>
Now, when I login into Sugar, there is a header in the Last Viewed called "Base Implementa". When I click on that, it gives me "Error: File [modules/UserPreferences/metadata/detailviewdefs.php] is missing. Unable to create because no corresponding HTML file was found."
I do not know what to do with the php script. Any help would be appreciated.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks