Questions tagged [dxa2.2]
The dxa2.2 tag has no usage guidance.
116
questions
1
vote
0
answers
14
views
GraphQL query example to get list of publications from where a page is published
We have a requirement that during the page loads we need to check whether that page is published from all the child publications or not. Based on that result, we need to add those URLs to the page.
In ...
3
votes
1
answer
37
views
Suppress caching for a dynamically populated entity in DXA 2.2
We have a requirement where we don't want to cache certain entities which are retrieving data dynamically from an external system. I was going through the documentation and found below option
To ...
0
votes
1
answer
22
views
Need to update schema root element name and schema field name for DXA upgrade 1.5 to 2.2
we need to update schema root element name and schema field name for DXA upgrade 1.5 to 2.2 so that semantic mapping in web application starts working with dxa 2.2
Following are my questions:
if we ...
0
votes
1
answer
31
views
How to exclude page from sitemap
We implement "noindex" on page(s) with page metadata field.
On webpage section "head" this is visible
<meta name="robots" content="noindex">
It should be ...
0
votes
1
answer
48
views
Any known issues of DXA 2.2.4 and DXA 2.2.9 with Tridion 9.6
I have two web apps while one is using DXA 2.2.4 other is using DXA 2.2.9. As we are upgrading to Tridion 9.6, it will be good to know if there are any known issues of DXA 2.2.4/9 with Tridion 9.6? Or ...
1
vote
1
answer
29
views
How to handle null exception for values mapping through dxa?
I have a dxa field which comes from customMetadataPageModelbuilder code but to get this value i have to publish all the pages i want to handle this error for the pages which aren't republished so if ...
1
vote
1
answer
40
views
DXA Custom Resolver started
DXA Custom Resolver installer should do a gac install of assembly and a Content Management Environment (CME) plugin install.
In the development environment, the CME plugin is not correct it shows only ...
0
votes
1
answer
20
views
default multimedia image is showing 404 for dxa 2.2 and sites 9.1
i am using DXA 2.2 application with .net and sites 9.1
i have used Download schema to create multimedia components [zip] and attached them in parent component.
then parent component has been added to ...
2
votes
0
answers
68
views
Field Operators in PCA GraphQL?
We are rewriting our existing CIL client code by replacing it with PCA/GraphQL client code.
To retrieving Dynamic Component Presentations, we are using API method apiClientProvider.getClient()....
1
vote
0
answers
26
views
Component Link resolver to second broker database
GraphQLLinkResolver resolves a link URI (TCM URI or site URL) to a normalized site URL. It's configured in site\unity.config.
enter link description here
It works but the problem is that we have 2 ...
3
votes
0
answers
30
views
Upper case schema fields in DXA 2.2 issue
For DXA 2.2 (.NET) I observed that having uppercase schema fields does not work. It seems like delivery maps them to first letter lowercase, so even though I try different types of mapping in DXA to a ...
2
votes
0
answers
70
views
Binary file recreating on each request in DXA 2.2.16 java
I m using DXA 2.2.16 Java with SDL Tridion Sites 9.5. I have noticed when all binary files like css, javascript, images are recreating with each request in BinaryData folder. This is happening with ...
1
vote
1
answer
62
views
Resolve component link in rich-text for embedded component
What I want to achieve:
Step-1: when publishing, add embedded component in rich-text field to (JSON) output.
Step-2: href (tcm) should be replaced by field from embedded component.
note: embedded ...
6
votes
0
answers
41
views
Best way to update DXA to allow for "Build once, Deploy" anywhere pipeline
TLDR; Essentially we are looking for a way to pass in spring.profiles.active JVM option, but not leverage the dxa.properties file to do so.
We are working on a DXA app at the moment (2.2 Java) and ...
2
votes
0
answers
50
views
Is it possible to exclude certain parts from being cached?
We are using Tridion Sites 9 and DXA 2.2.6. We are implementing Content Security Policy (CSP) and therefore we need a dynamically created CSP response header with nonce tokens and on the webpages we ...
0
votes
1
answer
35
views
Error occurs while importing DXA publications
Download DXA from: https://github.com/RWS/dxa-web-application-java/releases/tag/DXA_2.2
An error occurred while importing DXA publications with the command below:
'.\cms-import.ps1 -importType all-...
4
votes
1
answer
66
views
One trust cookie policy plugin integration with DXA 2.2 .NET breaks the DXA website
One of our customers did integrate the one trust cookie policy plugin in the DXA 2.2.9 .NET Webapp in Tridion Sites 9.5, one trust plugin placing a date value cookie that breaks the DXA website.
Error ...
3
votes
1
answer
123
views
Create page with region .NET
In certain cases, we want to create pages automatically using the event system. While doing that we're running into an issue with certain pages that have a Region.
We're succeeding in creating and ...
1
vote
1
answer
38
views
Tridion Sites 9.5 with DXA 2.2 and DXA Model Extension dxa.properties configuration
Just to share this question and answers with other community users.
In Tridion Sites 9.0 DXA 2.0 with Model Service implementation, we had an option to control not to remove the extension and strip-...
1
vote
0
answers
47
views
Custom Include / Regions are empty after upgrade to Tridion site 9.5 and DXA 2.2
We have custom includes as regions and all of their entities are empty after upgrading to Tridion Sites 9.5 and DXA 2.2. I don't know if the upgrade breaks some paths or config. I published the ...
1
vote
1
answer
84
views
Get Component/entity model from component tcm
We have articles that are published on pages.
For one article we want to call the Entity from the broker database (on cd server).
It is not DCP? I dn't know.
Code from MVC Controller (it's a REST API ...
4
votes
1
answer
150
views
DXA 1.8 to DXA 2.2 Upgrade - No matching Localization found(Generic Issue)
Issue- This is an issue related to upgrade from DXA 1.8 to DXA 2.2. When browsing the site post upgrade it is showing a very generic " No matching Localization found" and the log showing &...
7
votes
1
answer
171
views
Getting Page Presentations from GraphQL. In order, with Content
I have pages being published using DXA Page Templates and include CPs added to the page directly (again, using standard DXA CTs).
I want to get the Component Presentations from a Page (with the ...
1
vote
1
answer
112
views
Invalidate Instant Campaign Content in DXA 2.2 . Sites 9.1
I am using Instant Campaign module for managing the landing pages comes as zip package. I am facing one issue while updating the content of the page.
Once I publish the page and request the page I see ...
1
vote
2
answers
174
views
DXA 2.2.3 Component links multiple value
Implementation:
Currently we have schema with a component link field called 'link'. I've enabled multiple value, so authors can have multiple component links from now on instead of only 1 (there's ...
1
vote
0
answers
42
views
Include header and footer on Structure group level instead of page template level
We have a running website with a standard header and footer, linked in using the include page on the page template:
We are now looking into translating part of the site into several different ...
1
vote
1
answer
85
views
DXA - Setting of location and file name of custom 404 error page
See: Redirect to 404.html doesnt work on second time
We found that in case of a 404 error, DXA wants to open a custom page "error-404.html" in the Home Structure Group, like in the example ...
1
vote
0
answers
69
views
Redirect to 404.html doesnt work on second time
Web.config defines redirects for not existing pages.
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="403" subStatusCode="-1&...
0
votes
1
answer
126
views
Publishing transaction stuck waiting for deployment sites 9.5
After upgrade from SDL Web 8.5 to Sites 9.5 , while publishing we are getting following Error
ERROR [ProcessingAkkaSpringContext-akka.actor.default-dispatcher-3] SqlExceptionHelper - The INSERT ...
2
votes
1
answer
117
views
Runtime error when using InheritMetadataPageModelBuilder
I want to access Structure Group metadata in my DXA 2.2 java page models. Following the DXA documentation I have added the InheritMetadataPageModelBuilder model builder to the pipeline in my Page ...
2
votes
0
answers
64
views
DXA .Net Web App Upgrade Issue from 2.0.3 to 2.2
When I try to update the nuget package for Sdl.Web.Delivery (8.5.1041 to 11.5.1045) I get an error:
Unable to find a version of 'StackExchange.Redis.StrongName' that is compatible with 'Microsoft....
2
votes
1
answer
45
views
GraphQLError Execption while Fetching data ( /PublicationMapping) Unable to load DynamicContent Module
Running Sites 9.0 and DXA 2.2 , we found getting following Error when we access the URL
2
votes
1
answer
88
views
Publication key value change
Blueprint has 000,100,110,200,400 and pages on 400 already active on acceptance.
100 Master publication has current wrong value for Publication Key.
Changing "DxaMaster" to "...
1
vote
1
answer
83
views
Read timed out at executing executeEntityQuery()
I am working on a query that excludes items based on the value of one of its metadata.
The problem is that sometimes I get the result, but sometimes not. Error stack trace shows the following:
com.sdl....
3
votes
1
answer
129
views
Resolve component link in rich text
I am looking for a solution for component links in rich text not being resolved. I found some articles with similar issues but none of them seem to have a working solution for our case.
We are using ...
3
votes
1
answer
69
views
DXA Model Extension: Is it not Open Source?
Source code of (legacy) SDL Model service is available on GitHub: https://github.com/sdl/dxa-model-service
Since this model service functionality is now provided by the GraphQL Content Service as the ...
5
votes
3
answers
174
views
Link resolving doesn't use page context for Dynamic Component Presentations
My Java DXA application renders dynamic component presentations across the site, similar to 'Teaser' functionality in the Reference implementation of DXA.
One of the Rich text field of DCP contains ...
2
votes
1
answer
63
views
Publication Id for the DXA Page is unknown
We put a line with tcm information in the head section of the html page.
Purpose is that Sitemanager & content people easier can find the page in content manager.
<head>
<meta name=&...
1
vote
3
answers
77
views
Can DXA publish the IIS URL "rewrite.config"?
For us IIS URL Rewrite module is the way to go.
How can sitemanager maintain Urls and publish on demand?
Do we need to make an exception in cd deployer to publish it to disk?
Before DXA we published ...
1
vote
1
answer
99
views
"Mandatory field "..."is missing a value" when using metadata on Page
Metadata fields are added to Page schema.
1 metadata field in (Embedded Schema) is mandatory.
On page tab-General you fill in the (mandatory) metadata fields.
On Save it says "Mandatory field &...
1
vote
1
answer
50
views
Why need to call here @Html.DxaRegion("Header") again to get it work?
Article Page Template contains
It says that header region is included as Region on the Page, with works.
header.html uses "Include page (Header)" Page template & "Include page (...
1
vote
1
answer
41
views
Setting Vanity Link in DXA .Net
I am going to set vanity links in DXA application. The vanity links are updated dynamically so we are managing that in Tridion Component. We use that Component data to create Alias.config file and put ...
1
vote
1
answer
114
views
How to get component link for internal/external/multimedia working
Given this modelling part, relevant for the linking.
Component linking should be implement for linking to:
1. Inside website
Linking to e.g. article, article-top-tasks.
Created field with XML name &...
4
votes
3
answers
146
views
What is the best practice for implementing Page metadata?
I understand (at least) two ways to implement Page Metadata:
Create a schema of type 'Embeddable'. Add it in e.g. 'Home Page' tab 'Metadata'. When "Use this Page Schema as Metadata Schema" ...
3
votes
2
answers
83
views
Manage and Publish css and JS from tridion sites 9.5 and use them on dxa 2.2 java web application
I came up on scenario where css and js are not handled through html-build.zip,
Instead we need to store css and js on cm and publish those publication wise.
also I need to use those css file and js ...
1
vote
1
answer
31
views
How to get Page property within Razor component view?
Pagemodel with default properties contains
{PageModel: 417519 ('Home pagina')}
ExtensionData: null
HasNoCacheAttribute: false
HtmlClasses: "hom_"
Id: "417519"
IsVolatile: false
...
0
votes
1
answer
52
views
Image not resolved. What is wrong?
Made Picture schema which contains attibutes to image for Webp and Jpeg.
When I use that in Article and have a component link to it it works.
When I use it in Article and have Embedded schema ...
0
votes
1
answer
113
views
What is the best way to generate JSON string (for the Razor View page)?
We are using DXA, Razor views with Web Components.
For Menu (see below) there will be also JSON format needed in the interface.
Sample is assigning JSON string to attribute site-menu.
Best way to do ...
2
votes
1
answer
42
views
How to add an id as anchor/fragment to resolved link in DXA
We are using DXA 2.2.3 and have the following mappings:
[ExcludeFromCodeCoverage]
[SemanticEntity(EntityName = "Link", Prefix = "l")]
public class Link : EntityModel
{
[Include]...
0
votes
2
answers
96
views
Upgrading Templates from SDL web 8.5 version to SDL Sites 9.5
We are planning to upgrade to Sdl Sites 9.5 version. As part of the upgrade, we will be updating the DXA version from 1.7 to 2.2.
Initially, we will be using existing component and page templates to ...