Sabarish Senthilnathan
  • Member for 6 years, 7 months
  • Last seen this week
How to get user comment from a Component using the core service
10 votes

I think you can use FullVersionInfo by getting the component's VersionedItemData. Something like this: VersionedItemData versionedItemData = (VersionedItemData) client.Read(organisationItem....

View answer
GUI not rendering <br> and new line showing error messages
9 votes

You would have to make CSS updates through a GUI extension besides using the new line (\n) in your exception message. In your event system exception, you will be using the new line like this: throw ...

View answer
Add new option inside the Hyperlink window
Accepted answer
8 votes

As Neil and Mark have noted, what you are looking for is a GUI extension extending the FormatArea.js and three other JavaScript and ASPX files: %Tridion Home%\Web\WebUI\Core\Controls\FormatArea\...

View answer
Adding the Publications to Tridion User Groups using Core Service
8 votes

You can download the Core Service API reference documentation here. If you look at the documentation you can see that the Groups are represented by the GroupData class. In GroupData, you can set the ...

View answer
Create page with region .NET
7 votes

When you are trying to create a page with regions, Tridion would give a notification asking you to update the set of nested Regions to make it valid. In the Event System code, you would want to ...

View answer
DXA with Java | Cannot detect ViewModel for ViewData MvcDataImpl
Accepted answer
7 votes

The first issue clearly states that the custom models and views have not been registered with DXA. You'd have to create a class that extends AbstractModuleInitializer and register all views and custom ...

View answer
Tridion 8.5 UI Extension - How can I plug into rollback process?
7 votes

To trigger your custom the event handler after the Rollback button is clicked, you'd have to get the controls of the Rollback button and register your custom function on an onclick event. In your ...

View answer
Issue with Discovery Service in WEB 8
Accepted answer
7 votes

I think you'd need to change the security configuration to allow access to the discovery service. Change Security OAuthEnabled to false and Rules Enabled to false in cd_ambient_conf.xml in the ...

View answer
Content Porting in CM using PowerShell code - SDL Web 8.5
6 votes

The ProcessSummary class does have methods that provide information with regards to the items exported/imported. The screen shot below is the preview of the ProcessSummary class in Visual Studio. To ...

View answer
How To Get Component Blueprint Details Using DD4T
5 votes

Content Delivery does not expose all of the component's properties. So, the Content Delivery frameworks, DD4T and DXA, would not contain all of the component's properties that you would normally see ...

View answer
How to insert a metadata schema in newly created keyword in tridion core service?
Accepted answer
5 votes

If you look at the Core Service API documentation, the MetadataSchema property should be of type LinkToSchemaData. public LinkToSchemaData MetadataSchema { get; set; } The way you'd set this in your ...

View answer
Web 8.5 Tridion API special characters error with dynamic page links
Accepted answer
5 votes

I think the issue is only with the slash special character. Rest of the special characters are fine. For instance, if I call the getLinkAsString method (getLink method in your Java code snippet will ...

View answer
Identifiableobject Xml Missing Node Info in Web 8.5 While It Exists in 2013 SP1
5 votes

Apparently when you pass a Publication object to a function that takes in an IdentifiableObject GetXXX(IdentifiableObject identifiableObject), the identifiableObject's XML will have less information ...

View answer
How to consume XML sent by C# TBB in Razor template?
Accepted answer
5 votes

AFAIK, you won't be able to get the Keyword titles directly in a Razor TBB; however, you can create your own custom function in the Razor TBB that manipulates the XML and returns the titles. The ...

View answer
Extend NewContent.aspx window in Experience Manager
5 votes

You can extend pretty much anything using the GUI extension. For the scenario you described above, in your GUI extension, instead of extending commands through the config file, you can capture/extend ...

View answer
How to fetch Keyword metadata which has multi valued field
Accepted answer
4 votes

Since it is a multi-valued RTF, you need to be using MultipleValues property in NameValuePair as opposed to Value. I was able to get all values in a multi-valued RTF in Java using the next code ...

View answer
How to update Component link -> embedded Component field value using TOM.NET Event System
Accepted answer
4 votes

I too wasn't able to update the embedded Component field using ItemFields class; however, I was able to update it by XML node manipulation. Something like this should definitely work: var xDocument =...

View answer
Access the field path of an item inside of a foreach loop using razor templating?
Accepted answer
4 votes

I accessed an item using a for loop, and having an index. There might be a better solution though. @for (int i = 0; i < Fields.MultivaluedField.Count; i++) { @RenderComponentField("Fields....

View answer
Get Dynamic Component Presentation in DXA 2.0 like DD4T
3 votes

DXA is built on top of DD4T, so the underlying APIs are the same. We should be able to use the standard Content Delivery API to get DCPs. Using the ComponentPresentationAssembler class and passing the ...

View answer
Tridion Total Content Size
Accepted answer
3 votes

From your comments, I am gathering that you are not looking for the number of items in the CM, but rather the disk space the Tridion items occupy. You can't get this using the Core Service API. This ...

View answer
Setting up a custom deployer extension
3 votes

To piggyback on Saurabh's answer, a storage extension would be a better choice for your use case. A storage extension would better handle storing published items to any storage medium besides the ...

View answer
How to add/insert a keyword into a component field using Core Service?
3 votes

What you are looking for is to have the component tcm:13-149625 updated. Since you want the keyword Aromatics & Fibers inserted into the familyKeyword field, you would have to first read the ...

View answer
DXA 2.0 API to Retrieve DCPs as Entity Models in a REST API
3 votes

I got this to work following Mukesh's suggestion. I updated the Component Template with a dummy Entity View Name 'Promo' as shown below. In the SpringInitializer in the custom DXA module having the ...

View answer
Fetch the HTML from RTF using Alchemy Plugin
3 votes

If you are trying to get the RTF content of a Component from the context menu, you can do something like this: execute: function (selection) { if (selection.getCount() == 1) { var ...

View answer
Extension of publish transaction details info
2 votes

To extend publish transaction details, your GUI extension needs to extend the following JavaScript and ASPX files: %Tridion Home%\web\WebUI\Editors\CME\Views\Popups\PublishTransaction\...

View answer
When copy paste the Component, Component Metadata is not getting updated through Event Handle
2 votes

You'd have to get the component from the CopyEventArgs.CopiedObject, which will have the results of the copy operation. The CopiedObject will be null in the Initiated event phase. Use the Processed ...

View answer
API change when switched to Topology Publishing in SDL Tridion Sites 9.5
Accepted answer
2 votes

You should be using TargetTypesFilterData. Something like this should work: TargetTypesFilterData targetTypesFilterData = new TargetTypesFilterData(); var targetTypes = coreServiceClient....

View answer
Can a Page on CM be tagged with multiple taxonomies & queried via API?
Accepted answer
2 votes

You can use the Public Content API available through GraphQL and query pages based on metadata in the Content Data Store. The documentation for the Public Content API is available here. Just tag the ...

View answer
Tridion - compare function metadata issue upgrade from Tridion 2011 SP2 to Sites 9
2 votes

The reason you get this error is because the page metadata schema in your Tridion 2011 SP2 was modified at some point in time after it was created. If you check the history on that metadata, you'd ...

View answer
Configuration values for event system
2 votes

Like Chris mentioned in the comments, please provide more information so people would be able to help you. But, here are some pointers that may help you identify and solve the problem: Are you using ...

View answer