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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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”, ...
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.
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 ...
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", ...
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.
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
...
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....
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 ...
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
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 ...
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....
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....
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 . ...
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 ...
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-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dxa-dotnet × 29dxa × 28
dxa2.2 × 26
sites-9 × 19
web8.5 × 2
c# × 2
content-delivery × 1
sdl-tridion × 1
dxa-2.0 × 1
sites-9.1 × 1
tridion-docs × 1
sdl-cloud × 1
tridion-sites × 1