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
1
vote
1answer
94 views

Retrieve component based on user comment and based on schema

We did bulk component update using core service and while updating those components we saved specific comment. Using core service or TOM.Net API, is there any method that can give the component based ...
4
votes
2answers
115 views

sometimes _client.IsExistingObject(id) returns exception rather than false

In my code I'm reading a Bundle which is in workflow and eventually it get dissovled after completion of workflow. To avoid any reading error I am using IsExistingObject(bundle_tcm_id) method from ...
0
votes
2answers
575 views

How to get component meta data fields and values using core service? Please provide examples

Tridion2013. Can someone provide example of core service code retrieving list of metadata fields of a component from multiple folders. Instead of hardcoding the metadata field name, I would like to ...
3
votes
1answer
161 views

In the Core Service in Web 8, what is the batch_netTcp_201501 binding used for?

I am using the Core Service in SDL Web 8.1.1 and noticed a new binding in the sample config file "Tridion.ContentManager.CoreService.Client.dll.config" called 'batch_netTcp_201501'. What is this ...
3
votes
1answer
70 views

Carriage Return / Linefeed Duplicate Item - Duplicate Component names under same folder

When importing content into Tridion via core services, has anyone ever seen duplicates of the same item? I've been working with Tridion for a bit now, and I have not seen this happen in the UI or in ...
4
votes
1answer
187 views

Tridion Core Service - Unit Testing

Is there any example how unit test can be written for manipulation with items in Tridion using Core Service? For example, we would like to have test for Workflow, event system, creating and updating ...
3
votes
1answer
184 views

Possible to get the Page URI from a URL in SDL Web 8?

Is it possible to get the URI of a Page from the published URL with SDL Web 8? I understand that the new Topology Manager stores the URL for every page and it's possible to know the URL from the ...
3
votes
2answers
242 views

Tridion 2013 Core Service

Application works with Core Service to read tridion items and to calculate some stuff. Core Service is configured to use wsHttp binding. On one environment everything works fine. But on other ...
3
votes
1answer
221 views

Error in upload Image to SDL Tridion using SOAP API 2013 and CXF (Java)

We are trying to upload an image using SDL Tridions SOAP API using Apache's Java CXF. And we are stuck during the creation of a component data component with binary content with this error message: ...
1
vote
2answers
115 views

Core service unable to retrive the component from newlly created folder based on schema

