Yam muab kho dua lossis yam khoom tshiab kev tshwm sim nyob rau hauv SharePoint 2007 tshwm sim li ob zaug, Yog xav tau cov kev xaiv checkout enabled rau daim ntawv qiv.
Kuv pom cov nram qab no workaround los ntawm Microsoft Support rau no qhov teeb meem.
Xyuas tus nqi ntawm vti_sourcecontrolcheckedoutby
nyob rau hauv BeforeProperties thiab AfterProperties, Yog hais tias tus ob yaam tseem ceeb nuav thov ces lub triggered los ntawm koj daim tshev rau lwm cov kev tshwm sim yog triggered los ntawm lwm yam.
Yog hais tias (zog.AfterProperties[“vti_sourcecontrolcheckedoutby”] == thov && zog.BeforeProperties[“vti_sourcecontrolcheckedoutby”] != null)
{
//Qhov no yog ib qho uas thaum cov kev tshwm sim hloov tshiab yog triggered los ntawm kos-nyob rau hauv.
}
lwm yam
{
//Qhov no yog triggered ua cov txheej xwm uas tsis yog xyuas-thaum kawg.
}