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
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 ...
6
votes
4answers
1k views

How to get the list of child Publications from parent Publications using coreservice

I get the list of parent publications from child using the below snippet var pubData = (PublicationData)client.Read("tcm:0-3702-1", new ReadOptions()); foreach (var parent in pubData.Parents) { ...
11
votes
3answers
1k views

How do I configure or set up the tridion-powershell-modules in PowerShell?

I came across the tridion-powershell-modules project. It offers some handy PowerShell commands which help setting up a CoreService connection and some examples like listing the publication. What do I ...
11
votes
4answers
2k views

Creating Binary Components using the Core Service

I'm trying to create a copy of an existing component using the core service which has worked fine up until I hit a binary component when running my console app. To give you an example of what my code ...
4
votes
2answers
1k views

How to get all Components based on a Schema and from a particular Publication?

I'm trying to get all the components based on a Schema and from a particular Publication using the Tridion coreservice 2011. I am using the code below but it gives only the Components that are ...
13
votes
1answer
506 views

Creating a Bundle and adding items to it with Core Service

I am experimenting with creating bundles and adding items to them using the Core Service, and am struggling to find examples of this. I seem to recall someone telling me that bundles are actually ...
10
votes
1answer
467 views

How to Get Keyword from Metadata or Item XML Using Core Service

When working with the Core Service I am loading item XML that has Keywords inside and I need to replace some Keywords with others. Unfortunately the XML lists only the keyword name and not the tcm ...
9
votes
1answer
569 views

How can i check the publication target for a given component?

I am retrieving components in a specified folder using Core Services to build an API to expose some content. We have a preview and live environment and I need to retrieve components that have been ...
6
votes
2answers
370 views

Creating ECL multimedia Components using Core Service Web 8

While creating ECL multimedia Components using the Core Service, we've noticed a difference between creating them via the Core Service and creating them within the SDL Web UI. Creating them in the UI ...
17
votes
1answer
738 views

How do I get a list of checked out items with the Core Service?

I would like to get a list of all checked-out items in the system with the Core Service. I have a feeling I need to use: GetSystemWideList(filter) But, I can't find a filter to give me the list. ...
4
votes
1answer
75 views

Not able to delete Keyword related to old versions using Tridion core service

How to delete keyword which is being used in old versions of component using core service, The keyword was earlier used in few components.How to fetch versions of components in which the keyword was ...
9
votes
1answer
288 views

Set Permissions on Categories using the Core Service

I would like to set access rights to allow the 'Everyone' group read access on categories using the Core Service. I don't know what values to use in the setValue method, but I guess one value is the ...
9
votes
2answers
379 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
2answers
169 views

SetPublishedTo with CoreService

I have some old code which sets the PublishedTo state of a page using old TOM whick looks a bit like this: Page page = (Page)tdse.GetObject(uri, EnumOpenMode.OpenModeView, publication, XMLReadFilter....
6
votes
1answer
305 views

“Unable to get Schema of a Component”

I am new To tridion. I am trying a Java program which automatically uploads the image into tridion when an image is selected from the local machine. I have written the following code. import java.io....
5
votes
3answers
471 views

SDL Tridion “demo” account?

I met various people who would like to see the interface, some basic things, component creation, etc. to see how it looks like in real world. I can't show the instance I'm maintaining as it's internal ...
5
votes
2answers
238 views

How to publish a component using SDL Core Services in Java?

I am trying to publish a component using core services in Java but on running the code, I am getting this error :- Exception in thread "main" com.sdltridion.contentmanager.coreservice....
5
votes
1answer
202 views

How do I obtain a list of the members of a Tridion group which is mapped to an Active directory group using Core Services?

I am trying to get members of a Tridion group which is mapped to an Active directory group. I am trying to get these details using the Core Service. The Groupdata/GetXMLList() gives only the users/...
-9
votes
3answers
775 views

How to create a WebSite on Sdl Tridion using core service.please write the step.

I want to create a website using core service on Sdl Tridion .please write the steps of creating a web site using this.
9
votes
1answer
1k views

Core Service to publish pages in a structure group in SDL Tridion 2011 Sp1

I am writing a core service to publish the entire pages in a structure group. I have written a recursive method to get all pages in a structure group. I am loading all pages in a list and publishing ...
5
votes
1answer
268 views

Changing a users groups

I am trying to alter a user's group memberships using the Tridion Core Service. I have a UserData object, so I can get their current GroupMemberships. I am having trouble adding GroupMemberships to ...
20
votes
2answers
426 views

Accessing configuration from events system when triggered via the core service

Having a bit of trouble with the events system when triggering an event via core service. We have components saved to a publication that we need to copy across to another publication in the same ...
13
votes
1answer
786 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
1answer
307 views

How to Publish from PowerShell?

The following PowerShell code to publish an array of pages fails, because the arguments or parameters are in the wrong format. Example code: $client.publish($toPublish, $publishInstruction, @($...
7
votes
2answers
433 views

Can I get the Tridion item XML through the CoreServiceClient?

Is is possible to retrieve Tridion item XML though the core service client in Tridion? In TOM.NET this would be Tridion.ContentManager.IdentifiableObject.ToXml(). I am not looking for the Core ...
7
votes
1answer
74 views

How does ElevatePrivileges work

As mentioned in this answer on ElevatePrivileges and described in the docs, ElevatePrivileges lets you temporarily elevate the privileges of the current user. I believe this was meant to let item ...
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 ...
7
votes
2answers
907 views

Tridion 2011 Core service code for listing all groups

I am looking for code to list all groups; name, tcm, description. I then want to list all users in these groups. I am working on a report. Also, if anyone knows of a good reference site or book for ...
7
votes
1answer
144 views

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

I'm trying to fetch the list of Protocol Schema's from the content manager, but no luck. I've tried both the GetSystemWideListXml method as the GetListXml, but I'm not sure which type of filter to use....
6
votes
1answer
201 views

Timeout Expired for DecommissionPublicationTarget

While running the DecommissionPublicationTarget Core Service method on a well-used Publication Target I received the following error. The same code worked fine on a less-used Publication Target. I ...
5
votes
2answers
286 views

AccessToken - configure time?

In relation to this question: Coreservice : Upload Binary File (Couldn't upload the binary file Provided access token has expired) I'm wondering if there's a way to configure the 'default' time ...
4
votes
1answer
236 views

Configuring AppData Inspector for SDL Tridion 2013

Frank van Puffelen's AppData Inspector lets you browse App Data using a command-line tool. It comes with a XML configuration file that defines the WCF service client endpoint. For a Tridion 2011 ...
2
votes
1answer
152 views

Force-Finishing the Active Process using the Core service

When I am doing force finish for all active process using the core service, for some processes (apparently at random) I see the following message: EventSystem.DeliverEvent must be called with ...
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 ...
10
votes
4answers
1k views

How to identify if a Component is published or not in a child Publication using the Core Service

We have a scenario where we will get an Item Id of a particular Component from its parent level. We basically want to know whether that Component is published (in a child Publication), and if it is, ...
10
votes
1answer
675 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 ...
9
votes
3answers
507 views

Publishing via Core Service

Using the Tridion 2011 Event System I have some code that modifies a text file whenever a Page is published. If I set a page to publish via the Content Manager the code runs fine. If I set a page to ...
8
votes
3answers
356 views

Consequences of schema changes - Translation Manager?

One of our Schemas changed, a new metadata field called "Date" was added, as a MANDATORY one (minOccurs=1). - all the components using this schema are missing now the content for this mandatory field....
8
votes
4answers
481 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 ‘...
8
votes
1answer
204 views

How to get the Stub URI of an ECL item from an external application

I am writing an application which will trigger workflow on any items that use ECL components when they are modified in the external content library. My original idea was to create a simple web service ...
8
votes
2answers
497 views

Trying to create a Component with the Core Service: Data at the root level is invalid

I'm trying to import some content into Tridion using the Core Service and have a problem with one of my Rich Text Fields when trying to save a new Component to Tridion. I'm getting the following ...
7
votes
3answers
329 views

Use Page linking instead of component linking in tridion

We have a requirement were Editors want to link to a page (Page in Tridion) from component field instead of using the Tridion component linking. We decided to use the Item Selector custom URL approach ...
7
votes
1answer
213 views

How to get the owning publication of a component via the Core Service?

Probably I am missing something obvious, but I can't see how to find out the owning repository (ie the publication where a component is created) when I have opened a component with the Core Service... ...
7
votes
2answers
171 views

Finding the complete history of an item's revisors

I am working on a project an need to find the complete history of who revised a series of items in Tridion 2011 sp1. Currently I am using the following to get the last revisor. versionInfo = (...
7
votes
3answers
475 views

What is the meaning of v0 in tcm id like tcm:163-34568-v0?

I create a multimedia component by core service and print it's tcm id I found printed tcm Id like tcm:163-34568-v0 but when I go sdl gui I found that there tcm showing like tcm:163-34568 what is ...
6
votes
1answer
196 views

Create Admin User in SDL Web 8.5 via core service

In the past (2013 SP1), adding a user that was an admin via core service, I could do something like this: $user.Privileges = 1 but now, with SDL Web 8.5, UserData.Privileges is "obsolete" and doesn'...
6
votes
2answers
2k views

How would I get all pages using core service?

Using the Core Service, is there any way to get information (ID at the minimum) about all the pages in the CMS? I had tried recursing through structure groups but this takes hours as there are 50000+ ...
6
votes
1answer
266 views

Invoking a Publish mode render via the Core Service

Today I wanted to perform a render in Publish mode using the 2013 core service. I created a PublishInstructionData, a RenderInstructionData and a ResolveInstructionData and wired them all together ...
5
votes
4answers
1k views

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

I am developing a ASP.NET (C#) web application that will run on a Content Manager server which will use Tridion 2013 core service. How should I configure my web application to use core service? ...
5
votes
3answers
224 views

Is there a way to find out if a retrieved component is dynamic/publishable using core service?

Is there a way to find out if a retrieved component is dynamic/publishable using core service ? I am not able to see any property that can tell me that . Please help.