I am using below code to get a component list from particular folder based on a particular schema. SearchQueryData queryData = new SearchQueryData { BasedOnSchemas = new BasedOnSchemaData[] {...
-1
votes
1answer
99 views

fetch publication structure using core-services (java) [closed]

I want to fetch publication structure using core-services (java) from SDL Trdion13. what i need to do for this?
0
votes
2answers
167 views

Export Content from SDL Tridion 2011

Please let me explain the scenario: We are using SDL Tridion 2011 , On our platform we have more then 100 publications out of these 100 Publication 1 publication want to leave the platform so our task ...
1
vote
1answer
99 views

Timeout Error on “”EDA_ORG_ITEMS_READ" using Core Services

I have written a TMS plugin and extracting all the components present in the pages/bundles/structure groups sent in the translation job. While performing these operations I am sure core service must ...
1
vote
2answers
491 views

Get all components based on a schema

Hello I'm using Tridion 2011 and I need to get all the components from a specific publication and based on a specific schema in C#. Does anyone knows how to do it? Thanks in advance.
0
votes
1answer
205 views

read comma as a new line through xslt

` <Telephone>1234 64 79 31 6,345664 01 04 23, 55551 04 24</Telephone> ` There is a tridion component, which has telephone number as a simple text field.multiple numbers are given in that ...
9
votes
2answers
279 views

Delete components which are in use

I want to remove a publication with over 5000 components. First I unpublished all pages. Then I ran a decommission script. When finished, I deleted all pages. Now are only the components left. I ...
2
votes
2answers
119 views

How to delete Translation job using Core Services?

I have written a SDL Translation Manager plugin which invokes on onSave event of any Translate action performed on page or bundle. Once I perform the business logic I want to delete the job created ...
3
votes
1answer
152 views

How to read schema fields (especially xml type) from tridion using core service factory java?

I am able to read xml name, description, details whether it is mandatory or multivalue using core service factory java. I am not able to read xml type. There is no method called 'Gettype'. Could ...
1
vote
2answers
93 views

schema field values to be ticked by default only for values selected for other field

I have a schema which has two fields, "expand" and "website". In website i attached country category, where it has several country keywords. Now for"expand" field , i have one check box value as "yes"....
2
votes
1answer
139 views

How to check allowed file extensions for multimedia component (with CoreService)?

I want to replace the jpg file of a multimedia component with a file with another extension (png for example). How can I check if the file extension is allowed for the component schema? I already got ...
4
votes
3answers
135 views

Changing Publication Settings through the Core Service

Am I missing it or is there nothing in the API to allow us to access the Workflow (and Translation) settings tab in a Publication through the Core Service? I basically want to set the Enable Workflow ...
6
votes
2answers
421 views

Deleting old versions of Tridion items recursively for large publications

I have read the documentation on how to purge old items. It describes using the Remove-TcmItemsOldVersions PowerShell script to do this. I am running into a number of issues with the script We have ...
2
votes
2answers
185 views

Publish Transaction PublishContexts returns null from Core Service

I am having trouble on fetching the PublishContext from the PublishTransactionData object using Core Service. It always return null for all type of transactions. In my below code Snippet the value of ...
-2
votes
4answers
181 views

Ways and steps to debug custom event handler code if any

Want to know Ways and steps to debug custom event handler code something developer can do. am using VS 2012(user machine not where the Tridion CMS hosted) for developing custom event handler code ...
1
vote
0answers
68 views

RTF field gets the replaced data after import

While importing a csv file to creata cms component using core service custom pages, there is an RTF field in schema and csv has value for this as: <img src="tcm:32-97620" title="...
2
votes
2answers
94 views

Error on optional field when using Core Service SynchronizeWithSchemaAndUpdate

I am trying to synchronize Components on a Schema that has a multi-value optional field "AAA" of type Embedded Schema "Aaa", which has a mandatory embedded text field "BBB" and another optional ...
1
vote
2answers
350 views

Core Service Login Issue (store procedure)

There is some simple code for communicating with Tridion over Core Services.The requirement is to get some items from Tridion using basic http protocol for Core Services. I am running the application ...
1
vote
1answer
82 views

Retrieve immediate folder name if particular component is present using core services

I have a Main folder(mf) name as 030 Main, which has folders(f), subfolders(sf) and Components(c)like below. mf- main foler,f- folder, c-component. just to make simple, if c is present how should i ...
3
votes
2answers
116 views

retrieving component from subfolders excluding some subfolders

I have a folder, which has subfolders and components. For example, Main folder name as 030 Main, which has subfolders with names: 100 mango 120 apple 150 cake archive not used trash There are also ...
1
vote
1answer
576 views

how to get only components from a folder using coreservices

I have a folder, which has subfolders and components. Now i want to retrieve only the components which uses a specified schema.How do i do it using core services.
5
votes
2answers
222 views

How to get the created date of a Component using the Core Services

I am trying to get created date of a Component using the Core Services. I tried using versioning info, but there I can only see the modified date. I used the below. In version List, I get all the ...
1
vote
1answer
60 views

Retrieve List item values from a Component using the Core Services

How to retrieve List item values from a Component using the Core Services. Below is the xml. <FaqCategory xmlns="http://www.xyz.com/tridion/schemas"> <Title>Denied boarding ...
3
votes
1answer
71 views

Error while syncing of subscription database and outbound email db through profile sync

This problem is related to : http://tridion.stackexchange.com/questions/13414/error-while-syncing-subscription-db-and-outbound-email-db-through-profile-sync I am facing difficulties to sync my ...
3
votes
1answer
172 views

Creating a Bundle | Core Service | Unknown Virtual Folder Type

I am creating a bundle using core service same as explained here. Below is the code I am using: var bundle = (VirtualFolderData) client.GetDefaultData(ItemType.VirtualFolder, "tcm:2-3-2", new ...
2
votes
2answers
219 views

Core Service API failed to connect to CMS from Linux box

I am trying to connect to CMS implementing Core Service API from my JAVA application. I have used below configuration to access the CMS - Address: http://ServerName.****.*****.com/webservices/...
4
votes
1answer
290 views

Unpublish component with all the templates it got published

I have a scenario like component must be unpublished when the expiration date meet. am using core service to do that. Suppose when a component published with template A & B, When I tried to un-...
1
vote
1answer
65 views

How to move google sitemap.xml created using core service from CMS server to CD server?

I want to create tridion core service application to create google sitemap.xml file. My CMS server is windows server and CD server is linux server.Is it possible to push sitemap.xml from CMS server to ...
3
votes
1answer
108 views

Linking across 2 publications within Tridion

We have a requirement to link pages within Tridion across multiple publications. We would need this feature to be available for some websites (200 pages) that we are migrating from another CMS tool. ...
2
votes
1answer
71 views

PublishState enum for Rendering Phase?

What is the Enum int for the Rendering Phase of a Publish Transaction? I found this handy chart about Publish States, but I don't think I understand where 'Rendering' is in the list. In my code I ...
2
votes
2answers
225 views

List of parent structure groups from a page using Core service

Please let me know how to get the list of parent structure groups from the given page id using core service 2013? I was try to use below code in my workflow automatic activity to get the page detail ...
6
votes
2answers
224 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 ...
5
votes
1answer
140 views

Getting stuck on Core Service call

I am making a GUI Extensions that needs to get all Components and their schemas that are being used on the pages that the user selects. To do this, I just get all PageData's (CoreServce) for the ...
7
votes
3answers
327 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 ...
3
votes
1answer
355 views

Core Service - Create Component with multivalue Component Link Field

We are using Core service to create components in Tridion using the Fields class. Component schema has one Multi Value Component Link field and one Single Value Component Link Field. We are reading ...
11
votes
2answers
201 views

How can I tell if event system code has been loaded?

We've written some event handlers to handle editing, building on the example that was started in http://www.tridiondeveloper.com/intro-to-the-event-system The code worked well in development but didn'...
1
vote
1answer
236 views

Get Keyword Id from Content of Component

I need to write an application which requires me to get all keywords out of a given component. So if I have following schema: text_field_1 : KeywordFieldDefinitionData, Category (tcm:x-y-z, ...
2
votes
1answer
263 views

Custom URL Item Selector: How can I get Webdav URL instead of TCM ID?

I came across few posts where users had tcm IDs in the component fields (Either entered manually or picked by applications like Item Selector). Most of them faced problem while migration or upgrade ...
4
votes
2answers
199 views

Getting start time of Publish action for Item

I'm polling the Publish Queue and using the following code to get a list of Publish Transactions. I want to find out when the publish action started - so then I can compare it with the current time ...
4
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? ...
1
vote
1answer
134 views

Content Delta Sync tool for getting the correct version items

We are doing content migration want to create tool using below approach please give your valuable suggestions. Developing this tool there is huge in items and many items are modified but not ...