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
2 votes
2 answers
21 views

How can we check the type if we have tcmUri using Core Services?

If I've tcmUri say(tcm:31-2-1) how can I know the nature of it. Whether it is Component,Page,Schema,Folder etc. Do we have anything in core services by which we can check>
user avatar
0 votes
1 answer
36 views

How to get Folders inside Publication using core serives

I am trying to get Folders just inside the publication not all the folders in the publication Is there any way we can do it?
user avatar
2 votes
1 answer
30 views

I am trying to get all the folder inside publication but getting some error

I am trying to get all the folder inside publication. Here is the snapshot of the code I am using
user avatar
0 votes
0 answers
48 views

Error on Tridion Core Service while executing "client.Save" or "client.Update" method

We are using Tridion Sites 9.0 and while executing client.Save()/client.Update() method we are getting an error - Could not load file or assembly 'HtmlAgilityPack, Version=1.11.23.0, Culture=neutral, ...
user avatar
  • 119
1 vote
0 answers
30 views

I want to get the component inside the region? Is there any way?

I am trying to create a page usign coreservices. I require to change the component inside the region. Is there any way I can do that ?
user avatar
2 votes
1 answer
36 views

Is there any way to get all components of a Folder using TcmID of the Folder?

I am trying to get all the components inside a folder using tcmId is there any way ?
user avatar
1 vote
0 answers
67 views

Using Tridion Sites 9.6 Core Service.REST API saving component

