6 votes

Using multiple custom meta data keyword Criteria in a single query as LIKE operators

@Kris, I am assuming you have custom meta value as a comma separated string. You can use SQL like pattern %% to match the value. So your custom meta value criteria should be like: ...
  • 4,064
4 votes
Accepted

while reading metadata multi value field of a component, getting double the count of keywords in tom.net TBB

Without running the code, I think the problem is your initial for loop. If you look at the XML source of a Component with categories in the metadata (one of ours for example) : <Metadata xmlns="...
  • 1,441
4 votes

MetaData exception duing creating new component using core service

Looks like the Metadata of "OriginalComponentData" is invalid. It's likely that someone changed the Schema after it was created. The Components do not automatically get updated when a Schema is ...
  • 19.8k
4 votes
Accepted

DD4T: Access Root structure group metadata from child pages

Dd4t has some functionality in the tbbs to merge page metadata with metadata from parent items (structuregroups). In the templates, you can add a tbb called ad inherited metadata to page, and set a ...
4 votes
Accepted

Keyword: How can I access a keyword's metadata field value?

The reason why the KeywordMeta property returns 0 is because the changes have not been republished in Tridion. Once you republish the categories, it should return the metadata you're looking for.
4 votes
Accepted

Page template metadata in DXA - htmlClasses field is blank

This is a bug with DXA 2.0 release - see https://github.com/sdl/dxa-content-management/issues/14. The issue has been closed, as there has been a fix made, but this is post 2.0. You will either have to ...
  • 16.4k
3 votes
Accepted

What's the modern equivalent of ComponentMetaFactory?

Not sure if you’re talking about .NET or Java, but ComponentMetaFactory still exists. See, for example, its usage in DXA 1.8: https://github.com/sdl/dxa-web-application-dotnet/blob/release/1.8/Sdl.Web....
3 votes
Accepted

Tridion 2013 JSP multiple value metadata only displaying single value

The pageModel.meta is defined for the HTML meta tags, it is actually not supposed to map to the CMS Page metadata. For mapping CMS Page metadata, you should extend the default Page Model and add ...
  • 29.6k
3 votes
Accepted

How to get RenderingMetadata in Deployer Exension?

In 2013 in your deployer extension you could get this with the following syntax: String renderAddedMeta = page.getRenderAddedMetaData(); This example is for a PageDeploy. You have access to the ...
  • 6,195
3 votes

Component Metadata values becomes Null/Empty in Broker after re-publishing it dynamically

We found an answer, but it's very much a workaround. We determined that all of the field values are saved when you select a value from a single value metadata field that is linked to a category with ...
  • 1,090
2 votes

Is there a way to update publication metadata dynamically while publishing page/component?

You may also want to consider modifying the publish path using a Custom Renderer. A Custom Renderer can be used to manipulate the output produced by the template process. More information can be ...
2 votes

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

So now you got the metadata xml of the component, the Tridion core service role is over; it's all about compiling the xml and get the desired things out of it using .net. So assuming you want to get ...
2 votes
Accepted

Component Metadata values becomes Null/Empty in Broker after re-publishing it dynamically

The correct course of action, of course, will be to first install SP1 HR1 so environments are consistent - this will likely be the instructions from Support without having to add further hotfixes to ...
2 votes
Accepted

Metadata on linked component not retrieved when getting dynamic component

The problem was that the component hadn't been saved back after schema changes, as the pre-populated default values in the data were not saved back prior to publishing. Hence, publishing out the ...
2 votes

Add custom page metadata in deployer extension

My suggestion would be do to this change during publish at templating level before the package is created from publisher. Depending upon the publish target, you can take action on the page object as ...
2 votes

How to get Structure Group metadata in DXA 2.0 Pages

I am using DXA 1.2 .Net version. In my Tridion page template, i have added the "Add inherited metadata to page" TBB (which is available under the DD4T folder. DXA delivery side, i am able to access ...
  • 911
2 votes

How to get Structure Group metadata in DXA 2.0 Pages

You can create (and register) a custom Page Model class and use semantic mapping to map the metadata fields to properties of the View Model. For semantic mapping to work, the metadata fields must be ...
2 votes

How to get the image URL from Structure Group Metadata using C# TBB

Images do not have a URL until they are published, as mentioned by @Nuno. In your code you'll need to publish the binaries to get a URL you can use either the AddBinary or the PublishBinary method to ...
  • 7,317
2 votes

Issues while querying Number type metadata fileds through JSP content broker query API

In general, the datatype Float has limited precision; it has a huge range, but it is not possible to represent every integer value within that range. So, in general, exact matches on float values are ...
2 votes
Accepted

MetaData exception duing creating new component using core service

Have you changed the original component's schema's fieldname at some point after it was created? Components are not updated field name changes, mandatory data etc. when you change their schema. The ...
2 votes
Accepted

Retrieving KeywordModel metadata inside component model of a nested category/keyword (DXA 2.0.3, Java)

In order for semantic mapping to work, your View Model types should map to your CM Schemas either implicitly (based on type name) or explicitly using SemanticEntity annotations. In case of your ...
2 votes

Tridion - compare function metadata issue upgrade from Tridion 2011 SP2 to Sites 9

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 ...
2 votes
Accepted

C# how to add values in ItemFields inside EmbeddedSchemaField of a STUB component

EmbeddedSchemaField.Values is a collection of ItemFields objects (one for each value). If you have an optional embedded field, it will initially not have any values, so indeed EmbeddedSchemaField....
2 votes
Accepted

Can a Page on CM be tagged with multiple taxonomies & queried via API?

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 ...
1 vote

NumberFormatException in Content Service

I have seen this type of problem before. In our case the problem was due to schema changes. When a schema metadata field data type has been changed you must update all components using the schema ...
  • 2,221
1 vote
Accepted

In which table I can see Keyword Metadata Information in Broker Db?

All custom metadata info, including for keywords gets stored in Custom-Meta table only. Have you published the Category of the missing Keyword metadata in broker db?
1 vote

Inheriting metadata between publications, map and topics in Tridion Docs

It seems one decent approach would be to use templates for this purpose. The issue that we are trying to solve is the ability to create mass amounts of Docs topics without needing to select the same ...
1 vote
Accepted

Get Root Structure Group metadata in DXA 2.0 Pages

It seems that the InheritMetadataPageModelBuilder does go “up the tree” to collect SG metadata, but it may be in a different way than you expect: it collects SG metadata for ancestor SGs until it ...
1 vote
Accepted

Can we add metadata fields to RTF links to Asset Components?

DXA 1.x uses a TBB called “Resolve Rich Text” to preprocess Rich Text Fields. This is the TBB that puts the data- attributes on a and ing elements which are referencing Multimedia Components. It has a ...
1 vote

DXA 1.5 - Category / Keyword Metadata approach

With regards to your I was wondering what the best approach for this would be? question, it appears that even DD4T now recommend using the Tridion.ContentDelivery.Taxonomies.TaxonomyFactory rather ...

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