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(...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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
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 ...
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
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 ...
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,
...
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()
{
...
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", ...
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 ...
7
votes
Accepted
Ways and steps to debug custom event handler code if any
Have you googled, you must have found following http://yatb.mitza.net/2012/03/debugging-tridion-2011-event-system.html
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 ...
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 ;)
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)...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
core-service × 5862011 × 108
2013 × 73
2013-sp1 × 62
web8.5 × 41
sdl-tridion × 41
cme × 31
web8 × 30
publishing × 28
event-system × 20
workflow × 19
schema × 19
content-manager × 18
powershell × 18
c# × 16
java × 13
ecl × 12
2011-sp1 × 11
tom.net × 11
xml × 10
2013-sp1-hr1 × 9
keyword × 9
gui-extensions × 8
database × 8
publishtransaction × 8