4

I saw that there are different method to create a component using core service and a client like SessionAwareCoreServiceClient.

what is the main difference between .Save() and .Create() ?

2 Answers 2

3

Create is used to create new items only. It will perform Save + CheckIn.

Save can be used to create new, or save existing items. It will not check-out or check item in

Update will execute CheckOut + Save + CheckIn

4

If you do a create, you're actually creating a brand new item. If you do a save, you're either saving an existing item, or saving the new item that you've created.

Short answer, but I hope it clears up the confusion.

1
  • So save is working with new components or updated components. So everytime we have to create or update a component we have to use the Save() at the end ?
    – Giu Do
    Jul 18, 2013 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.