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
8
votes
3answers
377 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
313 views

UserPermissions required to use Core Service?

This code works nicely when I have "Administrator" privileges... string item = "tcm:12-31-64"; if (this.client.IsExistingObject(item)) { this.client.Read(item, new ReadOptions();); } ...but when ...
8
votes
4answers
489 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
585 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
1answer
116 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 ...
8
votes
1answer
241 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
660 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 ...
7
votes
2answers
938 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
2answers
491 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
251 views

Is there anyway t get the version history of Categories, keywords and structure groups

I m trying to get the versioning history of all the item in tridion using core service. But since there is no versioning history in tridion for the categories, keywords, SG and folder I wonder how ...
7
votes
4answers
546 views

How can I check if an item in "CheckedOut|Permanent" lock is checked out with the Core Service?

I have a versioned item and its info object and I need to see whether it's checked out or not, however, when I view its info.LockType.Value, I see it has assigned "CheckedOut|Permanent". How can I ...
7
votes
2answers
508 views

Tridion training

I am really new to this CMS (3 days) and I need to use it for my job. Can you please advice me what type of training would I need to buy from the developers in order to learn properly how to use it? ...
7
votes
3answers
515 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
3answers
96 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 ...
7
votes
2answers
84 views

Core Service performance of GetList() vs GetListXml() methods

I seem to remember that regarding performance optimization, the XML versions of the GetList and GetSystemWideList methods are preferred over the object versions. However I can't find any documentation ...
7
votes
2answers
524 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 ...
7
votes
2answers
364 views

Unable to update a Keyword using SDL Tridon Core Service

I am trying to copy the Keyword value to a Metadata field value using the SDL Tridion Core Service. I am able to run my console app successfully without any error but I don't see the Metadata field ...
7
votes
3answers
93 views

Setting 'paste as text' as default per user via core service

I have a need to set a specific users content editing parameters, specifically I need to set "paste as text" as a default for some users. I have been unable to parse out what needs to be done from the ...
7
votes
2answers
155 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
1answer
238 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
1answer
175 views

Error while creating Template Building Block with core service

We are currently working in Java to export data from a tridion environment, creating files like template.tctcmp and template.dwt. When importing these files back into tridion with the core service, no ...
7
votes
1answer
144 views

How to retrieve all using items (indirectly using Components too) of a particular Component through the Core Service

I have a Component A which is embedded in another Component B. This nested behavior we may have up to 3 to 4 levels. Finally the last Component will be used on a Page. My case is, I have to find the ...
7
votes
1answer
138 views

'Published To' Information

How can I get the information found on the 'Published to' tab via Core Service? I can get 'Used In' and 'Uses' no problem, but can't seem to track down 'Published to' information. Help greatly ...
7
votes
1answer
136 views

How to set FileExtensionList

I am new to tridion and I want to Create a multimedia component and I have written the below code. import com.sdltridion.contentmanager.coreservice.ICoreService; import com.sdltridion.contentmanager....
7
votes
3answers
383 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
788 views

Get item by title and path using core service

I want to get the item(Page,CT,PT) by its title and path.Since there may be more than one item matching the search criteria if we search only by title so I want to search the item by its name and ...
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
2answers
181 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
143 views

How can I update the Target Group Conditions in a Component Presentation using the Core Service in SDL Tridion 2013?

I am trying to update the Target Groups conditions in the component presentations of a page using the Core Service. I am in SDL Tridion 2013 and here is the code I am using: try { OpenSession(...
7
votes
2answers
366 views

Why does Tridion think my Component both is and is not published?

We have an application that is going through a number of the Components in one Publication (the Source) and if they are published to a specific Publication Target, publishing them to another ...
7
votes
1answer
139 views

Adding a UserItem to TranslationJob ERROR

I have written a plugin for SDL Translation Management Service which should add the UserData for the creator of the TranslationJob to the resolved items: public void TranslationJob_Resolved(...
7
votes
2answers
999 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 ...
7
votes
1answer
1k views

How to get the list of all publications using Tridion core service

I want to get the list of all publications in Tridion CMS using core service. Couldn't fetch the publications Information using PublicationData Class or PublicationFilterData class.
7
votes
1answer
283 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
1answer
116 views

Load mountpoint in a Custom page using ECL Content Library

I am developing a custom page to upload components in CMS using Core service. Image fields in component will refer media manager images. I have ecl uris for images so i need to create stub for them ...
7
votes
3answers
204 views

Facing issue with our Tridion eventing module on component save and close with multiple user

I am facing some issue with our Tridion eventing module. Please let me explain the issue. Background: We have approx. 70-80 users who create content via CMS where it’s expected that more than 70% of ...
7
votes
2answers
239 views

Search components based on "Multiple" keywords using core-service

I need to search components based on keywords using core-service. and I am using the SearchQueryData class to search. I am using below function: public XElement GetSearchResults(string[] keywordList)...
6
votes
3answers
8k views

The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state

Just started seeing the following error in the CME when trying to open any component or page: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication ...
6
votes
1answer
613 views

How to get a page's full URL using the Core Service?

I have a Core Service app which shows links to published pages on the staging site, for this I am trying to get the page URL from the PageData object, but I cannot find a property for this? Is there ...
6
votes
3answers
393 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....
6
votes
2answers
263 views

How to find pages using query criteria by last publish date?

I have query like this: Criteria criteria = new ItemTypeCriteria(64); var pages = new Query(criteria ); I also need to add criteria to get pages which were published after specific date.
6
votes
2answers
865 views

Component is not getting saved through Core Service

I am trying to open and save a Component through Core Service. I am using SDL Tridion 2011 SP1. I have written some code segment like this. ComponentData c = client.Read("tcm:30-53172", new ...
6
votes
2answers
218 views

Permissions - Can I enable/disable the “Inherit Security settings from parent’ option for a folder via core service?

Permissions Can I enable/disable the "Inherit Security settings from parent" option for a folder via core service? I searched for options here in folderData.IsPermissionsInheritanceRoot. Please ...
6
votes
2answers
117 views

Creating KeywordFieldDefinitionData type fields

I have a requirement to create Components based on a Schema via Core Service. The content will be coming from an Excel spreadsheet. I was able to handle most of the field types, except one with ...
6
votes
2answers
259 views

Error when synchronizing a component against a schema with optional embedded fields which have mandatory embedded fields

I have a schema as follows: As you can see it has some embedded fields which are optional (Select List, for example). Some fields inside those embedded fields are mandatory. The component you are ...
6
votes
2answers
180 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
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) { ...
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
445 views

Component Presentations not being added to page through core service

I've been looking at the following article to create pages using the core service, I've found the page does create but only the last component presentation is added to the page? The code below shows ...
6
votes
1answer
163 views

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

When doing a 'View on Site' from a Component in Tridion 8.5, the popup dialogue gives a list of pages that the the component has been published on (along with the Purposes): I can see from Fiddler ...

1
2
3 4 5
12