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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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
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
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.
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 ...
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 ...
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.
...
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 ...
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 ...
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.
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”, ...
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 ...
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 ...
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
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 ...
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. ...
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.
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/...
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....
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 ...
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 ...
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 ...
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 ...
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
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dxa2.2 × 137dxa × 135
sites-9 × 30
dxa-java × 27
dxa-dotnet × 26
sites-9.5 × 13
web8.5 × 11
sites-9.1 × 10
graphql × 9
.net × 9
sites-9.6 × 8
sdl-tridion × 7
dxa-net × 7
tridion-docs × 6
pca × 5
content-delivery × 4
content-manager × 4
dxa-2.0 × 3
ecl × 3
experience-optimization × 3
cache × 3
model-service × 3
caching × 3
dxa-upgrade × 3
web8 × 2