Changes between Version 9 and Version 10 of TicketToSalesforcePlugin
- Timestamp:
- Feb 7, 2011, 9:28:06 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TicketToSalesforcePlugin
v9 v10 22 22 This file gets copied to the "plugins" directory of the trac project. 23 23 24 Example settings in trac.ini are:25 24 26 {{{27 [components]28 tracrpc.* = enabled29 ticket2sforce.* = enabled30 ticketvalidator.* = enabled31 32 [ticket2sforce]33 username = yourSFusername34 password = yourSFpasswd35 sectoken = yourSFsecurityToken36 wsdl = partner.wsdl37 38 [ticket-custom]39 case_number = text40 case_number.label = Case Number41 42 [ticketvalidator]43 new.required = case_number44 }}}45 25 46 26 You will need to install the following Salesforce project … … 68 48 69 49 1. Log into a Salesforce.com org on your deployment machine. 70 2. Click Your Name ➤ Setup ➤ Develop ➤ Tools, and then click Force.com Migration Tool.71 3. Save the .zip file locally and extract the contents to the directory of your choice.72 4. Copy ant-salesforce.jar into your Ant installation's lib directory.50 1. Click Your Name ➤ Setup ➤ Develop ➤ Tools, and then click Force.com Migration Tool. 51 1. Save the .zip file locally and extract the contents to the directory of your choice. 52 1. Copy ant-salesforce.jar into your Ant installation's lib directory. 73 53 The lib directory is located in the root folder of your Ant installation. You could 74 54 also just copy this jar to the same directory as build.xml 55 1. !Install the custom objects and custom page layouts into your Salesforce org. 56 1. Copy `trunk/src/trac/plugin/ticket2sforce.py` to `trac/projects/<yourproj>/plugins` 57 1. Generate the partner WSDL and copy it into your `trac/projects/<yourproj>/conf` 58 directory 59 1. Edit trac.ini to enable the tick2sforce component as well as setting the web 60 service API credentials. 75 61 76 62 To install the custom objects and page layouts: 63 {{{ 64 $ cd trunk/src 65 $ ant deploy 66 }}} 77 67 78 68 == Bugs/Feature Requests == … … 93 83 94 84 == Example == 85 Example settings in trac.ini are: 95 86 96 1. !Install the custom objects and custom page layouts into your Salesforce org. 97 1. Copy `trunk/src/trac/plugin/ticket2sforce.py` to `trac/projects/<yourproj>/plugins` 98 1. Generate the partner WSDL and copy it into your `trac/projects/<yourproj>/conf` 99 directory 100 1. Edit trac.ini to enable the tick2sforce component as well as setting the web 101 service API credentials. 87 {{{ 88 [components] 89 tracrpc.* = enabled 90 ticket2sforce.* = enabled 91 ticketvalidator.* = enabled 102 92 103 To install the custom objects and page layouts: 104 {{{ 105 $ cd trunk/src 106 $ ant deploy 93 [ticket2sforce] 94 username = yourSFusername 95 password = yourSFpasswd 96 sectoken = yourSFsecurityToken 97 wsdl = partner.wsdl 98 99 [ticket-custom] 100 case_number = text 101 case_number.label = Case Number 102 103 [ticketvalidator] 104 new.required = case_number 107 105 }}} 108 106