none
How to handle Transactions using Sharepoint Object Model

    Question

  • Hi,

    How can we handle transactions in sharepoint implementations? What options we have to consider for this?

    Thanks in Advance
    Bala
    Friday, February 15, 2008 7:01 AM

Answers

  •  

    Hi Bala,

     

    The WSS object model doesn't support transactions.

    This is in reference to COM+ but it applies for all transactions as well.

    http://support.microsoft.com/kb/883316

    Monday, February 18, 2008 8:26 PM
  • MOSS being a portal product, not intended to develop transactional behaviour.  I don't see a need for transactional behaviour even in scenarios like Bulk Editing or Mass Updates. If you really see a need for that you can think of

    TransactionScope activity and a CompensationActivity handler

     

    Wednesday, February 20, 2008 6:28 AM

All replies

  •  

    Hi Bala,

     

    The WSS object model doesn't support transactions.

    This is in reference to COM+ but it applies for all transactions as well.

    http://support.microsoft.com/kb/883316

    Monday, February 18, 2008 8:26 PM
  • Thanks Michael. This information helps.

    Sorry for another question. If the transactions are not supported, what is the preferred design philosophy to adress the situations which are transactional for eg:- Bulk editing(mass updates). Is it that these need to be moved inside a workflow and use a TransactionScope activity and a CompensationActivity handler?
    Wednesday, February 20, 2008 3:52 AM
  • MOSS being a portal product, not intended to develop transactional behaviour.  I don't see a need for transactional behaviour even in scenarios like Bulk Editing or Mass Updates. If you really see a need for that you can think of

    TransactionScope activity and a CompensationActivity handler

     

    Wednesday, February 20, 2008 6:28 AM