Skip to main content
6 votes

Is a ThreadAbortException bad?

AFAIK, ThreadAbortExceptions are quite common in ASP.NET. For example, if you terminate the HTTP processing pipeline using Response.End() (something that for example the StaticContentModule does in ...
Rick Pannekoek's user avatar
6 votes
Accepted

How to map Model for a Schema, which has multiple value Component link field with multiple allowed Schemas?

You need to create multiple properties corresponding the allowed Schema. The Semantic Property for all allowed schemas should be same. It should look something like this. [SemanticProperty("...
Manish Mehmood's user avatar
6 votes

Running DXA under IIS Express

In Visual Studio (project properties-->Web tab) you can configure the port used for IIS Express so it uses the same one each time, and depending on how your localizations are managed either add this ...
Will Price's user avatar
  • 16.4k
6 votes
Accepted

DXA Failing to Map Images

Thanks to Rick's comment above we looked into our code. Somehow we pulled the wrong version of DXA (we were working on 1.1) when we added a custom area. After updating our code base to 1.5 and then ...
Nicholas Wetmore's user avatar
5 votes
Accepted

DXA Build with Sources - CommonAssemblyInfo.cs could not be found

I guess you didn't add all the sources in that case, when looking at the VS project file (https://github.com/sdl/dxa-web-application-dotnet/blob/release/1.7/Sdl.Web.Common/Sdl.Web.Common.csproj) you ...
Bart Koopman's user avatar
  • 29.6k
5 votes

How to map Model for a Schema, which has multiple value Component link field with multiple allowed Schemas?

As Rick mentioned, you can implement support for multiple schemas in component link by creating your own abstract base class, from which your different model types will inherit. There are couple of ...
Stan Kroshchenko's user avatar
5 votes

How to map Model for a Schema, which has multiple value Component link field with multiple allowed Schemas?

You can create separate View Model types for each Schema (ensure you have a proper semantic mappings to the Schemas on type level). If you want a property to be able to refer to multiple View Model ...
Rick Pannekoek's 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-...
Rick Pannekoek's user avatar
4 votes
Accepted

DXA Custom controller for PageModel

The Page Controller is resolved through MVC Routing rather than through DXA View Model Registration. In order to use a custom Page Controller, you should change the "Tridion Page Route" in ...
Rick Pannekoek's user avatar
4 votes
Accepted

Changing the favicon not reflecting on the site

After changing DXA configuration, like the HTML Design or items of it, you will always need to refresh the cache of the application, so it will load the updated configuration (from which the favicon ...
Bart Koopman's user avatar
  • 29.6k
4 votes
Accepted

What versions of DXA will be supported for older versions of Tridion?

Offically, DXA v1.6 is the last version that will be supported and fully tested against SDL Tridion 2013 SP1. Bart covers this in detail in his Out with the old, in with the new post on the community ...
Jonathan Williams's user avatar
4 votes
Accepted

Setting default value from another project/namespace

The “default module” is a logical Module/Area name, not a class name. It is the name which is returned by your Module’s Area registration code (AreaName property). For example: https://github.com/sdl/...
Rick Pannekoek's 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 ...
Velmurugan's user avatar
  • 8,205
3 votes
Accepted

Using DXA Sources in an existing DXA WebApp

It's not necessary to add the sources to your project, but you could use the *.pdb files. To get these pdb files, compile dxa from the sources in Github, and retrieve the pdb files from your bin ...
Harald Hoffelinck's user avatar
3 votes
Accepted

How to override DXA Main region view

You need to change the Region metadata on your Component Templates to use your module region view. By default they are empty, which means they access the Core module Main region. After updating you ...
Will Price's user avatar
  • 16.4k
2 votes

Can I use GetConfigValue() function from ASPX Page?

I haven't tried it yet for aspx code behind but you should be able to use WebRequestContext.Localization.GetConfigValue("YourConfig"). Please update here if you face any error in using that?
Mukesh Kumar's user avatar
  • 4,074
2 votes

Taxonomy navigation in DXA 2.0 throws exception

After a lot of digging, I made the following changes to the request object in ModelServiceCleint.cs Lines 162 and 163 were added. This time the request didn't timeout and I got the response back. ...
Payam's user avatar
  • 263
2 votes
Accepted

Binary Caching Issue DXA 1.8 | Web 8.5

The issue was with some piece of DXA 1.8 code here if (localization.LastRefresh.CompareTo(lastPublishedDate) < 0) { //File has been modified since last ...
Manish Mehmood's user avatar
2 votes

DXA 2.0 GetNavigationModel url Property for Keyword is null

Unlike Structure Groups, Categories and Keywords don't have a URL of themselves. In order to simulate a Navigation Model built from Structure Groups, the following algorithm is used: If the Taxonomy ...
Rick Pannekoek's user avatar
2 votes

We don't get any images in DXA 2.2 Example site. How are images expected to be published?

Standard DXA TBBs do publish binaries (you can check in Template Builder, in the CME preview or by intercepting a Transport Package). However, DXA assumes that your Deployer is configured to deploy ...
Rick Pannekoek's user avatar
2 votes
Accepted

DXA Example Site, all links result in "No matching Localization found for URL

Try following to troubleshooting. First, check that your website domain URL mapping URLs exist in the discovery database or not? by using postman http://localhost:8082/discovery.svc/...
Velmurugan's user avatar
  • 8,205
1 vote
Accepted

Run DXA Resolver with SDL Web 8.5?

It seems that the DXA 2.2 resolver is built against SDL Tridion Sites 9.0 API, so it can’t be loaded on a SDL Web 8.5 system. Frankly, I’m flabbergasted, because I’m quite sure that DXA 2.2 has been ...
Rick Pannekoek's user avatar
1 vote

Entity not being populated in controller DXA .Net

Your log file reveals that there is an HTTP Request directly to the Entity Action of your custom Entity Controller. That is not the way that Entity Controllers are normally used and no CM Model ...
Rick Pannekoek's user avatar
1 vote

Navigation JSON coming from cache even after disabling service caching

Do you actually observe caching issues, or are you just worried by these DEBUG messages? These messages are logged at line #215 here: https://github.com/sdl/dxa-web-application-dotnet/blob/release/1....
Rick Pannekoek's user avatar
1 vote

Encoding Query string causes Error 500 DXA 1.4

You might be running into similar issues as in this SO question, https://stackoverflow.com/questions/29005159/post-encodeuricomponent-query-string-internal-server-error-500
Rajesh's user avatar
  • 1,231
1 vote

Doubts about pages and custom controllers for components

It also required to configure meta data of component templates and page template to use custom controllers. Also with the change of controller names you require to change the path of corresponding ...
Mukesh Kumar's user avatar
  • 4,074
1 vote

Not able to get schema name for Linked Component in DXA2.0

The DXA way of doing such thing is using Strongly Typed View Models and Semantic Mapping. Using a smart combination of these two, you might not need additional logic at all. In case you still need ...
Rick Pannekoek's user avatar
1 vote

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

Note: For poor people like me. Setting can be found in "{model-service-path}/config/dxa.properties" dxa.web.link-resolver.remove-extension=false
Balajhi SV's user avatar
1 vote

DXA Failing to Map Images

I have seen a similar issue however for that case, the issue was resolved after replacing offending Media Manager images with older images, and then updating/republishing components with the most ...
Mister X's user avatar
1 vote

Can I put DXA error views in a module area?

The fact that EntityError.cshtml is not in Views\Shared OOTB can be considered a defect (quirk at least). Can you create an issue (and possibly also a Pull Request) on GitHub for that? Regarding ...
Rick Pannekoek's user avatar

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