Академический Документы
Профессиональный Документы
Культура Документы
Description:
BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginners G ide !or Sales"orce. The doc ment !oc ses on !orce.com migration tilit#. $oin o r pro!essional training program and learn !rom e%perts.
History:
Version Description Change 0.1 Initial Draft 0.1 %e&ie'(1 Author Chandra Prakash har!a A!it har!a Publish Date 10th "ct #01$ 10th "ct #01$
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 1
Contents
......................................................................................................................................................... 2 Force.com Migration Tool Overview .................................................................................................3 Understanding Metadata API :....................................................................................................3 Installing the Force.com Migration Tool..........................................................................................3 How set ant ath :....................................................................................................................... ! ...................................................................................................................................................... " Using the Force.com Migration Tool .............................................................................................." #alesForce $onnection In%ormation:..........................................................................................." $onstr&cting a Pro'ect Mani%est :................................................................................................( )escri*ing Metadata T+ es :......................................................................................................, -isting $om onents %or a Metadata T+ e :................................................................................. $reating /etrieve Targets :.........................................................................................................0 /etrieving Metadata %rom a #alesForce Organi1ation :................................................................12
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 2
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 3
#ave the .1i %ile locall+ and eBtract the contents to the director+ o% +o&r choice. $o + ant5sales%orce.'ar and aste into +o&r Ant installation<s li* director+. The li* director+ is located in the root %older o% +o&r Ant installation. A%ter install 3d7 chec7 'ava version o en command rom t then t+ e 'ava 5version: +o& can see *elow.
A%ter set ath +o& can chec7 ant version *+ &sing this s+ntaB. s+ntaB : ant 5version
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page !
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page "
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page (
"eci*ying 'amed Com"onents : To retrieve a com onent: s eci%+ the t+ e o% com onent in the MnameC element and declare each com onent to *e retrieved or de lo+ed in the Mmem*ersC element. The %ollowing is a sam le ac7age.
"eci*ying all Com"onents o* a Ty"e : To retrieve all com onents o% a artic&lar t+ e: &se the wildcard s+m*ol =N>. For eBam le: to retrieve all c&stom o*'ects:
"eci*ying tandard O1-ects : To retrieve standard o*'ects and4or c&stom %ields on standard o*'ects: +o& m&st name the com onent in ac7age.Bml.
Field !sername
"assword
server!rl
a"i,ersion res!ltFilePath
trace
#escri"tion /e9&ired. The #alesForce &sername %or login. The &sername associated with this connection m&st have the OModi%+ All )ataO ermission. /e9&ired. The assword +o& &se to log into the organi1ation associated with this ro'ect. I% +o& are &sing a sec&rit+ to7en: aste the 2"5digit to7en val&e to the end o% +o&r assword. O tional. The #alesForce server U/- =i% *lan7: de%a<s to login.sales%orce.com>. To connect to a sand*oB instance: change this to test.sales%orce.com. O tional. The API version to &se %or the metadata. The de%a< is 20.2. O tional. The ath o% the o&t &t %ile where res<s are stored. The de%a< o&t &t is the console. )irecting the o&t &t to a %ile ma7es it easier to eBtract the relevant in%ormation %or +o&r ac7age.Bml mani%est %ile. O tional. )e%a<s to %alse. Prints the #OAP re9&ests and res onses to the console. Eote that this will show the &ser<s assword in lain teBt d&ring login.
Let the list o% metadata t+ es ena*led %or +o&r organi1ation: s eci%+ a target in the *&ild.Bml %ile &sing
a"i,ersion res!ltFilePath
trace
or /e ort. O tional. The API version to &se %or the metadata. The de%a< is 20.2. O tional. The ath o% the o&t &t %ile where res<s are stored. The de%a< o&t &t is the console. )irecting the o&t &t to a %ile ma7es it easier to eBtract the relevant in%ormation %or +o&r ac7age.Bml mani%est %ile. O tional. )e%a<s to %alse. Prints the #OAP re9&ests and res onses to the console. Eote that this will show the &ser<s assword in lain teBt d&ring login.
Let ro ert+ in%ormation %or com onents o% one metadata t+ e: s&ch as $&stomO*'ect: s eci%+ a target in the *&ild.Bml %ile &sing
trace
!n"ackaged
!n7i"
ac7ages. I% set to %alse: the retrieved 1i %ile incl&des an eBtra to 5level director+ containing a s&*director+ %or each ac7age. O tional. )e%a<s to %alse. Prints the #OAP re9&ests and res onses to the console. Eote that this will show the &ser<s assword in lain teBt d&ring login. /e9&ired i% ac7ageEames is not s eci%ied. The ath and name o% a %ile mani%est that s eci%ies the com onents to retrieve. O tional. )e%a<s to tr&e. I% set to tr&e: the retrieved com onents are &n1i ed.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 11