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
662 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 ...
8
votes
1answer
113 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 ...
6
votes
4answers
2k 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 ...
6
votes
3answers
376 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....
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
545 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
495 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
603 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 ...
7
votes
2answers
515 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
780 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
85 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
301 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
411 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
312 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....
6
votes
2answers
179 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....
5
votes
1answer
210 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/...
5
votes
3answers
491 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 ...
3
votes
2answers
415 views

Tridion.ContentManager.CoreService.Client with .NET Core

I'm trying to setup a new project to use Tridion.ContentManager.CoreService.Client.dll. I have successfully used this library in the past, but this time, my project is a .NET Core application. Anyone ...
-10
votes
3answers
797 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
2k 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 ...
7
votes
2answers
996 views

Using Core Service and GetSystemWideList to get Publish Targets list

I have some Tridion 2011 Core Service code to get a list of all PublishTargets for a given Publication. However, in Tridion 2013 it appears the PublicationTargetData to be null. I am not adding any ...
5
votes
1answer
276 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
448 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
852 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....
12
votes
2answers
557 views

Core Service Keyword Creation

I am creating keywords using the core service with the below code, the problem is I don't want to use a hardcoded TCM ID for the Category, as this may change between environments. Is there any way to ...
11
votes
1answer
289 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....
9
votes
1answer
325 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
487 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
2answers
933 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
149 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....
7
votes
1answer
282 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 ...
6
votes
1answer
222 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
342 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
267 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 ...
3
votes
1answer
444 views

Coreservice : Upload Binary File (Couldn't upload the binary file Provided access token has expired)

I'm trying to upload binaries in the new Web 8 way. (i've got a few gigs worth to upload). Each time I try and upload a file, I run the following code: StreamUploadClient _UploadClient = null; ...
2
votes
1answer
177 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
722 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
1answer
767 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 ...
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, ...
9
votes
3answers
523 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
4answers
487 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
2answers
575 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 ...
8
votes
3answers
375 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
1answer
236 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 ...
7
votes
3answers
378 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
3answers
508 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 ...
7
votes
2answers
177 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
1answer
236 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... ...