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
4
votes
1answer
188 views

How to manipulate with SDL Media Manager items from core service?

I have to get some information about media items from SDL Media Manager in my core service. I found this article but I coudn't make connection to MM. I add service reference (MediaManager2011.svc) ...
4
votes
2answers
100 views

How to attach publication into the existing publication target?

I want to publish my pages from the publication so I want to attach this publication into existing publication target. Here is my current code: PublicationTargetData pd=(PublicationTargetData)client....
4
votes
3answers
315 views

Error while updating page metadata using core service

I am doing metadata update for Pages as below. I am constantly getting the below error XML validation error. Reason: The required attribute 'http://www.w3.org/1999/xlink:href' is missing.. Code is ...
4
votes
2answers
183 views

Getting Error in listing publication data

In CMS there are many publications and some of them are giving following error while accessing them: The formatter threw an exception while trying to deserialize the message: There was an error ...
4
votes
2answers
302 views

Abort Publishing of an item using Core Service

I have some items in publishing queue in schedule for deployment state. I want to abort some of those transaction on the basis of Id of the items using Tridion Core service API. I want to remove items ...
4
votes
2answers
108 views

How to add a Keyword in Tridion using Core Service?

I need to add a Keyword based on its Keyword title using the Core Service. Please help me which function of Core Service I can use along with some sample code if possible as well. I have a Keyword ...
4
votes
1answer
312 views

Impersonating user with Core Service App and Angular client

I want to make a Custom Page App, using Angular on the client and .Net Core on the backend (WebService) For the user authentication, I can get the username in the JS side....but on the CoreService ...
4
votes
2answers
128 views

Webdav url format in SDL Web 8.5

Did webdav url format changed in Web 8.5? When I am calling folder.LocationInfo.WebDavUrl API the below output it is returning /webdav/300%20ABC%20Content%20%28UK%20EN%29/Building%20Blocks/Content/...
4
votes
2answers
187 views

Read TCM IDs of multi-value embedded field using .NET Core Service script

I am trying to read the TCM ID from a multi value embedded field using Core Service. I would prefer to avoid using XML and string manipulation as much as possible and thought this was doable using the ...
4
votes
2answers
122 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 ...
4
votes
2answers
208 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
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 ...
4
votes
1answer
559 views

Add values in the components embedded multi-value field using core service API's

I'm trying to add values in the components field using core service API's.Component have embedded field with multi-value.when i am trying to add field value it is updating first field value and not ...
4
votes
2answers
162 views

Improve performance while publishing using core servcie

I gotta question in mind while developing a app which does huge publishing using core service. I wanna know which way is the best and highly performant. I can call the Publish method with all the item ...
4
votes
1answer
87 views

When would I use the Begin and End Core Service methods?

In the Core Service API there are Begin and End methods such as BeginIsPublished, BeginGetListXml, and BeginMove. What are some practical examples of when I would use these methods?
4
votes
1answer
225 views

Find user by name using coreservice

I want to use the CoreService API to get a User object from Tridion. But, instead of using the tcm-id, I want to use the user's domain name, e.g. "ad-ent\xyz" I don't see a webdav url for the User ...
4
votes
1answer
146 views

New Component does not exist when in Workflow using Core Service

In Tridion 2011 SP1, I am trying to read a new Component using a Schema associated with workflow using this Core Service code: ComponentData wfItem = client.Read(componentUri, new ReadOptions()) as ...
4
votes
1answer
150 views

Is there a difference between KeywordsFilterData and OrganizationalItemItemsFilterData when used with a Category?

I have written code to retrieve the keywords in a category. In one version I am calling GetListXml with a KeywordsFilterData and in another version I use OrganizationalItemItemsFilterData. The output ...
4
votes
2answers
59 views

Error on publishing a Page in Tridion Core Service?

