Item eguneratzea edo Item eguneratua Event SharePoint-en 2007 bitan gertatzen da, checkout eskatzen badute aukera Dokumentu liburutegia gaituta dago.
Microsoft Laguntza hurrengoen sahiesteko aurkitu dut arazo hau.
Check the value of vti_sourcecontrolcheckedoutby
in BeforeProperties eta AfterProperties, if the both values are null then the event is triggered by check in else the event is triggered by other actions.
bada (properties.AfterProperties[“vti_sourcecontrolcheckedoutby”] == null && properties.BeforeProperties[“vti_sourcecontrolcheckedoutby”] != Null)
{
//This is when the update event is triggered by check-in.
}
beste
{
//This is triggered by events other than check-in action.
}