Hot answers tagged

6 votes

Coreservice Component XML / Schema Sync function?

Yes, the function is available if you are on Tridion 2013 or later version of Tridion. The function is SynchronizeWithSchemaAndUpdate. There is one nice article by Eric for using this functionality ...
  • 3,728
6 votes
Accepted

How to assign the value of a component link field to an XML element?

I'd cover all bases and check if the schema field exists (what if someone renames this later or you decide to allow another schema that only has some of the currently covered fields)... ...
6 votes

How to assign the value of a component link field to an XML element?

As Peter mentioned in his comments that your question is unclear. But if I consider your last comment which says its a "Object Reference" error, So I think it would be best to check the Objects ...
5 votes
Accepted

Tridion Core Service Deserialize issues for rich text field

Your question/problem is not specific to Tridion, but a general question on how to deserialize XML mixed content using the XmlSerializer. Note that the content of a "rich text field" (a.k.a. XHTML ...
5 votes
Accepted

How to add an attibute to a element in design view?

SDL Tridion Schemas can be divided in two categories, a Tridion Web Schema and a W3C Schema. The first variant (also known as a Simple Schema) does not allow attributes and only accepts certain data ...
  • 29.6k
5 votes

How to add an attibute to a element in design view?

"Simple Schemas" don't support attributes, only elements. You can modify the Source tab of the Schema to add the attribute, but be aware that it will change it to a "Complex Schema" - meaning you ...
  • 19.8k
4 votes
Accepted

Unable to Save a Schema with newly added Field Type

I would recommend a very different approach. Instead of modifying the UI, you could create an ECL (External Content Library) connector to connect to this third party provider. When you use ECL, items ...
  • 6,600
3 votes

Access xml stored as content in database as content via API?

Look at the Content Delivery Web Service, it is a REST endpoint based on oData, which allows you to query Component Presentations, Pages and more from the Broker DB via web service calls. CD Web ...
3 votes
Accepted

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

If you mean how to determine the field type: it is reflected in the type of your loopVariable (which is a pretty lousy name for a variable, BTW :-) Note that ItemFieldDefinitionData Is an abstract ...
2 votes
Accepted

Anguilla XML / Json Libraries

Not much options. If you are using tcm items then i'd say Object.serialize($model.getItem("tcm:0-1-1").getXmlDocument()) -> send for manipulation -> $tcm.getItemFromXml(Object.deserialize(result)....
  • 2,331
2 votes
Accepted

how to create xml page

As the component content is inside an xml itself, the text is going to be "escaped", so you need something to unescape the content. So the xml is going to be published full of "& lt;" and "& ...
2 votes
Accepted

Update xml parser 4 to 6

You will need to reach out directly to SDL Support. As of Jan 1st 2020, SDL Tridion 2013 SP1 HR1 entered in the "extended support phase" as per the notification at https://community.sdl.com/product-...
2 votes
Accepted

Tidy.Net Parsing Issue

tidy.Options.WrapLen this resolved my problem
2 votes

Access xml stored as content in database as content via API?

There is no JavaScript or JQuery API available for the Content Delivery side, you can access this server side with either Java or .NET using the documented APIs, read all about it here. Going ...
  • 29.6k
1 vote

Translation Job Unknown Tag Error

This ended up being a bug with Sites failing to parse Xliff with comments that had been added during the workflow, which makes sense why it was only happening to Version 2+ documents/ components. Also ...
  • 31
1 vote

What has become of Xopus?

It was morphed into SDL LiveContent back in 2014 I believe. At that point it was called "LiveContent Create" and you can see where it lies in the stack here: https://docs.sdl.com/LiveContent/content/...
1 vote

What has become of Xopus?

AFAIK, the Xopus browser-based XML editor was never sold separately by SDL, but used as part of what is nowadays known as SDL Tridion Docs (the Structured Content Management product). In the latest ...
1 vote

Comparing Component Presentation's in Pages across Publications/SG's

I agree with your approach of using the Core Service to get the IDs of all of the Components on the localised versions of the Page. However, if you're just storing the IDs of the Components on the ...
1 vote
Accepted

Retrieve List item values from a Component using the Core Services

Using RegEx to parse XML will probably drive you insane. Here's a somewhat rushed way to parse your XML... string xml = "<FaqCategory xmlns=\"http://www.xyz.com/tridion/schemas\"><Title>...
  • 28.9k
1 vote

Core Service WebDav Paths

I used this in my code: folderWebDavUrl = Uri.EscapeDataString(folderWebDavUrl).Replace("%2F", "/");

Only top scored, non community-wiki answers of a minimum length are eligible