Skip to main content
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(...
Marko Milic's user avatar
  • 8,930
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 ...
Jonathan Williams's user avatar
12 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 ...
Dylan .. Mark Saunders's user avatar
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....
Sabarish Senthilnathan's user avatar
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 ...
Bart Koopman's user avatar
  • 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 ...
Dominic Cronin's user avatar
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 ...
Jonathan Williams's user avatar
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 ...
Chris Morgan's user avatar
  • 7,327
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( ...
Phil Medcraft's user avatar
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 ...
Chris Morgan's user avatar
  • 7,327
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 ...
Nuno Linhares's user avatar
  • 29.1k
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 ...
Bart Koopman's user avatar
  • 29.6k
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 ...
Jonathan Williams's user avatar
8 votes

Delete components which are in use

What about just deleting the entire Publication?
Rick Pannekoek's user avatar
8 votes
Accepted

Get a list of Pages that a specified Component has been published on (akin to 'View on Site')

Jon, I believe under the covers that the Core Service method ResolveContainingPages is used: ContainingPagesDictionary ResolveContainingPages( string componentId, ...
Neil's user avatar
  • 6,698
8 votes

Exporting list of URLs

There is no 'out of the box' way via the GUI, but you can do this using the Core Service. Something like the following code (which outputs a CSV) should give you a good start: void Main() { ...
Jonathan Williams's user avatar
8 votes
Accepted

Can we change the Component Title using Core Service?

You can modify the system title of a component by simply using 'Title' property of the ComponentData object. For example: ComponentData component = (ComponentData)coreServiceClient.Read("tcmuri", ...
Shahid Eqamuddin's user avatar
8 votes

Adding the Publications to Tridion User Groups using Core Service

You can download the Core Service API reference documentation here. If you look at the documentation you can see that the Groups are represented by the GroupData class. In GroupData, you can set the ...
Sabarish Senthilnathan's user avatar
7 votes
Accepted

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

Do somthing like below: XElement componentListElement = client.GetListXml("folderTCM", filter); foreach (XElement organisationItem in componentListElement.Elements()) { var ...
Saurabh Gangwar's user avatar
7 votes

AccessToken - configure time?

John, The access token is generated after you login and the timeout for that is set using Credential Cache Expiration which by default is set to 300 seconds = 5 minutes ;)
Kunal's user avatar
  • 1,485
7 votes
Accepted

Create Admin User in SDL Web 8.5 via core service

Well... I think that I have a solution (I realize it has some helper function calls) but this appears to work. Unless someone has a better way of doing this. if (((Get-TridionCoreServiceSettings)...
Warner Soditus's user avatar
7 votes
Accepted

How does ElevatePrivileges work

Indeed, one of the advantages of using privilege elevation instead of using a sysadmin account in order to do things that the original user may not be allowed to do is that the actions are still ...
Rick Pannekoek's user avatar
7 votes
Accepted

Can Publish Transaction be updated via core service?

I don't believe this is possible. We had a similar case where we needed to increase the priority of some items in the queue. I tried similar in 2011 but used Save and not Update. It threw a similar ...
Dave Forber's user avatar
  • 1,441
7 votes

Overriding Publishing Queue

What you are requiring is mainly to use publish queue in a way its not meant to be used. For #1 you want to publish items before all others. That is the exact purpose of "high" priority. Problem is ...
Marko Milic's user avatar
  • 8,930
7 votes
Accepted

Finding Mandatory fields

To elaborate on Rob's answer, the code to add to yours would be something like: SchemaFieldsData schemaFieldsData = Client.ReadSchemaFields(txtSchTCMURI, true, null); foreach (var schemaField in ...
David Forster's user avatar
7 votes

Creating KeywordFieldDefinitionData type fields

Creating a Component via the Core Service can be tricky thing. I see that you use Fields class for creating Components. For your case here, Keyword is a dependency that you must have already in system ...
Marko Milic's user avatar
  • 8,930
7 votes
Accepted

Creating ECL multimedia Components using Core Service Web 8

In order to understand what is going on you need to understand how ECL works. The ECL URI that you see in the UI is not what actually gets saved in to the CM. When you use an ECL component somewhere ...
Yuri Bondarchuk's user avatar
7 votes

How to read information of Translation Job or connect Translation Manager by CoreService?

For Web 8 you have a dedicated service for this. It's configuration can be found in: \web\WebUI\WebRoot\Web.config Binding: <binding name="TmNetTcpBinding" maxReceivedMessageSize="2147483647" ...
Atila Sos's user avatar
  • 6,290
7 votes

Triggering translation from workflow in SDL Web 8.5 and Translation server V12

I am sure Eric's solution will work with Web 8.5 as well. But I would not advise you to use Translation Manager Facade as a service (and consume it in your workflow) because, with Web 8.5, the TMS is ...
Saurabh Gangwar's user avatar
7 votes

How to get a Component in Tridion using Core Service?

Welcome to Tridion Core Service is a .Net web service API, allows you to interact with the CMS from another machine than the CMS server itself and before jumping on writing CURD operation using ...
Hem Kant's user avatar
  • 2,208

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