While I am going through Tridion Sites 9.6 Core Service.REST API for saving an item it is mentioned as follows "/v{api-version}/items": { "post": { "tags": [ &...
user avatar
5 votes
1 answer
52 views

How to find if a component is used in a published page using core service in Tridion?

I need to find out if a component is used in any published page using core service. This needs to be displayed in a column using GUI extension for all the components in a publication. If a component ...
user avatar
0 votes
0 answers
31 views

How to Filter Out all the Published Components from the list of all the components for a particular publication

I want to filter out all the published components from the list of all the components for a particular publication. Currently I am getting a list of all the components and in that I want to put a ...
user avatar
3 votes
1 answer
36 views

Tridion Sites 9.6 Core Service.REST for workflow (yet)?

Tridion Sites 9.6 introduces the public, supported Core Service.REST API for interacting with the Content Manager. I understand expected use cases for the API include Content Manager-side programmatic ...
user avatar
  • 12.6k
0 votes
1 answer
50 views

How to get active target types

We have total 4 Target types, Two are Marked Offline "Yes" and Two are Marked Offline "No". now we are getting all target types using below conde but we need available targets( ...
user avatar
  • 301
4 votes
3 answers
87 views

How to get published pages which are published in Last 24 Hours

How to get Publication and Pages list from Publishing Queue Using Coreservices, which are published in Last 24hours. we are using SDL Tridion Sites 9.1.0
user avatar
  • 301
1 vote
1 answer
57 views

API change when switched to Topology Publishing in SDL Tridion Sites 9.5

While using legacy publishing we used below API to fetch publication target. But now with Topology Publishing publication target exist no more. Which API now we can use for same ...
user avatar
4 votes
1 answer
124 views

How to impersonate core service client when using Azure OpenIdConnect Authentication

We are using SDL Tridion 9.5 and we have configured Azure OpenIdConnect Authentication using Access management for login into CME. We are working on a Custom Page using core service client but we are ...
user avatar
  • 2,425
0 votes
2 answers
51 views

How to get all normal keywords inside nested keywords?

We need to get all the normal keywords inside the abstract keywords: for example we have 2 normal keywords hotelA and HotelB: hotel(category) United States (abstract keyword) North Dokota (abstract ...
user avatar
  • 125
3 votes
3 answers
84 views

Tridion 9.5 CoreService publish method fails

Hi I am trying to publish content using core service, I am getting following error Value cannot be null.\r\nParameter name: source here is following code I am using to publish _client.Publish(new ...
user avatar
0 votes
2 answers
86 views

Tridion 9.5 Core Service - how to fetch list of Publish purpose

With the reference to this thread: https://tridion.stackexchange.com/a/4597/1556 I am looking for a similar answer where I need to fetch a list of publishing purposes(BPT) instead of ...
user avatar
3 votes
1 answer
99 views

How to retrieve GUID from files for Tridion docs SP2 via WCF?

I've been able to get my personal user information via C# -- WCF via https://docs.sdl.com/801922/351949/sdl-tridion-docs-13-sp2/using--svc-web-service-in-c--for-------------ishsts. However, there is ...
user avatar
  • 31
1 vote
1 answer
79 views

How to Read the Tridion Page URL from the publication using Core Services?

I have a list of Tridion page URL's in an excel sheet, which should be unpublished on Click of a button for which I am developing a custom page. How do I read the URL from the publication.? For ...
user avatar
2 votes
1 answer
135 views

Create coreservice client using credentials of a logged user in tridion using UI

We have an GUI extension tool which connects to .net api running in tridion server which uses coreservice to get required informations. We have set a default username and password to connect ...
user avatar
  • 125
2 votes
0 answers
69 views

SessionAwareCoreServiceClient connection state Faulted in 2013 Core Service

We have serious problems trying to connect to Core Service (2013) with one of our clients (with both wshttp and netTcp). The only difference in this case is that this client has a proxy, but proxy is ...
user avatar
1 vote
2 answers
57 views

Trying to connect to remote Tridion server using Tridion Powershell Modules

Update - Hi, I am embarrassed to say that as a newbie I didn't realise that Tridion was different to Tridion Docs and it is Tridion Docs files that I need to access and manipulate. So I have since ...
user avatar
0 votes
1 answer
47 views

How to get distribution GUID of an media manager image using coreservice where input will be a ecl tag

In sites 9.1, there is media manager connector present. Task 1: I want to read all ecl tags from tridion component and stored in a file using Core Services which is not an issue. even i am getting ...
user avatar
3 votes
2 answers
58 views

How do I rollback a VersionedItem to a previous version with the CoreService?

As part of a data-migration script, I need to be able to rollback a Component to a previous (known) version. How do I do that using the Coreservice (sites 9.0)? Bonus points for Powershell syntax .... ...
user avatar
0 votes
1 answer
130 views

CoreService : AccessToken Issue while implementing Upload Binary using Coreservice

Trying to Build an API to upload Binary Using CoreService Web(8.5) in Java. On using IStreamUpload.uploadBinary(AccessTokenData, byte[]), it gives exception Due to AccessToken. It gives the following ...
user avatar
1 vote
1 answer
86 views

How do I retrieve an entity from CMS from an External Library Connector

Edit: I realize, I never included which version of Tridion is being used. We are using 9.1 Currently my connector is using API calls to an external content library to get lists of folders and files ...
user avatar
2 votes
1 answer
138 views

Need to connect Tridion core service for .Net Core 3.1 Application

Requirement is to create a Core service application on the .Net Core 3.1 framework for Web 8.5 version. Tried the below steps as suggested in the blog. Blog Add new Connected Services Select ...
user avatar
  • 107
1 vote
2 answers
125 views

Tridion Total Content Size

How can I find out the total content size in a particular publication (all Tridion items) or in the entire Tridion system (All publications)? Please suggest.
user avatar
  • 313
0 votes
4 answers
101 views

Scan entire TRIDION (all publications)

I would like to generate report of all Tridion items (all publications) to analyze the content. Curious if I need to get the list of publications and iterate through all using core service, please ...
user avatar
  • 313
2 votes
1 answer
74 views

Azure AD integration & Core service

I have the following setup: all CM users are Azure AD users, all CM groups have Azure as identity provider and are mapped to appropriate Azure AD groups. No users is explicitly added to CM groups. ...
user avatar
0 votes
1 answer
54 views

Not able to use SynchronizeWithSchemaAndUpdate or SynchronizeWithSchema for Structure Group

Using coreservice 7.1 When i try to synchronize a Component or a Page using SynchronizeWithSchemaAndUpdate method it synchronizes successfully, but when ever i try to synchronize a Structure Group it ...
user avatar
  • 125
2 votes
1 answer
78 views

Page Metadata using Core Service not showing up all fields

I am trying to get all Page metadata fields using Core Service, but PageData.Metadata returns only fields having values defined in Page metadata in Tridion. I would like to retrieve all fields even if ...
user avatar
  • 313
0 votes
1 answer
155 views

How to insert HTML content on Source tab of Rich Text Field using Tridion Core Service?

I am trying to create Components using Tridion Core Service. I want to insert raw HTML content on Source tab of Rich Text Field. Refer the attached screenshot which manually I modified, the same thing ...
user avatar
  • 119
1 vote
0 answers
81 views

Coreservice client to 8.5 from 7.1 and cannot use the getCurrentUsers methods

Recently I upgraded my Tridion coreservice client to 8.5 from 7.1 and then I am not able to use the some basic methods like client.Read() , client.GetCurrentUser etc which gives us exception error: ...
user avatar
  • 125
3 votes
2 answers
75 views

How to get a keyword using value i.e Title in Tridion core service?

* to get keyword Id using keyword value?*
user avatar
  • 448
3 votes
1 answer
51 views

how to tag a HTML meta in keyword?

public void FamilykeywordHTML() { string domainName = System.Configuration.ConfigurationSettings.AppSettings["domainName"]; string userName = System.Configuration....
user avatar
  • 448
4 votes
2 answers
72 views

Error on publishing a Page in Tridion Core Service?

public void PublishComponent() { string domainName = System.Configuration.ConfigurationSettings.AppSettings["domainName"]; string userName = System.Configuration....
user avatar
  • 448
2 votes
1 answer
27 views

Facing Publish error while Publishing a page in tridion core service

public void PublishComponent() { string domainName = System.Configuration.ConfigurationSettings.AppSettings["domainName"]; string userName = System.Configuration....
user avatar
  • 448
0 votes
1 answer
46 views

How to remove a keyword in tridion core service?

public void RemoveprimaryKey() { string domainName = System.Configuration.ConfigurationSettings.AppSettings["domainName"]; string userName = System.Configuration....
user avatar
  • 448
3 votes
1 answer
130 views

How to insert a metadata schema in newly created keyword in tridion core service?

public void Createkeyword() { client = CoreServiceClientFactory.GetClient(); //string publicationuri = System.Configuration.ConfigurationSettings.AppSettings["PubID"].ToString(); ...
user avatar
  • 448
0 votes
0 answers
44 views

Initializing Dynamic Assembly Resolver for Assembly

While loading a template in Tridion web 8.5, the code fails to resolve the assembly. and throws the error could not compile template. at Tridion.ContentManager.Templating.Assembly....
user avatar
3 votes
1 answer
49 views

How to create a new keyword in tridion core service?

foreach (System.Globalization.CultureInfo ci in System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures)) { KeywordData keyword = (KeywordData)...
user avatar
  • 448
5 votes
1 answer
141 views

How to add/insert a keyword into a component field 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 ...
user avatar
  • 448
4 votes
2 answers
123 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 ...
user avatar
1 vote
1 answer
43 views

How do I configure my web application for Binding with core service in Tridion 8.5 VERSION 9?

I am developing a ASP.NET (C#) web application that will run on a Content Manager server which will use Tridion 8.5 VERSION 9 core service. I am building a simple web application which will use core ...
user avatar
  • 448
4 votes
3 answers
302 views

How to get a Component in Tridion using Core Service?

Am new to Tridion Core Service, can someone help me with the sample code to read and get the Component from Tridion using Core Service?
user avatar
  • 448
5 votes
1 answer
106 views

How to get specific publication list for specific user in Tridion Core Service?

I want to get specific publication list for specific User (depending on those user group's rights and permission in which that user is associated with). I tried with PublicationData class or ...
user avatar
  • 119
2 votes
1 answer
56 views

IsLocalized randomly failing

I have a function that localizes a Component (if needed) before updating its content. I'm randomly getting errors when, after this call, I try to update the content, getting a 'It is not possible to ...
user avatar
2 votes
1 answer
220 views

How to publish a Page using Tridion Core Service client in SDL Web 8.5

How to publish a page using Tridion Core Service client in SDL Web 8.5 version? Code example would be better
user avatar
2 votes
1 answer
170 views

Connect to ECL via .NET giving permission issue

Trying to connect to Tridion via ECL WCF api but getting permission issue. Here is my code: EndpointAddress eclServiceEndpoint = new EndpointAddress("net.tcp://localhoast:2660/...
user avatar
  • 41

1
2 3 4 5
12