Changes between Version 9 and Version 10 of TicketToSalesforcePlugin


Ignore:
Timestamp:
Feb 7, 2011, 9:28:06 AM (13 years ago)
Author:
Chris Wolf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TicketToSalesforcePlugin

    v9 v10  
    2222This file gets copied to the "plugins" directory of the trac project.
    2323
    24 Example settings in trac.ini are:
    2524
    26 {{{
    27 [components]
    28 tracrpc.* = enabled
    29 ticket2sforce.* = enabled
    30 ticketvalidator.* = enabled
    31 
    32 [ticket2sforce]
    33 username = yourSFusername
    34 password = yourSFpasswd
    35 sectoken = yourSFsecurityToken
    36 wsdl = partner.wsdl
    37 
    38 [ticket-custom]
    39 case_number = text
    40 case_number.label = Case Number
    41 
    42 [ticketvalidator]
    43 new.required = case_number
    44 }}}
    4525
    4626You will need to install the following Salesforce project
     
    6848
    6949 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.
    7353    The lib directory is located in the root folder of your Ant installation. You could
    7454    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.
    7561
    76 
     62To install the custom objects and page layouts:
     63{{{
     64$ cd trunk/src
     65$ ant deploy
     66}}}
    7767
    7868== Bugs/Feature Requests ==
     
    9383
    9484== Example ==
     85Example settings in trac.ini are:
    9586
    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]
     89tracrpc.* = enabled
     90ticket2sforce.* = enabled
     91ticketvalidator.* = enabled
    10292
    103 To install the custom objects and page layouts:
    104 {{{
    105 $ cd trunk/src
    106 $ ant deploy
     93[ticket2sforce]
     94username = yourSFusername
     95password = yourSFpasswd
     96sectoken = yourSFsecurityToken
     97wsdl = partner.wsdl
     98
     99[ticket-custom]
     100case_number = text
     101case_number.label = Case Number
     102
     103[ticketvalidator]
     104new.required = case_number
    107105}}}
    108106