Questions tagged [dxa-java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
100 views

DXA Model service attempting to deserialize static files with no DD4T TBBs

Similar error from previously posted question but we aren't using any DD4T template building blocks in the page/component templates Deserialize DD4T content error while validating DXA Model service ...
2
votes
0answers
40 views

DXA 2.0 Java Too many open files error

We are using DXA 2.0 Java inside RedHat Linux server. The DXA Application is deployed using Tomcat 8.5. While accessing website after some time we are getting 500 error too many open files although ...
1
vote
1answer
132 views

Keyword information not populated

When publishing a Component with a meta field that it's a keyword, the JSON only generates the following information related with the Keyword. This is the JSON generated by the CMS, debugging with ...
4
votes
1answer
99 views

Getting a Null Pointer exception while trying to run a DXA Webapp

I just setup a basic DXA Webapp 2.0.0 trying to get data from microservices hooked up with SDL Web 8.5 and I am trying to run it but I get a Null Pointer Exception. The DXA components were installed ...
1
vote
0answers
89 views

Error creating localization

When creating the first time a localization (Web 8.5+ DXA 2.0 using Java), the localization is found, but we get the following error when creating the config files under the BinaryData folder: ...
2
votes
2answers
420 views

Multilanguage with DXA 2.0 SDL Web 8.5

We have problems setting the second Publication. We used to configure the cd_dynamic_conf.xml, but now it doesn't exist in the project. However, it seems that the documentation is not updated. When we ...
1
vote
1answer
135 views

JSON output from Tridion Java DXA 1.7

I have below requirement in my project using Java DXA 1.7, I am new to DXA. Can someone provide me which Component Template and Page Template should I use for my requirement? Also how can I achieve ...
1
vote
1answer
152 views

Page Model is null after model pipeline

I'm using DXA 2.0 GA with Sdl Web 8.5. At this stage, all I have is the out-of-the-box demo application, which I have not customised or added to. When I start it up and attempt to access the home page ...
2
votes
1answer
69 views

DXA 1.7 JAVA application setup error

I am trying to set up the DXA 1.7 Java application. I followed the below steps. After the set up when I tried to run the application I got the below error. Steps Followed: 1. Downloaded the source ...
3
votes
1answer
61 views

Unable to get URL to Contextual Image Service in Java DXA 1.7

I am using DXA 1.7 Java web application from GIT hub and the DXA properties file having the below properties. Mapping for CID resolver (Filter or Servlet): dxa.modules.cid.mapping=/cid/* Class to ...
1
vote
1answer
162 views

Component Link field returns null: Cannot convert a entity model to class for a semantic field

Below is the logs I am getting for a component link field. It is a simple single text field schema (CodeBlock). The component link field returns null. There is no error in schema mapping. 15:47:52....
2
votes
0answers
33 views

How to use Favicon Media without HTML Design on DXA Java 1.7?

For our current implementation we are not using the HTML Design, and we've created a component to be included on our Header Include page, but as of now we always get the favicon as null Our Schema ...
0
votes
1answer
30 views

DXA 1.7 Java How To Get Multimedia Component Title [duplicate]

I have a problem with multimedia components on my Java DXA 1.7 implementation, we have a Download list, which accepts multimedia components, by using WebComponentMetaFactory we read the component's ...
2
votes
0answers
59 views

DXA Java web application - profile specific properties

I am new to DXA, I am currently working on DXA Java web application - built on Spring 4.x & DXA 2.0 library. We are trying to configure profile specific properties files, so that we can configure ...
1
vote
2answers
447 views

How to render plain JSON (without any additional tag) data in DXA 1.5 java?

We are using Tridion 2013 SP1 with DXA 1.5 java. One of our requirement we want to serve the JSON formated data file( apple-app-site-association ) in my web site. My component schema has only one ...
4
votes
1answer
196 views

Enabling caching resulting 500 error in DXA 2.0 Java and RedHat Linux server

We are using SDL Web 8.5 with DXA 2.0 and Java. The java application is deployed on Red Hat Linux server using Java version "1.8.0_161" 64 bit and Tomcat 8.5.30 .We are getting 500 server error when ...
0
votes
0answers
107 views

Content in model of a Component link returns null in Java + DXA

I have a Schema with a Component link. The linked Component is a content of RTF fields. I have a Schema typeOnlineForm (rootname: OnlineForm) and schema field webMessage is the Component link field ...
1
vote
0answers
72 views

Binary Image component giving number format Exception

I have created the BinaryItem extending MediaItem in DXA 2.0 but BinaryItem class is giving me this error whle creating the entity model 20:13:57.831 [ajp-nio-8214-exec-1] DEBUG c.s.d.t.m.impl....
4
votes
1answer
111 views

Page Model Meta Sitemap Keyword missing in Page view

Earlier when we were using DXA CTP 2, ${pageModel.meta.sitemapKeyword} would give us the Page navigation Keyword. Since we moved to DXA 2.0, this returns no value. We are not sure if this is related ...
3
votes
2answers
119 views

Embedding DXA entities other than images in RTF fields

We are using DXA 2.0 (Java) and can see if we embed images in RTF fields that the RTF contains the embedded Image entity as part of the set of fragments generated for the RTF. However if we link to ...
5
votes
0answers
60 views

How to enrich cached DXA 2.0 custom PageModel with Localization data

When our custom (DXA 2.0 Java) PageModel gets loaded we add extra metadata. This extra data comes from Localization values. This works fine when the cache is disabled in cd_client_conf.xml. But when ...
1
vote
1answer
108 views

How to get value of a list of list of RichText or RichTextData

One of the ContentModelData returns content in the below format. Code 1 content = {question=Question 1?, answer={paraContent=RichTextData(fragments=[No. Answer 1 <strong>Strong text here</...
1
vote
0answers
154 views

How to redirect to a static 404 error page, When we did custom static folder path request filter based on the request path in DXA 1.5 (Java)

How to redirect to a static (present in the file system) 404 error page in DXA 1.5 (Java), When we did custom static folder path request filter based on the request path (Ex: http://localhost:9080/cp/...
3
votes
0answers
188 views

DynamicList returns list of entities with null values

Originally, I had extended DynamicList<FAQs, SimpleBrokerQuery> from my custom model FAQsContentList where I want to execute a SimpleBrokerQuery on a few filterKeywords. In the logs I can see ...
1
vote
1answer
172 views

How to manage linked components in DXA Entity Model

In our DXA (2.0, Java) implementation we have a couple of scenarios where there are component links to items that can be from more than one schema. Firstly we have a generic Link embedded schema (and ...
3
votes
1answer
102 views

Can we add metadata fields to RTF links to Asset Components?

Is there a possibility to include file metadata fields to the anchor's markup in RTF? On our custom Rich Text Field class, we want to access image and file metadata fields to extend functionalities ...
4
votes
2answers
335 views

How to get Structure Group metadata in DXA 2.0 Pages

I want to access Structure Group metadata in my DXA 2.0 (Java) Pages. Following the documentation I have added the InheritMetadataPageModelBuilder model builder to the pipeline in my Page Rendering ...
3
votes
1answer
137 views

No value found in the database for a non-nullable property: 'id'

Since today I am getting a strange error in discovery service. I did set up publishing for a new publication and added a mapping in the WebUI (Web 8.5). Richt click Publication > Properties > ...
2
votes
3answers
135 views

Reading data from SalesForce and storing UserInformation to Salesforce from Web 8.5

We have a new module being developed using SDL Web 8.5 DXA R2. We would be required to integrate our CMS to communicate with a Salesforce module via a Middleware. However, I am not aware of what ...
0
votes
1answer
177 views

Get Component/entity model from the component tcm id

If I have a component id (for example tcm:9-123), is there a way to get its content? How can this be achieved in java ?
0
votes
1answer
39 views

DXA Java 1.7: Options to debug webapp performance?

We are currently in finalizing the DXA implementation for our customer and we are facing a performance issue by opening the website for the first time. Are there any configs or logback classpathes we ...
3
votes
2answers
224 views

DXA Java 1.7: Load specific component content from any page

We're trying to load some dynamic content (Component) to one of our pages, for most of the cases fetching the metadata based on tcmId and using WebComponentMetaFactory.getMeta(tcmid) would suffice, ...
3
votes
2answers
162 views

Optimal way to expose Tridion content to external systems?

We are currently using SDL 2013SP1 with Spring MVC at the front end and want to expose the HTML fragments to other external systems. Is creating REST API over ODATA a good option where external ...
2
votes
0answers
59 views

DXA Publish Settings: Possible to add multimedia Components and linked Components?

So for DXA there is the Publish Settings Page located in the _System folder of each Publication. As far as I understood we can currently only add strings and read them either with ${localization....
6
votes
6answers
354 views

How DXA is different than having a Dynamic Component Template which serves the response in JSON?

I have found many benefits of having DXA like lesser dependency on core SDL Tridion knowledge, faster Publishing etc. But technically, I want to know: Without having DXA I can achieve the same ...
1
vote
3answers
377 views

SDL DXA Model Service cache not getting invalidated

We are using SDL Web 8.5 and DXA CTP 2.0 Java. DXA Model Service is configured on Linux server. When we publish any Page or Component the cache for PageModel and EntityModels are not getting ...
2
votes
0answers
57 views

Metadata field using embedded Schema is not populating

Tridion 2013 DXA Java 1.5 I am trying to pick up in my JSP a Page metadata field that is set to accept multiple values AND uses an embedded Schema. @SemanticEntity(entityName = "CustomPageMetadata", ...
3
votes
1answer
108 views

DXA Java 1.7 / 2.0 CTP: Broken images with special characters in file name

I see this question already being discussed and answered in the community also refering to this known and fixed issue: https://github.com/sdl/dxa-web-application-java/issues/32 However we are ...
1
vote
1answer
70 views

DXA Java CTP 2.0 Model Service problem modelData is null

We have just installed the CTP 2.0 Model Service (CD Microservice) from the official SDL documentation: Model Service Documentation After successfully installing the service and calling the PageModel ...
2
votes
1answer
82 views

DXA 1.7: Webapps BinaryData nesting infinite folders problem

I tried deploying my DXA 1.7 java webapp to one of our customer servers yesterday. Im experiencing strange folder nesting inside the ROOT webapps BinaryData folder. See this image: It should be: ...
4
votes
2answers
205 views

DXA JAVA Custom controller for PageModel

I want to customize the page controller in a DXA JAVA implementation. Is that possible, and how? I tried to extend the DXA PageController, but of course that does not work @Controller public class ...
2
votes
2answers
252 views

Error in deploying DXA 2.0 Java on linux server “Cannot find cache named 'model-service'”

We are trying to deploy DXA 2.0 CTP 2 Java version on Ubuntu server. After deploying the application on Tomcat 8 we are getting this server error [http-nio-8080-exec-6] ERROR c.s.w.c.controller....
0
votes
1answer
343 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 [...
3
votes
3answers
210 views

Content Broker database - Using non relational database with DXA

Like DXA works with JSON, a database like MongoDB (non-relational) would give a better performance than a DB2 database. Could we use a database non relational for the Broker?
1
vote
2answers
125 views

Image appended with a tcmid is available in the markup but not rendered on a page

Image is generated in the markup but is not rendered on the page. However, if the tcmid appended to the image is removed, the image gets displayed. We traversed through the Binary data folder in the ...
0
votes
1answer
76 views

DXA 1.7 Entity Model for multiple possible Linked Components

While we are migrating our existing webapp to DXA 1.7 Java, we encountered following problem: We have multiple Schemas where more than one Schema is available as Component Link. See screenshot: So ...
3
votes
1answer
37 views

DXA 1.6 disable CWD Context

Is it possible to disable CWD Context?, in our implementation we don't really need any of the CWD_* libraries since Tridion won't be used for device detection and CWD_* are adding an unnecessary load. ...
8
votes
0answers
74 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 ...
7
votes
1answer
121 views

Target Groups Not Excluding Component Presentations

We have a fresh install of DXA 1.7 (Java WebApp) on SDL Web 8.5. We recently enabled the context-expression-module on DXA by enabling the maven profile. The application builds fine and still renders ...
5
votes
1answer
162 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 ...