added 302 characters in body
Source Link
Hiren Kaku
  • 3.7k
  • 2
  • 13
  • 30

We did bulk component update using core service and while updating those components we saved specific comment.

Using core service or TOM.Net API, is there any method that can give the component based on schema and comment that was saved during component update.

The alternate approach that we can use is to filter before and after time for the update however since business users were also updated component during that time so we want to filter out only the component that were updated by our utility.

Code to update component as requested:

_client.CheckOut(tcmId, true, new ReadOptions());
_client.Save(componentData, new ReadOptions());
_client.CheckIn(tcmId, true, message, new ReadOptions());

Here, _client is the core service cliennt object and message is the user comment.

Any help is appreciated.

We did bulk component update using core service and while updating those components we saved specific comment.

Using core service or TOM.Net API, is there any method that can give the component based on schema and comment that was saved during component update.

The alternate approach that we can use is to filter before and after time for the update however since business users were also updated component during that time so we want to filter out only the component that were updated by our utility.

Any help is appreciated.

We did bulk component update using core service and while updating those components we saved specific comment.

Using core service or TOM.Net API, is there any method that can give the component based on schema and comment that was saved during component update.

The alternate approach that we can use is to filter before and after time for the update however since business users were also updated component during that time so we want to filter out only the component that were updated by our utility.

Code to update component as requested:

_client.CheckOut(tcmId, true, new ReadOptions());
_client.Save(componentData, new ReadOptions());
_client.CheckIn(tcmId, true, message, new ReadOptions());

Here, _client is the core service cliennt object and message is the user comment.

Any help is appreciated.

Source Link
Hiren Kaku
  • 3.7k
  • 2
  • 13
  • 30

Retrieve component based on user comment and based on schema

We did bulk component update using core service and while updating those components we saved specific comment.

Using core service or TOM.Net API, is there any method that can give the component based on schema and comment that was saved during component update.

The alternate approach that we can use is to filter before and after time for the update however since business users were also updated component during that time so we want to filter out only the component that were updated by our utility.

Any help is appreciated.