Hot answers tagged

8 votes

DXA 2.1 Map two publications to the same application

It's not possible to use the exact same url for two mapped publications. This way, DXA would never know which publication to use to read content from. You can point two publications to one dxa web app,...
user avatar
8 votes
Accepted

Add new option inside the Hyperlink window

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\...
user avatar
6 votes

DXA 2 CTP2 XPM issue

After some debugging, and with Alexey's comment, I managed to solve this. The key is to disable the cache of the DXA Model Service in the cd_client_conf.xml like this CacheEnabled="false" <?xml ...
user avatar
6 votes
Accepted

How to handle component link circular reference in DXA 2.0?

Although this sounds like a defect in the DXA Framework in general, I think a work-around is possible, since you mentioned you don’t need more than one level expansion: Create a new View Model Type, ...
user avatar
6 votes
Accepted

Tridion DXA (Traditional/Decoupled)

I am oversimplifying... but here's what applies to Tridion. Basic Tridion (since 1999) is a decoupled CMS (Content Management and Website/Delivery are separate applications that can run completely ...
user avatar
  • 28.9k
5 votes

Optimal way to expose Tridion content to external systems?

Whether creating a REST API over OData is a good option for you, nobody can answer but you I would say. Simply using a REST service is commonly accepted as one of the easier ways for external systems ...
user avatar
  • 29.6k
5 votes

SDL DXA Model Service cache not getting invalidated

The default configuration of all caches in the DXA source code is set on production/live values, to ensure the performance is optimal in case no changes are being made. However, when you want to ...
user avatar
  • 29.6k
5 votes
Accepted

Page Model is null after model pipeline

Have you enabled the core-module maven profile? Otherwise check this and all the steps in Nunos excellent step by step guide for DXA Java: http://www.tridiondeveloper.com/using-and-debugging-dxa-java-...
user avatar
  • 16.4k
5 votes

What does it mean “Non Public Model Service” in DXA?

Instead of directly accessing the DXA Model Service, you can let your DXA Web Application act as a REST Service. Any DXA Web Application can serve raw View Model data as JSON OOTB (try suffixing your ...
user avatar
5 votes

Timezone difference causing stale configuration and content in DXA 2.0

You can set -Duser.timezone=UTC in the JVM args when running your web application (on Tomcat or other) and this will fix the problem. Note that this may affect other date based functionality in your ...
user avatar
  • 16.4k
5 votes

Tridion Sites 9 and DXA 2.0

DXA 2.1 .Net will support Tridion Sites 9 and is planned to be released in the coming days.
user avatar
5 votes
Accepted

DXA: KeywordModelData missing from Dynamic Component using GetEntityModelData in .Net

This is a defect in the DXA 2.0 Model Service, which has already been hotfixed. See https://github.com/sdl/dxa-model-service/commit/77c2043ba690ae15f3efee9c3f598cb7bd79a4e8 Contact SDL Customer ...
user avatar
5 votes
Accepted

DXA 2.0 API to Retrieve DCPs as Entity Models in a REST API

ContentProvider getEntityModel developed to work with MVC data. So it require registering view model. You can use dummy view to register your model. In case you need full data which is returned by ...
user avatar
  • 4,054
5 votes
Accepted

Is DXA 2.0 compatible with the latest version of the .NET Framework?

Well, if you want to use the latest version no one can stop you. As far as I can see, even DXA 2.1 is supported only for .NET Framework 4.6.2 according to this link. What this means for you? Well ...
user avatar
  • 8,446
5 votes
Accepted

oAuth is disabled but DXA Webapp gives an error "Client id is required"

I got rid of that error from the logs by adding the TokenService back to the cd_client_conf.xml on the webapp side. <TokenService ClientId="clientID" ClientSecret="encrypted:password"/> This ...
user avatar
5 votes
Accepted

Get Dynamic Component Presentation in DXA 2.0 like DD4T

WebRequestContext.Localization is indeed the context Localization/Publication per definition. However, you can obtain other Localizations using SiteConfiguration.LocalizationResolver.GetLocalization();...
user avatar
4 votes

Embedding DXA entities other than images in RTF fields

In DXA 2.0 (R2 Data Model), Rich Text Field processing is done on CM-side: see method DataModelBuilder.BuildRichTextModel https://github.com/sdl/dxa-content-management/blob/master/Sdl.Web.Tridion....
user avatar
4 votes
Accepted

DXA CTP 2.0 .NET Web app Internal Server Error

Finally, Found the culprit by doing the detailed TRACE logs analysis and fixed. It's because of below two items are not published from CMS. Sitemap [Navigation] - Categories and Keywords Generate ...
user avatar
  • 7,495
4 votes
Accepted

cd_dynamic_conf in DXA 2.0

I think it's not a matter of DXA 1.x or 2.x, but the use of SDL Web 8.5 with the use of microservices that changes the configuration of the cd_dynamic_conf file. Now these configuration are managed ...
user avatar
4 votes
Accepted

Getting a Null Pointer exception while trying to run a DXA Webapp

As Rick mentioned, my Deployer Storage config had these lines: <ItemTypes cached="true" defaultStorageId="reldeployerdb"> <Item cached="true" storageId="relpublishedfiles" typeMapping="...
user avatar
4 votes
Accepted

DXA 2.0 resolves Component Links in Rich Text Field without Page extension(.html)

In DXA 2.0, using the new R2 Data Model and Model Service, link resolving is done in the Model Service. The Model Service uses the following class for this purpose: https://github.com/sdl/dxa-web-...
user avatar
4 votes

The expandLinkDepth is not working Tridion DXA 2.0

You can see in the debug output that the Component Links are not expanded because a Data Presentation exists. DXA 2.0 supports so-called dynamic expansion of linked Components. With dynamic expansion,...
user avatar
4 votes
Accepted

DXA 2.0 - Add Content data field as Sort Parameter in Broker query

Unfortunately, only metadata fields are published to a specific broker table to allow you for querying or sorting, so sorting on content fields isn't possible using the regular API. Some options you ...
user avatar
4 votes
Accepted

Unable to enable the "View on Site" functionality in SDL Web 8.5

To work with View on Site functionality you need to configure your website URLs to Create the Website and Web Application into Topology Manager. Add-TtmWebsite -Id Staging_Website -CdEnvironmentId ...
user avatar
  • 7,495
4 votes
Accepted

How to debug DXA Model Service

Kudos to Velmurugan; following his suggestion I found that debugging of the DXA Model Service is very straight forward by using the remote debugging feature. It's a 2 step process: Configuring remote ...
user avatar
  • 1,650
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 ...
user avatar
  • 16.4k
4 votes
Accepted

DXA view throwing error "Schema ID must not be null"

After some further debugging we found that few DCPs stored in broker database has no content(Empty value) and leads to the know issue with DXA 2.2 here https://gateway.sdl.com/apex/communityknowledge?...
user avatar
  • 4,054
3 votes
Accepted

DXA Website using DXA 2 CTP2 Microservice doesn't load

If everything is correct the documentation should mention that you need to publish the entire Publication for the example website to function correctly. The general idea was that we would have a ...
user avatar
  • 29.6k
3 votes

SDL DXA Model Service cache not getting invalidated

The DXA Model Service uses CIL caching. This cache is not triggered to invalidate entries when a page or component presentation is published or unpublished. It is a purely autonomous, time-based ...
user avatar
  • 6,543
3 votes

Get Component/entity model from the component tcm id

In general, you can’t get the content of Components separately on the CD side. You can get the content of a Dynamic Component Presentation, though. In DXA, DCPs are represented as Entity Models with ...
user avatar

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