public void PublishComponent() { string domainName = System.Configuration.ConfigurationSettings.AppSettings["domainName"]; string userName = System.Configuration....
4
votes
2answers
169 views

CoreService filter with SchemaPurpose and Recursive not working

I'm using Core Service API to find all component schemas within a folder recursively. This is the code. OrganizationalItemItemsFilterData filter = new OrganizationalItemItemsFilterData(); filter....
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 ...
4
votes
2answers
139 views

Get "local" Page using Core Service based on Component

I have the ID of a Component (or localized version of Component) and would like to get the Page that Component is used on (to Publish) First part is easy UsingItemsFilterData filter = new ...
4
votes
2answers
158 views

How to track the changes made on Page?

I have a requirement where I need to track the changes made on page every time it is published on PROD. I am planning to use PublishInfo of the page and get the timestamp of second last published ...
4
votes
1answer
170 views

how to get bundle information of a page using core service

I am reading tridion Page of type PageData via core service. The page is attached to a bundle but the bundle is not in a workflow. Is it possible to get the attached bundle information from the ...
4
votes
2answers
364 views

How to get the Field type when reading the Schema Field?

I am reading all the Schemas using core service from the Building Block folder, after reading the schema, I am reading all the field from a particular Schema. I successfully get all the field from a ...
4
votes
2answers
130 views

core-service via PowerShell load of all users not returning all user data

I am curious if this is my issue, a defect, or something else. I am using PowerShell to connect to CME via core-service and load all users (excluding the "predefined" users). I get the user objects, ...
4
votes
1answer
92 views

why does look up HTTPS Publication Destination via webdav url has extra "/"?

I am using the PowerShell Core-Service module (https://code.google.com/p/tridion-powershell-modules/) and I can easily obtain the schema Publication Target Destination by tcm id: $schema1 = Get-...
4
votes
1answer
179 views

Where to get the JARs for sdltridion.contentmanager

(I asked this question on stackoverflow and they pointed me to the existence of tridion.stackexchange.com, so I repost it here.) For our automated tests I want to connect to Tridion from our Java ...
4
votes
1answer
142 views

Check in Components with Core Service (Tridion 2013 SP1) is not working

We had a Core Service script running that left thousands of Components checked out. I would like to fix this with another script based on Robert's example (http://www.curlette.com/?p=1095). I don't ...
4
votes
1answer
52 views

Core Service Client lack of robustness in Workflow

I was recently asked "that hotfix looks pretty much the same as this problem we have here - should we just try it?". The challenge we've encountered is increasing timeouts (even with increased ...
4
votes
1answer
188 views

SDL - The specified path, file name, or both are too long

Looking for some insight, literature or experience out that describes ecl uri encoding. We have a url that looks something like this that is imported via coreservices from s3 bucket into our CMS ...
4
votes
1answer
46 views

Tridion.Logging missing one of its dependencies

I am having issues finding the proper dll reference for Tridion.Logging. Currently I am referncing/using: using System; using System.Text; using System.Text.RegularExpressions; using System....
4
votes
2answers
385 views

Get Shared Pages for Component using Core Service

I would like to get the shared Pages for a Localized Component in WhereUsed with the Core Service. (The Page is created in a Parent Publication and shared, and the Component is Localized.) The ...
4
votes
1answer
87 views

How to read NextActivityDefinitions of a TridionActivityDefinitionData using Core Service?

I need to get the next activity definitions on a TridionActivityDefinitionData object using Core Service in Tridion 2011 SP1. My activity definition object represents an automatic activity with 2 next ...
4
votes
1answer
104 views

Marking items as unpublished via Core Service

I have a requirement to mark one Publication as unpublished to all publication types/targets. As I see it I have a few options Unpublish each item, from each target it is published to using ...
4
votes
1answer
780 views

Getting list of published pages againtst a specific target type in specific business process type

I have core service functional code that gets all the published pages against a specific publishing target. But as part of web 8, the concept of publishing target has been eliminated. Now I want to ...
4
votes
1answer
201 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 ...
4
votes
1answer
337 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-...
4
votes
1answer
87 views

Getting Oracle error while force finishing a workflow

I used the link how to start workflow for bundle using core service? and wrote the below code. private bool StartWorkflow(VirtualFolderData bundledata, out string processInstanceID) { ...
4
votes
2answers
127 views

How to access stub component in ECL StubComponentCreated method

I'm creating an ECL provider, and in my provider, I want to store some metadata from the external content in the stub component. While I could use the event system, using the example that can be found ...
4
votes
1answer
173 views

Core Service and RTF Field update in Component

I want to update the contents of an RTF field with the Core Service. In the process, I convert it to an XDocument and back - maybe it's not needed and causes the issue, not sure. I'm using XDocument ...
4
votes
1answer
173 views

can't parse Component Content XML via XPath

I am using the PowerShell module to fetch a component via core service. My end goal is to update it and save it. however, I am failing to get started on the XML parsing aspect of things. So, this part ...
4
votes
1answer
80 views

Tridion Configuration Issue (Works locally but not remotely)

We have been having a strange issue with core services. Our application uses Angular as the front end and ASP.NET for back end. The back end api service connects to Tridion using core services. The ...
4
votes
1answer
115 views

Timeout Expired for DecommissionPublicationTarget Tridion 8.5

The Problem with Decommissioning Publication Targets has returned in Tridion 8.5, see original Tridion 2013 Question at Timeout Expired for DecommissionPublicationTarget Any suggestions on how to ...
4
votes
1answer
206 views

COM error in SDL Web 8

On my SDL Web 8 Content Manager box I get this COM error when I call the SystemWideList on the Core Service. Exception calling "GetSystemWideList" with "1" argument(s): "Unable to get object: ...
4
votes
0answers
93 views

DXA 2.0 CTP 2 - cm import - ContractFilter mismatch at the EndpointDispatcher

I am trying out a DXA 2.0 CTP2 install on Web 8.5 and getting the following error, can anyone offer some direction for what is misconfigured to cause this? It might not have something to do with DXA ...
4
votes
1answer
91 views

Error While using IsExistingObject Method to check component exists through webDav URL in Core Service

I have an issue when I tried to check the component existence through WebDav URL using method IsExistingObject Error message: A database error occurred while executing Stored Procedure "...
3
votes
3answers
320 views

Overriding Publishing Queue

We have a requirement to override publishing queue of Tridion (2013 SP1 and SDL Web 8) where we need to take care of below scenario. Scenario : If there are multiple items in publishing queue, we ...
3
votes
2answers
261 views

SQL Query versus CoreService

Anyone know of any issues with directly querying the Tridion CM database? I have used both direct queries and the core service. I like direct queries better because it seems to be faster and much ...
3
votes
2answers
271 views

How to find out who modified publication properties like Publication URL etc.?

Is there a way to find out who has modified Publication properties fields and when? We have found that publication url was modified and pages published to wrong URL, and fixed it when we noticed. But ...

1
3 4
5
6 7
12