Tridion 2011 Core Service - Bug Update Component

I am trying to update a component using Tridion Core Services. This is what my method looks like:

public ComponentData Update(ComponentData component)
        {            
            return _session.Client.Update(component, new ReadOptions()) as ComponentData;
        }

      

However, I get the following error on startup:

Unable to check common item

I tried to check the component before updating but got the same error again. Can you give me some advice on what I am doing wrong in this case?

+3


source to share


1 answer


You are trying to update a shared item in a child publication. It is unacceptable.

If your intention was to change only the element in the current publication and all child publications in it, you must first call Localize.



If you plan on updating the component all over the place, you must use the component URI version from the parent publication in which the item was created.

+2


source







All Articles