Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
351 views

Cannot load page from model service DXA 2.0 CTP 2 Java

We are setting up DXA 2.0 CTP 2 Java version. While loading first time Java website is throwing below error INFO c.s.d.t.m.ModelServiceClient - Got response with a status code 500 15:32:16.672 [...
0
votes
0answers
22 views

Website showing 500 error intermittently due to odata service authentication

we have DXA java implementation. when trying to browse website we are seeing 500 error intermittently. in log files following are the error messages: localhost.2021-11-19.log 19-Nov-2021 10:02:07....
0
votes
1answer
144 views

DXA - Resolving Publication mapping incorrectly when having multiple websites

We have 2 websites (brands) with different domains. In Topology, the 2 websites are configured with base urls as : http://domain1 and http://domain2 And mapping for UK publication exists only in ...
1
vote
2answers
161 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 ...
0
votes
1answer
38 views

DXA-2.2 java could not able to load entity from custom module

We are currently having application in dxa-2.2 java and we are trying to separate out common code out of it as separate dxa module. It is not getting registered on viewEntryMap here is a initializer ...
9
votes
1answer
100 views

Can't edit UGC comments via DXA webapp

We are building a DXA 1.7 web app with SDL Web 8.5 and are incorporating the UGC functionality in it (using the UGC Microservices). Everything is working fine, a user can add a comment and see any ...
3
votes
1answer
136 views

Efficient way of getting list of EntityModel (Java, DXA 2.0)

We have a page that queries entities with certain criteria. The way we implement it is by getting list of entity IDs, loop the IDs retrieve the entity model per ID and add it into the list. Pseudo ...
2
votes
1answer
88 views

Component link is not resolved for a field with "_self" annotation in combination with dynamic component presentation (DXA 2.0.3 Java, SDL Web 8.5)

I have two different view model for the same schema, one view is to display a Summary page and other view is meant for a Details page. Summary page displays dynamic component presentations, which are ...
1
vote
0answers
28 views

StaticContentInterceptor | Static resource xpm.js not found

While running(start) the server in Eclipse, I see below Error being logged in console. While it is able to locate one of the xpm.js, it is unable to locate the 2nd xpm.js as highlighted in RED below. ...
1
vote
1answer
135 views

Is it possible to access empty Component fields in JSON in DXA Web Application?

In our implementation of the DXA web app, most of the times we encounter scenarios where the Components are not having content in all the fields. Hence the JSON response also are not fetching the ...
5
votes
0answers
120 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 ...
2
votes
1answer
84 views

Page Metadata Keyword Empty

There's a metadata schema linked with the page and we try to get from the View the value of the keyword associated to this page. However the information is empty. We are using Java DXA 2.0.1. We have ...
2
votes
2answers
142 views

DXA with Java | Cannot detect ViewModel for ViewData MvcDataImpl

I am trying to setup a basic DXA application as steps given here: http://www.tridiondeveloper.com/using-and-debugging-dxa-java-with-web-8-5-on-amazon However, I am facing two issues: 1.) java.lang....
2
votes
1answer
106 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 ...
1
vote
1answer
69 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....
5
votes
3answers
152 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 ...
3
votes
2answers
65 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 ...
2
votes
2answers
187 views

Compiling DXA 2.2 Java fails with 'Could not find dxa-builder:2.2.0-SNAPSHOT'

I tried to install DXA 2.2 Java to Red Hat Linux 8.2. However, When Executing prepare.sh, the Following build Error Occurred: There is no '2.2.0-SNAPSHOT' on following URL, which is seen in error ...
0
votes
1answer
94 views

How to install DXA Java's latest version?

I want to use DXA Java's latest version. So I downloaded DXA 2.2.8 from following page. https://github.com/sdl/dxa-web-application-java/releases/tag/DXA_2.2.8_Hotfix Then I read following manual to ...
1
vote
2answers
93 views

Custom Metadata from publication Tridion

I'm trying to read the value of Custom Metadata from a Publication using ApiClient API. Below is the code which I'm trying to get the Publication information: ApiClientProvider pcaClientProvider; ...
0
votes
1answer
51 views

Issue in retrieving core.json attributes from BinaryData folder

I'm trying to access the value in core.json file which is under BinaryData folder. Below is the way I'm trying to retrieve the value: ${requestScope.localization.getResource('core.keyname')} But ...
1
vote
0answers
25 views

Custom data format in DXA in Java

We need to create a Custom Data Format for our Java application. In the documentation for serving data in another format than html, seems easy in C# application, but in our Java / Spring application ...
1
vote
2answers
68 views

Error when building DXA 2.2 Java webapp for Sites 9.5

I have the installer for SDL DXA Java 2.2, and would like to build a webapp for Sites 9.5. When running prepare.bat from PS cmdlet, I initially saw this error: > Could not resolve all artifacts ...
3
votes
0answers
148 views

DXA Java 2.0: How do I access a field value in a component linked in DXA page metadata?

In order to avoid translating pages we've added a linked component in our page metadata. I've created a custom page model: @Data @SemanticEntity(entityName = "MyPageModel", vocabulary = ...
1
vote
1answer
48 views

DXA-2.2.5 java how to resolve page url for current Model entity

We are using dxa-2.2.5 Java and we are using GraphQlLinkresolver. We want to get url of detail page of Component TCM, how can we achieve it? On Model class I have tried something like this: public ...
1
vote
1answer
65 views

DXA-2.2.5 Java model service clients says 400 bad request

We are using Java DXA-2.2.5 and Model service to render content, we came across one issue when we request for page model, it says 400 bad request since it is not able to understand encoded page url. ...
1
vote
2answers
65 views

Getting access to Categories in DXA

I'm porting a site to DXA. We use categories/keywords to populate dropdowns. Previously this was done in the Content Manager templating. In DXA that should happen application-side so I've published ...
2
votes
2answers
50 views

How should the mappings be set up for a custom entity controller?

The DXA documentation (Java) at https://docs.sdl.com/784837/748207/sdl-digital-experience-accelerator-2-2/creating-custom-models-and-controllers gives this example of how to create a custom entity ...
2
votes
1answer
93 views

Anchor in component link not showing on Java application (dxa 2.0.3) with dxa model service 2.2.2

We're trying to implement Anchor Link on our existing Link Component by Enabling Anchor Feature in cd_link_conf.xml This is our configuration looks like <Publications OverrideDiscoveryService="...
1
vote
1answer
30 views

Why does SiteLocalization.getLanguage() return null

I've been looking at the methods on the SiteLocalization class in DXA. I'd like to get the language of each site but getLanguage() returns null. This doesn't surprise me much, because I haven't ...
3
votes
1answer
73 views

What do I have to configure to prevent a StaticContentNotFoundException for version.json?

I am setting up a new DXA2.2 site. When I do an admin refresh, I can see in the logging that various items are downloaded over the service and written to disk, and if I look in the application ...
5
votes
1answer
168 views

DXA Webapp UGC not Forwarding Claims

Right now we have a fresh install of Web 8.5 on the DXA 1.7 webapp. The webapp is pretty much OOTB right now except for the UGC work that we are doing (explained below). We are currently attempting ...
2
votes
1answer
101 views

Where does the dependency on com.sdl.delivery:cil:pom:11.0.0.0-1064 come from?

When attempting to build a Java DXA 2.2.3 application, we see warnings about a dependency on com.sdl.delivery:cil:pom:11.0.0.0-1064 and com.sdl.web:cil:pom:11.0.0.0-1064 which can not be resolved. ...
1
vote
0answers
73 views

Dependencies missing in DXA 2.2 - Java

We are trying to upgrade DXA 2.0 to DXA 2.2 with SDL 9.1. We are including DXA 2.2.5 as a dependency with no exclusions. [WARNING] The POM for com.sdl.web:content-client-api:jar:8.5.0-1046 is missing, ...
0
votes
3answers
43 views

Benefits of migrating DWT or Razor templates to DXA in SDL web 8

I know there are benefits of migrating existing templates to DXA, like no more need to know Tridion syntax, instead of use Spring MVC in application side, no need to use file system or legacy system ...
2
votes
1answer
40 views

Registering view for MediaItem (DXA 2.0.3, Java)

We have a Download entity which extends MediaItem. The download link is used inside RichText component. This is how the class looks like: @Data public class Download extends MediaItem { @Override ...
1
vote
0answers
32 views

DXA 2.2 - JAVA Unable to use Jackson default naming strategy, it always applies UpperCamelCase naming strategy on request and response

I am using dxa-2.2 java, there is rest controller which takes some request and return response. After investigation i found DxaSpringInitialization.class on dxa framework initializing objectMapper ...
1
vote
1answer
90 views

DXA Model Service upgrade

We are using DXA 2.0 Java with DXA Model Service 2.0 including hotfix CD_10.1.0.8270. Recently SDL team has released SDL DXA Model Service 2.0.3(https://github.com/sdl/dxa-model-service/releases/tag/...
2
votes
1answer
69 views

Changing xml field name makes content to disappear from components in SDL WEB 8.5

We have modified a field XML name and then see that all components with that schema is missing the images, whose XML field was modified. Is there a way to prevent loss of data in such scenarios?
0
votes
1answer
50 views

GetPublicationMappingsFunctionImport doesn't add RelativeUrl to ContextUrl

I'm seeing a localization error when testing a new website functionality in Web 8.5 and DXA 2.0.3 (Java). We configured for serve this kind of url: http://localhost:8080/front-web/en/discovery/index....
1
vote
1answer
54 views

Prevent this error from appearing due to invalid page requests

In Tridion 2013 we are getting generic exception for the pages that do not exist in the website. Is there a way to prevent generic errors due to invalid page requests? Thanks.
2
votes
1answer
102 views

How to stop DXA (Java) from using the context service

When setting up DXA 2.2 I accepted the default setting to use the context service. I don't want to go to the trouble of setting up the context service to work properly, so now I'm trying to configure ...
1
vote
1answer
51 views

Tridion Resource settings updation using /admin/refresh doesn’t work for application on multiple containers

Whenever we do publish settings with updated key/value pairs in Tridion Sites 9 we have to do /admin/refresh to clear the cache. It works fine when application is running on single container, but when ...
3
votes
0answers
61 views

Can we expose Experience Optimization results via Public Content API for the applications not built on DXA?

We are using SDL 9 along with DXA 2.0 to host our website. We now want to expose the content to other platforms which are built on different technologies. XO gives us the possibility to display ...
4
votes
1answer
72 views

Dynamic Component Presentation updates don't reflect on the website

We have a DXA 2.0 web application with Web 8.5. We have multiple pages on this application as well as DCPs. The pages are published as a normal DXA workflow to the Broker DB. They are working as ...
0
votes
1answer
37 views

DXA Resolver - activate log

I need to check how it's working DXA Resolver but I don't find how to activate debug logs for this resolver. how can I activate it? Thanks!
1
vote
0answers
41 views

DXA Model Service & Web Application Caching

We are having a strange problem with one of our customer. They are using SDL Web 8.5 with DXA Java 2.0. We have already installed DXA Model Service 2.2.1 however if they publish components that have ...
0
votes
1answer
121 views

java dxa 2.2 faling while mapping returned tridion docs json to PageModelData

We are trying to upgrade dxa libraries from 1.8, after upgrading when we run the application it fails with error 22:27:50.091 [http-nio-9090-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - ...
2
votes
1answer
48 views

java dxa-2.2 Cannot create a default CIL cache configuration, fallback to default configuration

Could someone please help me on below error how to fix it. 22:45:09.431 [restartedMain] DEBUG c.s.w.c.c.c.i.BaseClientConfigurationLoader - Loaded Cache configuration: '{CacheExpirationDuration=600, ...
1
vote
1answer
62 views

Java DXA 2.2 with Tridion docs java.lang.IllegalStateException: Cannot detect ViewModel for ViewData MvcDataImpl while preparing Pagemodel Object

We are upgrading java dxa from dxa-1.8 to dxa-2.2 I am facing problem generating PageModel object as it is failing to map viewdata information, we mainly need Pagemodel content information , could ...

1
2 3 4 5 6