Skip to main content
8 votes

Create page with region .NET

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 ...
Sabarish Senthilnathan's user avatar
7 votes

Import DXA publication into SDL Tridion Sites 9

You can rename your existing publications, perform the install and then bearing in mind you will need to account for Blueprinting, you can integrate the contents of organizational items as best ...
Dylan .. Mark Saunders's user avatar
6 votes
Accepted

Add new Region to existing Page Template

Unfortunately this is the "normal" behavior in Sites 9. Changing the Page Schema or Region Schemas and opening already existing pages in the CME results in "regenerating" the ...
Atila Sos's user avatar
  • 6,290
6 votes
Accepted

Publication Id for the DXA Page is unknown

You don't need any separate configuration for that. In DXA there is a container called Localization to store the requested Publication information. You can retrieve the publication id from that ...
Sayantan Basu's user avatar
6 votes
Accepted

One trust cookie policy plugin integration with DXA 2.2 .NET breaks the DXA website

The problem was that DXA is using an older version of the CIL out the box. Updating the references to the later versions available on nuget.org resolves the problem. The following steps fixed this ...
Velmurugan's user avatar
  • 8,215
5 votes
Accepted

cannot resolve Component Link to EclItem in Rich Text Field

By default, only MM Component links (incl. ECL Item links) in img elements in Rich Text Fields are processed by DXA. However, as of DXA 2.2, this is configurable. See section “Embedding” in the What’s ...
Rick Pannekoek's user avatar
5 votes
Accepted

Can we use Content Porter Export/Import to transfer between publications in same CMS?

No, not really, but besides modifying the package that you already did or tried, you can do second sort of hack. You can export from 100 Example Master then temporarily rename it to maybe 100 Example ...
Marko Milic's user avatar
  • 8,942
5 votes
Accepted

Configuration issue with core.json and not found /system/config/core.json

A bit simplified, but, when you publish the Publish Settings Page, it goes through all your active "Module Configuration" Components and creates a binary for them which end up in the broker. ...
Atila Sos's user avatar
  • 6,290
5 votes
Accepted

What is the best practice for implementing Page metadata?

You are correct in those two approaches, but there is something worth mentioning. For the 'Use this Page Schema as Metadata Schema' approach you don't have to use an Embeddable Schema, you could ...
Atila Sos's user avatar
  • 6,290
5 votes
Accepted

DXA Model Extension: Is it not Open Source?

Indeed, DXA Model Extension is currently not Open Source. That may well change in the future, though.
Rick Pannekoek's user avatar
5 votes
Accepted

GraphQLError Execption while Fetching data ( /PublicationMapping) Unable to load DynamicContent Module

We reviewed the customer setup and we saw following error - Unable to get response from OData service: Bad Request. on the content service We reviewed the configuration and we found the discovery ...
Anand N S's user avatar
  • 1,936
5 votes
Accepted

How to exclude page from sitemap

IIRC start the names of the items (Pages and SGs) with an underscore _. Then do the required actions to regenerate the sitemap. The DXA templating code is available on GitHub so feel free to look ...
Atila Sos's user avatar
  • 6,290
5 votes
Accepted

Identify Schema mapped to model in dxa 2.2

OOTB you can't. Inside the app you will just have the viewmodel as an object with no reference to the Schema. From the websites perspective it (the schema) is totally irrelevant, it's a CM concept. ...
Atila Sos's user avatar
  • 6,290
5 votes
Accepted

Content service error "PCA client returned an unexpected response" when browsing a page

these tags should not be there in graphql. The workflow is the following: templating code adds these si4t xml data within INDEX-DATA-START and END tags Deployer picks these tags, remove them from the ...
Marko Milic's user avatar
  • 8,942
4 votes

Import DXA publication into SDL Tridion Sites 9

The cms-import.ps1 script has parameters for dealing with this problem. There's a very good reason why a script is provided to deal with the import rather than a compiled programme: you can read the ...
Dominic Cronin's user avatar
4 votes
Accepted

DXA installation: prepare.bat rejects apparently correct Discovery URL

The issue is in a sub domain. We use apache commons-validators(1.6) for url validation and this library doesn't like "local" subdomain. cd.local:8092 is not valid but cd.com:8092 is.
setty's user avatar
  • 56
