Toolboxcategory cloud |
ViewsPersonal toolsSimple Create Defect Button in SugarCRMFrom Seapine LabsWorks with TestTrack 2008 Works with SugarCRM 5.1
[edit] OverviewThis article includes the steps to add a simple Create Defect button to your SugarCRM interface, which will automatically generate a defect in TestTrack.
[edit] DownloadThe download contains the source files needed for this sample integration. Download the Create Defect Button Source zip file.
[edit] Add the ButtonThe first order of business is to add a button to the Case Detail view. This is the dangerous part, where you copy the downloaded code into your SugarCRM installation.
Lastly, you need to tell SugarCRM to update the cache. Within the SugarCRM interface, go to Admin > Repair > Quick Repair and Rebuild then select the Cases module and click Repair. [edit] Update CreateTTDefectNext up, we need to make a couple minor changes to the defect creation script.
[edit] Try it Out!The only thing left to do is try it out.
Select the Escalate button, which should trigger the call to SoloSubmit. If everything works as expected, you'll have a new entry in the Case's History panel. [edit] Troubleshooting[edit] I don't see a button on the Detail viewIf you don't see a button, then you did something wrong when you added the button. Go back through and double-check that you made the changes exactly as they were made in the downloaded files. [edit] I see the button, but it doesn't have a labelThe button should still work, the issue here is a language pack issue. Try clearing some more cache, using the Admin > Repair features. SugarCRM caching can get a little flaky at times. [edit] I click the button and nothing seems to happen, no defect is createdYou have an issue with the CreateTTDefect.php. If it's a php issue, you'll typically get an error when you click it. If you don't get an error or a defect, then your problem is in connecting to TTP. To resolve, comment out the header redirect at the bottom of that file and start adding debug statements to see what's happening. Also make sure your URL updates were made correctly, and everything is pointed where it should be. [edit] It works great, now how do I customize it furtherIf you don't have the time or expertise to do it yourself, Seapine Services can assist with customizations. If you want to try it on your own, be sure to read up on the basics of SoloSubmit URLs along with details on finding the relevant field id's.
|
|


