====== Sugar Plugin ======
---- plugin ----
description: Providing hyperlink references to Sugar CRM
author : damien clochard
email : damien@taadeem.net
type : syntax
lastupdate : 2016-02-03
compatible :
depends :
conflicts :
similar :
tags : CRM SugarCRM
downloadurl: https://github.com/daamien/dokuwiki-plugin-sugar/tarball/master
bugtracker : https://github.com/daamien/dokuwiki-plugin-sugar/issues
sourcerepo : https://github.com/daamien/dokuwiki-plugin-sugar/
donationurl: https://flattr.com/thing/68388/dokuwiki-plugin-for-SugarCRM
----
[[https://flattr.com/thing/68388/dokuwiki-plugin-for-SugarCRM|{{ http://api.flattr.com/button/button-static-50x60.png|Flattr this}}]]
===== Download and Installation =====
Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
Then go to the sugar section on the configuration page and set correctly the sugar_base_url parameter
===== Syntax and Usage =====
Simply use one of the three keywords below and add the SugarCRM "record id" of the element you want to link:
* ~~SugarAccount:e1bbce41-037f-5262-a5c4-47f3c6dfd55d~~
* ~~SugarContact:22b06a45-b1c6-c3fc-9b60-4bde7b7f2302~~
* ~~SugarOpportunity:1f25f660-64c6-251f-f759-4bbd9df25df8~~
This will create the following html code:
And this will appear like this on your page:
----
* [[http://your.domain.com/SugarCRM//index.php?action=DetailView&module=Accounts&record=e1bbce41-037f-5262-a5c4-47f3c6dfd55d|SugarCRM Account #e1bbce41-037f-5262-a5c4-47f3c6dfd55d]]
* [[http://your.domain.com/SugarCRM//index.php?action=DetailView&module=Contacts&record=22b06a45-b1c6-c3fc-9b60-4bde7b7f2302|SugarCRM Contact #22b06a45-b1c6-c3fc-9b60-4bde7b7f2302]]
* [[http://your.domain.com/SugarCRM/index.php?action=DetailView&module=Opportunities&record=1f25f660-64c6-251f-f759-4bbd9df25df8|SugarCRM Opportunity # 1f25f660-64c6-251f-f759-4bbd9df25df8]]
----