17 votes
Accepted

How do I retrieve publish failure data with the core service?

Via core service you can retrieve PublishTransactionData object, which contains all info about transaction itself: PublishTransactionData transaction = (PublishTransactionData)Client.Read(...
  • 8,446
14 votes
Accepted

List of processed items in Publish Transaction

You'll need LoadFlags.Expanded, and then you can get the items from the PublishContexts. I've just done a little POC with the following code and a published Structure Group and both resolvedItems ...
13 votes
Accepted

CoreService 'ReadFlags' enum 'none'

The LoadFlags differs a lot than say the ListBaseColumns enumeration, in that its actually a flag based property and not just a standard enum. While ListBaseColumns allows you to choose only ONE of ...
  • 2,926
12 votes
Accepted

Quickest way to confirm an item exists with the Core Service

How about: client.IsExistingObject(uri);
12 votes

How can I tell if event system code has been loaded?

The event system code loads when the Tridion Content Manager Service Host service loads, and you can see this in the Windows Event Viewer. As each event handler loads you will see the status showing ...
  • 1,090
11 votes
Accepted

Creating a Bundle | Core Service | Unknown Virtual Folder Type

TCM URIs are not guaranteed to be the same across systems (quite the opposite, in fact). They are basically assigned in the order you create items. So sometimes, items might have the same URIs because ...
  • 19.8k
11 votes
Accepted

Easiest way to update all components after schema update

What have you tried? If you're just starting your search then the docs references below are a great start. Both the TOM.NET and Core Service APIs are available but it shouldn't be about what's ...
10 votes
Accepted

How to check if a page/component is unpublished from a particular target in coreservice?

You can use following if your requirement is just to check the status public bool IsPublished(string itemId, string publicationTargetId, bool isPublishedInContext)
  • 5,857
10 votes

Is there anyway t get the version history of Categories, keywords and structure groups

Unfortunately, there is no version history stored for any of the organisational items (Folders, Structure Groups, Categories, Publications, etc), so you will not be able to get this, even if you use ...
10 votes
Accepted

Why does the Search host service require the core service and content manager

The Tridion Search Host service is indeed nothing more than Tomcat in disguise. It hosts the Tridion SOLR search index. It doesn't depend on Content Manager and/or Core Service. The Tridion Search ...
10 votes

How to get user comment from a Component using the core service

I think you can use FullVersionInfo by getting the component's VersionedItemData. Something like this: VersionedItemData versionedItemData = (VersionedItemData) client.Read(organisationItem....
10 votes
Accepted

How to delete multiple Components using the Core Service

As the comments indicate your original question lacked a lot of information, your edit does provide a bit more information, however they don't really show a lot of effort from you in looking for an ...
  • 29.6k
10 votes

Use Core Service to communicate between Tridion 2011 and Web 8.5

Obviously it will depend on what technology you are using for the client. For example in a .NET programme, you could host both the 2011 client and the 8.5 version, but then you'd have to create ...
  • 18.5k
10 votes
Accepted

How to get specific publication list for specific user in Tridion Core Service?

You could impersonate that specific user in your code and then request all publications as them. This should give you the complete list that they're able to access. Alternatively, you could get every ...
9 votes

SQL Query versus CoreService

Direct queries are not future proof, In future upgrade your queries might not work, extra effort will go to resolve those. using Select queries You have to understand the DB structure, if you are ...
  • 5,857
9 votes
Accepted

How to find pages using query criteria by last publish date?

You can use ItemLastPublishedDateCriteria criteria to specify the last published date filter that you are looking for, for retrieving the pages that were published after specific date. Given below is ...
  • 3,728
9 votes
Accepted

StreamUploadClient Error While Uploading Image to SDL Web 8

See documentation here http://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-879B67A8-71BA-4BBD-9CCE-9140B860904E Compatibility break: Uploading files to the Core Service was discovered ...
  • 7,317
9 votes
Accepted

Component's schema missing values using CoreService

In your screenshot, notice how the "Content" attribute is null. For each component, you need to call: ComponentData component = (ComponentData)coreServiceClient.Read( ...
9 votes
Accepted

Overriding Publishing Queue

For #1 publishing priority is the way to go. Maybe changing the default priority to "low" will give you enough of an override to push things through quickly. Using publishing priorities in conjunction ...
  • 7,317
9 votes
Accepted

Client.Create method returns tcm:0-0-0 for Component.Id

This is expected behavior, you will get an ID after a Save. You don't really need to "read Component again", as the Save (or Update) method returns a IdentifiableObjectData, so you can do something ...
  • 28.9k
9 votes

Tridion training

The SDL website has a nice overview of what training courses are available and to which roles these belong. For you the role Editor seems most matching and there are a couple of eLearning courses and ...
  • 29.6k
8 votes

Is it possible to delete a component which is attached to a page without deleting the page itself?

You can't delete the component while it is added as a component presentation to a page. The solution is simple: you should not delete the page, but you should simply remove the component presentation ...
8 votes
Accepted

CoreService: how to get a list of Protocol schema's

You need to search in system repository: OrganizationalItemItemsFilterData filter = new OrganizationalItemItemsFilterData(); filter.ItemTypes = new[] { ItemType.Schema }; filter.SchemaPurposes = new[]...
8 votes
Accepted

Fully loading ComponentData objects using GetList?

The CM Kernel (Core Service and TOM.NET) currently don't have a facility to bulk load items in a list. As Nuno mentioned, TOM.NET has list methods that return (partially loaded) TOM.NET objects and ...
8 votes
Accepted

Get item by title and path using core service

the core service supports both regular tcm id's and webdav urls when reading from the CM. So, instead of client.Read("tcm:1-123", new ReadOptions()) you can also do something like client.Read("/...
8 votes

How do I configure my web application for Binding with core service?

If you're starting out with the Core Service then I'd highly recommend that you check out the Core Service Recipes section of the Tridion Practice project on GitHub. This has examples of getting a ...
8 votes

Error when synchronizing a component against a schema with optional embedded fields which have mandatory embedded fields

In SDL Tridion 2013 (SP1), the same error persists when you try to send the same structured content via the Translation Plugin. To fix (in Translation Manager) we used the hotfix TT87682 part of the ...
8 votes
Accepted

List of parent structure groups from a page using Core service

You should use OrganizationalItemAncestorsFilterData The CoreService API reference (which you can download from here) has a good example on how to do this: OrganizationalItemAncestorsFilterData ...
  • 28.9k
8 votes

Delete components which are in use

What about just deleting the entire Publication?
8 votes
Accepted

Delete components which are in use

Although it sounds like you now have this sorted, two possible alternatives (if you needed to keep the Publication) would have been: Update the Schemas of the remaining Components to remove the ...

Only top scored, non community-wiki answers of a minimum length are eligible