4 votes

What is the best practice for implementing Page metadata?

I see quite a bit of confusion around the difference between PageModel.Meta and custom Page Models w.r.t. mapping Page Metadata. Indeed, PageModel.Meta can be used as “poor man’s semantic mapping”, ...
Rick Pannekoek's user avatar
4 votes
Accepted

Publication key value change

Publication Key is a part of Publication metadata, it has no direct relation with the publishing content, so republishing of content wouldn't be required. For a DXA application, you probably need to ...
Shahid Eqamuddin's user avatar
4 votes
Accepted

Runtime error when using InheritMetadataPageModelBuilder

It turns out that CMS side of DXA 2.2 for SDL Web 8.5 has a bug (or incompatibility with Java DXA 2.2 side) which is causing values of Schemas to be generated as a List<RichTextData> instead of ...
Shahid Eqamuddin's user avatar
4 votes
Accepted

DXA - Setting of location and file name of custom 404 error page

The location is hardcoded within DXA's source code. Take a look at the PageController's NotFound method. string notFoundPageUrl = WebRequestContext.Localization.Path + "/error-404"; The ...
Atila Sos's user avatar
  • 6,290
4 votes
Accepted

Suppress caching for a dynamically populated entity in DXA 2.2

Caching in DXA works great for simple use cases but can quickly get very complicated if you have exotic scenarios. I myself have spent a lot of time getting familiar with how it works in detail and ...
Atila Sos's user avatar
  • 6,290
3 votes
Accepted

GraphQL client.executeItemQuery is throwing error

added InputSortParam inputSortParam = new InputSortParam(); inputSortParam.setOrder(SortOrderType.Ascending); inputSortParam.setSortBy(SortFieldType.LAST_PUBLISH_DATE); this fixed the problem. ...
Neetesh Narvaria's user avatar
3 votes

DXA installation: prepare.bat rejects apparently correct Discovery URL

This one turned out to be easier than I thought. I just used http://www.google.com for the URL and then edited it in the cd_client_conf.xml file once the prepare step was over.
Dominic Cronin's user avatar
3 votes

Dynamic Documentation module not released for DXA 2.2?

The DXA 2.2 Dynamic Documentation Module (for .NET and Java) will be released later (expected soon). See https://community.sdl.com/product-groups/sdl-tridion-dx/tridion-sites/b/product-announcements/...
Rick Pannekoek's user avatar
3 votes
Accepted

How to stop DXA (Java) from using the context service

Try enabling these following properties in dxa.properties file #adf.context.provider - Activates ADF instead of Context Service for context claims. spring.profiles.active=adf.context.provider spring....
Velmurugan's user avatar
  • 8,215
3 votes
Accepted

CID integration with DXA

You already found yourself that use of “scale” is hard-coded in ContextualMediaHelper. But you can also see that it is a property, which is set with a hard-coded value in the constructor. So, a custom ...
Rick Pannekoek's user avatar
3 votes

Anchor in component link not showing on Java application (dxa 2.0.3) with dxa model service 2.2.2

In general, CD Linking generates absolute URLs if you define Publication mappings in cd_link_conf.xml. If you prefer server-relative URLs (which is often the case), you should not define any ...
Rick Pannekoek's user avatar
3 votes
Accepted

Is DXA 2.2 (Java) compatible with Sites 9.5?

Answer to your questioon - Yes it's supported in sites 9.5, I did a test with sites 9.5 OOTB DXA 2.2 .NET and DXA 2.2.5 Java both working fine in sites 9.5. Note: DXA 2.2 in sites 9.0+ not required ...
Velmurugan's user avatar
  • 8,215
3 votes
Accepted

DXA-2.2.5 java how to resolve page url for current Model entity

I can only give you the answer in .NET (because I haven't worked with DXA Java still), but I'm certain that the same or a very similar approach should be used. The bigger mistake is that the ...
Atila Sos's user avatar
  • 6,290
3 votes
Accepted

How to setup DXA 2.2 (NET) WebApp Core solution

DXA 2.2 .NET + Core and Search Module Solution build/configuration Download the following OOTB sources and modules from GitHub: https://github.com/sdl/dxa-web-application-dotnet/tree/release/2.2 ...
Velmurugan's user avatar
  • 8,215

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