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: ...
Mukesh Kumar's user avatar
  • 4,074
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="...
Dave Forber's user avatar
  • 1,441
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 ...
Will Price's user avatar
  • 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....
Rick Pannekoek's user avatar
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 ...
Bart Koopman's user avatar
  • 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 ...
Atila Sos's user avatar
  • 6,290
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 ...
Jonathan Williams's user avatar
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 ...
Saurabh Gangwar's user avatar
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 ...
Harald Greve's user avatar
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 ...
Vipin Kothari's user avatar
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 ...
Jey's user avatar
  • 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 ...
Rick Pannekoek's user avatar
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 ...
Chris Morgan's user avatar
  • 7,327
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 ...
Rick Pannekoek's user avatar
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 ...
Sabarish Senthilnathan's user avatar
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....
Rick Pannekoek's user avatar
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 ...
Sabarish Senthilnathan's user avatar
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 ...
Rick Pannekoek's user avatar
2 votes

Tridion Event System - Assign a string value to a metadata field

Thanks all for the input! It is solved. We needed to set metafieldThree.Value = metafieldOneValue + metafieldTwoValue first to update the XML and assign the right value to it. We also logged the XML ...
Catherine Liang's user avatar
1 vote

Tridion Event System - Assign a string value to a metadata field

The TOM.NET API (which is what you're using in your example code) allows you to modify custom content/metadata either directly (using an XML DOM) or indirectly using the ItemFields object model. In ...
Rick Pannekoek's user avatar
1 vote
Accepted

Metadata Design tab in Sites 9.5 and 9.6

Yes, (page) Region metadata is preferred over Page-specific metadata. Though XS allows for both as of Tridion Sites 9.6. At the Component level, you could place Metadata fields directly in the Schema'...
Alvin Reyes's user avatar
  • 12.8k
1 vote
Accepted

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

welcome to tridion stack exchange , please refer to this link for related issue , please contact support if you need more details.
Anand N S's user avatar
  • 1,936
1 vote

NumberFormatException in Content Service

SDL Provided a hotfix to us to resolve this issue. The hotfix was: CD_8.5.0.17761 and we confirmed that it resolved our issue.
Nicholas Wetmore's user avatar
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 ...
Chris Mills's user avatar
  • 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?
Shahid Eqamuddin's user avatar
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 ...
Damian Jewett's user avatar
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 ...
Rick Pannekoek's user avatar
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 ...
Rick Pannekoek's user avatar
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 ...
Jonathan Williams's user avatar
1 vote

Add custom page metadata in deployer extension

Since you are extending page metadata which will be stored in broker database, deployer extension is not the recommended approach. Instead of deployer extension, use storage extension, which ...
Hiren Kaku's user avatar
  • 3,728

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