Skip to main content
Share Your Experience: Take the 2024 Developer Survey
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
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

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

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

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
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

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
3 votes
Accepted

Why need to call here @Html.DxaRegion("Header") again to get it work?

Short answer: because your Include Page itself is "transformed" into a Region (along with its nested Regions and their CPs). There is no way around this.
Atila Sos's user avatar
  • 6,290
3 votes
Accepted

How to get component link for internal/external/multimedia working

Frankly, I don’t fully understand all of your questions nor requirements, but let me clarify some things: Semantic mapping does not presume any field names; field names are either derived from the ...
Rick Pannekoek's user avatar
3 votes
Accepted

Publishing your own DXA website

Taking your questions one by one: DXA web application cannot publish to filesystem. Is that right? In general, the pages served by a DXA application are not "published to the file system", ...
Dominic Cronin's user avatar
3 votes
Accepted

How to get Page property within Razor component view?

Region and Entity Views primarily work on Region and Entity Models, respectively. However, both have access to the entire context Page Model through the WebRequestContext.PageModel property.
Rick Pannekoek's user avatar
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,185
2 votes
Accepted

No View Model registered for View Ish:Page:GeneralPage with DXA .NET 2.2

It was config issue from my side I did placed the the DD Module builder pipeline in the last. <add type="Sdl.Web.Modules.DynamicDocumentation.Mapping.ModelBuilder, Sdl.Web.Modules....
Velmurugan's user avatar
  • 8,185
2 votes

When will User-defined Regions be available?

The DXA Container Framework was more or less abandon when the region concept was introduced in Sites 9.0. If there are still are some interests I could look into reviving the framework again and adapt ...
Niclas Cedermalm's user avatar
2 votes
Accepted

Image not resolved. What is wrong?

Settting expandLinkDepth 2->3 fixed it. \100 Master\Building Blocks\Framework\Developer\Templates\DXA.R2\Render Page Content
Frits Lesterhuis's user avatar
2 votes

Can DXA publish the IIS URL "rewrite.config"?

You can publish the rewrite.config to the broker and extend something like the URLRewrite.NET module to load the configuration from the database instead of the filesystem. The cool thing is that you ...
Shiva's user avatar
  • 2,168
2 votes
Accepted

DXA Custom Resolver started

Answers1: DXA Installer package comes with DXA Custom Resolver Installation script to add the DXA Custom Resolver to the CMS/Publishing server's GAC and add or modifies the Tridion.ContentManager....
Velmurugan's user avatar
  • 8,185
1 vote
Accepted

Exclude a page from sitemap

We added parts of url on release base in config e.g. <add key="SitemapExcludedUrls" value="search|searchresults|404|500" /> These are then excluded in the sitemap.xml view....
Frits Lesterhuis's user avatar
1 vote
Accepted

Resolve component link in rich-text for embedded component

step-2 Went on with that. Get good results. class ExterneLink changes added ISyndicationFeedItemProvider as interface to implement added method ExtractSyndicationFeedItems added method public ...
Frits Lesterhuis's user avatar
1 vote

Can DXA publish the IIS URL "rewrite.config"?

We have come across a legacy solution which was maintaining URL redirects and rewrites in a component and publish that as a config file to the file system (you need to configure .config extension in ...
Pankaj Gaur's user avatar
  • 15.9k
1 vote

Can DXA publish the IIS URL "rewrite.config"?

Please refer to the link from the documentation link If you still want to manage the redirection you can use the re-write module on IIS web config
Anand N S's user avatar
  • 1,936
1 vote

What is the best practice for implementing Page metadata?

I'll add a bit to address question 2: "What is the way to go to collect metadata at page level?" General (embedded) metadata schema is added to each page schema. Works OOTB. The metadata ...
Alvin Reyes's user avatar
  • 12.8k
1 vote
Accepted

What is the best way to generate JSON string (for the Razor View page)?

It seems that you want to implement a (multi-level) menu structure, based on the Navigation Model (navigation.json). DXA provides OOTB support for top-level navigation, context navigation (siblings of ...
Rick Pannekoek's user avatar
1 vote
Accepted

Embedded schema fields (in paragraph) contains null in DXA model

It seems you want to map View Model property Artikel.ArticleBody (nice mix of Dutch and English, BTW) to a CM field called subsection. That is possible using a [SemanticProperty] annotation, but you ...
Rick Pannekoek's user avatar
1 vote

Publishing your own DXA website

Just add my comments. Answer to your first question: Yes SDL Tridion Sites - It's a Content Management Tool, not a CI/CD tool. Use to create the content and distribute the content in a headless way to ...
Velmurugan's user avatar
  • 8,185
1 vote
Accepted

Define Business Process Type at what level

Simply being able to see the Business Process Type from a given publication ought not to be a problem. It's simply available from the blueprint, but you don't have to use it. You can select the ...
Dominic Cronin's user avatar
1 vote

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

In theory, yes, you can use the Content Porter for this, as it does support mappings, but in practice, this would involve hand-crafting a mappings file, and you are already starting to see the ...
Dominic Cronin's user avatar
1 vote

How to setup DXA 2.2 (NET) WebApp Core solution

This issue is faced by other people including me while setting up DXA web application. Details on how to fix this issue can be found at https://github.com/sdl/dxa-web-application-dotnet/issues/33 . ...
Rites's user avatar
  • 301
1 vote
Accepted

DXA Framework supports multiple .NET versions?

The DXA NuGet packages are indeed built against .NET FW 4.6.2, but you can use them in a .NET 4.7.2 (or even 4.8) Web App too. There is no need to compile the DXA Framework yourself against 4.7.2. The ...
Rick Pannekoek's user avatar
1 vote
Accepted

When will User-defined Regions be available?

User Defined Regions indeed seems to be a popular feature. See also SDL Ideas (ensure to leave a vote & comment there): https://community.sdl.com/ideas/sdl-tridion-dx-ideas/i/sdl-tridion-sites-...
Rick Pannekoek's user avatar

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