Questions tagged [core-service]

The SDL Tridion Core Service (added in Tridion 2011) is a WCF-based webservice that can be used to interact with all Content Manager objects. It is the preferred (and recommended) API for 3rd party tools that integrate any functionality with the Content Manager.

Filter by
Sorted by
Tagged with
6
votes
1answer
397 views

Creating Folder using Core Service maintaining path of source location

I'm using the Tridion Core Service to create new folders whilst trying to keep the same structure. I have the following code: using (CoreServiceClient client = new CoreServiceClient("basicHttp")) { ...
3
votes
1answer
359 views

Create Schema using Core Service

I am learning how to use the Tridion 2011 Core Service API and am trying to create a new folder containing a new Person schema with a single Name field. When I run the following code I get the error ...
14
votes
4answers
594 views

Using Core service to copy items to different publications

Is it possible to use the core service to copy items from one publication to another? I have a scenario where I need to copy SGs and pages to a new publication, and whilst doing this loop through ...
11
votes
1answer
795 views

Retrieve local components using Core Service

I have a console app that is using the Core Service to try and retrieve localized and local components for a given publication Id. I've had a look at the documentation on SDL Live Content and have ...
7
votes
1answer
265 views

Publish item as other user with Core Service

I have a GUI Extension calling the core service to publish a page. However, the publish user is always the impersonation user. I want the publish user to be the one using the GUI. I have the ...
9
votes
1answer
417 views

Get Page Filename from Core Service GetListXml

I would like to get the filename with a core service GetListXml call. Currently my returned XML is: <tcm:Item ID="tcm:9-26-64" Title="abc" Type="64" Modified="2013-03-27T21:27:54" IsNew=...
7
votes
2answers
147 views

How do I configure a component link field type to be editable via the core service?

I'm programatically creating a new schema using the core service, and I'd like to be able to create a component link field that is marked as editable. Currently I'm performing the following (note ...
7
votes
3answers
94 views

Tridion Core Service and Windows 8/Metro Apps

Has anyone tried yet building a Windows 8 App that uses the Tridion Core Service? If I try to add a reference to Tridion.ContentManager.CoreService.Client.dll Visual Studio complains that A ...
14
votes
3answers
160 views

Why won't saveApplicationData accept dynamic TCM URIs?

I'm using the core service to create a new component, and then save some application data against it. When I create the component programatically - this returns me the dynamic TCM URI of the ...
11
votes
1answer
225 views

Search on field in Content Manager

I'm using the Core Service client in Tridion 2011SP to do a search for components with a certain schema. I managed to filter out all components that have a certain value in a single line value field....
7
votes
3answers
609 views

Is there a way to add a Service Reference to the Core Service without using Tridion.CoreService.Client.dll?

In Tridion 2011 SP1 you could add a Service Reference to CoreService.svc without using the DLL. Is this still possible? It seems that CoreService2010, CoreService2011 and CoreService2012 won't allow ...
9
votes
4answers
673 views

How can I automate publishing?

I have some familiarity using Core Services. I am wondering if I can use this (or another feature) to batch a publishing routine. I frequently publish 2 pages from 2 different sites and I find it ...
5
votes
2answers
80 views

Improving SaveApplicationData performance

I'm currently using the core service SaveApplicationData method - sequentially adding new application data to both a specific subject (TCM URI) and to the global application data namespace. This ...
10
votes
1answer
674 views

Tridion Core Service endpoint

I'm using the Core Service Client to get a list of keywords by a given category. However when viewing the page I get the following error: Could not find default endpoint element that references ...
14
votes
1answer
623 views

Get a list of all schemas for a publication, including inherited ones via core service

I wish to retrieve a list of all schemas for a given publication - including inherited ones. Originally I was using the getSearchResults core service method with a filter constraining to the current ...
8
votes
4answers
480 views

To ensure they publish simultaneously, is it possible to publish pages and components in one transaction using core services?

We have an ‘article’ schema and for each component created using this schema there are two dynamic component presentations used by various queries on our websites and we also generate a static ‘...
13
votes
1answer
784 views

CoreService GetList() behaving differently to GetListXml()

I am trying to use GetList to return all the users in a group, as below: client.GetList(id, new GroupMembersFilterData()) However, I get the exception {"Unexpected list type: Tridion....
9
votes
3answers
584 views

Core Service client in PowerShell

I am trying Andrey's way to create a Core Service client in Powershell and having this issue. I recreate the example on my Windows 7 machine. So far I learned I have run PowerShell ISE as root and ...
9
votes
2answers
378 views

Search in multiple folders via core service?

The code snippet below successfully returns a list of items that have changed recently. Is there a way to include multiple search folders or do I need to do separate searches for that? ...
6
votes
1answer
149 views

How can I return extra columns (like ItemType & WebDAV Folder) when using GetSearchResults() for an IdentifiableObject

I used the code sample below to return a list of recently-modified items from the Core Service. GetSearchResults() returns an array of IdentifiableObjectData's. Can I include extra columns in the ...
10
votes
5answers
204 views

Referencing data stored in other systems from Tridion 2011?

I have a number of external systems I would like to integrate my Tridion Published website with. I need my editors to be able to tag Components (or maybe Pages) with an ID of an item stored in another ...