Cov txheej txheem:

Kuv yuav rho tawm cov chav kawm ntau lawm hauv Salesforce li cas?
Kuv yuav rho tawm cov chav kawm ntau lawm hauv Salesforce li cas?

Video: Kuv yuav rho tawm cov chav kawm ntau lawm hauv Salesforce li cas?

Video: Kuv yuav rho tawm cov chav kawm ntau lawm hauv Salesforce li cas?
Video: Zeb Muas - Foom Kom txiv tej lus kub (Nkauj Tawm Tshiab 2021 - 2022) 2024, Hlis ntuj nqeg
Anonim

Koj ua tsis tau rho tawm a chav kawm hauv ntau lawm ncaj qha. Koj yuav xav tau rho tawm tus chav kawm los ntawm koj lub sandbox thiab tom qab ntawd xa cov kev tshem tawm rau koj ntau lawm org. Thaum koj xa los ntawm sandbox mus rau ntau lawm , qhov ploj lawm chav kawm yuav tuaj nyob rau hauv liab thiab koj muaj peev xwm xaiv mus deploy cov deletions rau Ntau lawm.

Kuj paub, yuav ua li cas kuv thiaj li rho tawm qhov tshwm sim hauv kev tsim khoom?

Rho tawm apex chav kawm lossis ua rau hauv Salesforce Production Org

  1. Download Force.com IDE.
  2. Txuas mus rau salesforce production org.
  3. Download tau apex class/trigger.
  4. Qhib cov ntaub ntawv XML ntawm Apex class/trigger.
  5. Hloov cov xwm txheej ntawm Apex chav kawm / ua rau Deleted.
  6. Txuag thiab xa mus rau server.

Kuj Paub, peb tuaj yeem kho Apex chav kawm hauv kev tsim khoom? Koj kho tau nws ncaj qha rau hauv lub org (Setup->Develop-> Apex chav kawm los yog sib npaug) lossis hauv Kev Txhim Kho Console (Setup-> Txhim Kho Console, tom qab ntawd Cov Ntaub Ntawv-> Qhib) lossis hauv Eclipse Force.com IDE thiab yooj yim xa rov qab. Thawj tus ncej tsis tau qhia txog kev xa mus rau ntau lawm.

Ua raws li qhov no hauv kev txiav txim siab, yuav ua li cas kuv thiaj li tshem tawm qhov tshwm sim hauv Salesforce?

Koj tuaj yeem Inactive lub trigger siv cov kauj ruam hauv qab no:

  1. Nkag mus rau lub sandbox.
  2. Mus rau qhov tshwm sim thiab nyem rau ntawm Kho kom raug thiab Uncheck lub IsActive lub thawv (saib lub screenshot), thiab nyem rau Txuag.
  3. Tsim Cov Txheej Txheem Hloov thiab suav nrog Cov Tig rau hauv qhov hloov pauv thiab siv tib yam rau hauv Kev Tsim Khoom.

Yuav ua li cas koj tshem tawm apex los ntawm tus tsim tawm console?

Ua raws li cov kauj ruam hauv qab no los ua qhov ntawd hauv kev tsim khoom,

  1. Tsim qhov project tshiab hauv dab noj hnub thiab rub tawm tag nrho cov cai los ntawm kev tsim khoom.
  2. Qhib cov meta-cov ntaub ntawv ntawm cov ntaub ntawv koj xav rho tawm hauv ntau lawm thiab hloov cov xwm txheej rau Delete.
  3. Nyem txuag rau server kom tshem tawm cov chav kawm hauv kev tsim khoom.

Pom zoo: