Hot answers tagged

8 votes
Accepted

Retrofitting DXA publications to an existing BluePrint

I like Harald's blog post (referred to by Nuno above). But note that the DXA import PowerShell script also supports importing into existing Publications (see the script's parameters). Get-Help .\...
Rick Pannekoek's user avatar
7 votes

DXA 1.2 doesn't support PAGE LINKING in the Page meta data schema OOB?

Indeed, DXA model mapping doesn't support Page Links just like CM itself doesn't support that. What you are suggesting (putting a Page TCM URI in a text field) is a bad idea in general; it is not a ...
Rick Pannekoek's user avatar
5 votes
Accepted

Is it necessary to have SDL mobile installed for DXA 1.2 context image delivery to work correctly?

here's what docs say- -The default Context Engine Cartridge installed as part of SDL Digital Experience Accelerator is used to detect device/browser screen features and capabilities. -This ...
Ashutosh's user avatar
  • 649
5 votes

How to get static page content from DXA in spring controller?

I am assuming you have understanding of basic flow of DD4T based content model where Component Template is directly connected with component view and Page Template is directly connected with Page view ...
Mukesh Kumar's user avatar
  • 4,074
5 votes

'<>' operator is not allowed for source level below 1.7

Add those lines to JSP servlet settings in Apache's Tomcat 7.0\conf\web.xml. <init-param> <param-name>compilerSourceVM</param-name> <...
Jan H's user avatar
  • 8,836
5 votes
Accepted

DXA 1.2 Modules for Java?

Starting from version 1.2, the SDL Digital Experience Accelerator (DXA) provides support for Java, which unfortunately because of time contrainst did not come with Java modules yet (so indeed the ...
Bart Koopman's user avatar
  • 29.6k
5 votes

Notification for the publisher when content is not up to date in XPM

Your question is: Is there some setting that we am missing which would overcome the above scenario? The answer to that simply is: Yes you missed setting up Session Preview, i.e. you deliberately ...
Bart Koopman's user avatar
  • 29.6k
4 votes
Accepted

DXA 1.2 - Http probe requests fails in absence of Accept or Content-Type parameter in header

Fixed the above said null pointer issue by doing null check on Accept header. Changes needs to be done in DefaultDataFormatter's getHtmlAcceptScore() and BaseFormatter's getValidTypes(List<String&...
Puneet kankane's user avatar
4 votes

How to get a Dynamic Component in DXA 1.2

Your question is of very low quality, but I'll attempt an answer anyways. First thing I think you should keep in mind is the way DXA is setup. DXA is an MVC application that uses view models, so we ...
Bart Koopman's user avatar
  • 29.6k
4 votes

Blueprint context changes not reflecting while creating new page using DXA 1.2 and xpm

Just checked the \400 Example Site\Building Blocks\Content\_Cloneable Content content, actually Article Component attached on the Page type is created itself in 400 Example Site. so you will get your ...
Raj Kumar's user avatar
  • 5,867
4 votes

'<>' operator is not allowed for source level below 1.7

You're probably using Tomcat 7, which by default doesn't allow Java 1.7-specific stuff like diamond syntax. It can be configured to allow it, though: http://censore.blogspot.nl/2015/04/how-to-set-...
Rick Pannekoek's user avatar
4 votes
Accepted

How to get the Last Published Date of the page?

It indeed seems that Page.LastPublishedDate is never set by DD4T Templates. DXA (currently) also has no OOTB model mapping for this property. However, it is quite easy to obtain the last publish date ...
Rick Pannekoek's user avatar
4 votes

Can I deploy into virtual directory?

What you want is not possible in 2013 SP1 in general; it is only possible with SDL Web 8 Topology Manager (using so-called context-relative URLs in CM).
Rick Pannekoek's user avatar
4 votes
Accepted

Intermittent broken DXA JSON output during publishing

As I commented on your original question already, I don't think an upgrade to a DXA 1.x version will solve the issue you are dealing with, since there haven't been that much changes in the DD4T ...
Bart Koopman's user avatar
  • 29.6k
3 votes

DXA caching binaries and static content

For changing the cache settings, you need to look into the ehcache.xml of your web application. If you have Tridion object cache being turned on, you will have to look into the settings in your ...
Shiva's user avatar
  • 2,158
3 votes

Blueprint context changes not reflecting while creating new page using DXA 1.2 and xpm

In DXA 1.2, the OOTB Page Types and Content Types are defined in the 400 Example Site. XPM doesn't allow you to create the Pages/Components higher in the BluePrint than where the Page/Component Types ...
Rick Pannekoek's user avatar
3 votes
Accepted

DXA 1.2 .Net Keyword List

Bart's comment was correct. I had named my schema field incorrectly. Quoting the manual: When attempting to populate a property of type List, remove any trailing s's from the property name. For ...
Ryan Durkin's user avatar
3 votes

Entity not being populated with new Schema model field values - DXA

Answer to the second Question (in Update 2; note that this is getting messy): no, it is not required to specify explicit semantic mappings on the CM-side (nor on the CD-side, BTW). There will always ...
Rick Pannekoek's user avatar
3 votes

How to resolve image issue in the RTF field in DXA 1.2

The first error in the error message (Unable to map field 'article' to property of type 'WFA.Web.Site.Models._Article') is something I'll come back on later, let's first discuss the second error (...
Bart Koopman's user avatar
  • 29.6k
3 votes

How to resolve image issue in the RTF field in DXA 1.2

Let's focus on the root cause of this error: "Cannot create an (instance of an) abstract class". In the stack trace you can see that the exception occurs in DefaultRichTextProcessor line 116, where ...
Rick Pannekoek's user avatar
3 votes

Notification for the publisher when content is not up to date in XPM

One idea would be to implement a 'soft' notification system where somebody could get notified if a Global Component is modified and also published in any site. (ie. it's ready for prime time). The ...
robrtc's user avatar
  • 10.2k
3 votes
Accepted

Dynamic include pages in DXA

In general, if you need custom logic for how Page Models are constructed, I would recommend using a custom Page Controller (can be a subclass of Sdl.Web.Mvc.Controllers.PageController which overrides ...
Rick Pannekoek's user avatar
3 votes

DXA 1.2 Issue in playing .MP4 in Safari browser/IOS devices

I have made a small fix to make .mp4 works as a partial content. In DXA Sdl.Web.Mvc.Statics.StaticContentModule.BeginRequest method, I have added the below couple of lines to make it work. after ...
Jey's user avatar
  • 911
3 votes
Accepted

How to get the component ID in a JSP using DXA 1.2?

DXA decomposes TCM URIs; the ID of Entity Models correspond to the item reference ID of the TCM URI of the Component. In case of a DCP, the Entity Model ID is a combination of Component and Template ...
Rick Pannekoek's user avatar
2 votes

What is causing this LazyRepositoryLocation - Cannot find repository error?

DXA JAVA depends on the CID and CWD. The dxa-parent pom, dxa-tridion-provider pom and DXA Tridion provider spring context in dxa-framework\dxa-tridion-provider\src\main\resources\META-INF\spring-...
Jan H's user avatar
  • 8,836
2 votes

How to assign same priority(or order) to regions on a page?

I'm not sure if I fully get the question, but from what I understand it sounds like you have created two regions, where you only need a single one. If you want to have the following content in a ...
Bart Koopman's user avatar
  • 29.6k
2 votes

DXA 1.2 Modules for Java?

You can check at following location: https://github.com/sdl/dxa-modules/tree/master/webapp-java i haven't used any of these. but for your reference.
Raj Kumar's user avatar
  • 5,867
2 votes

Entity not being populated with new Schema model field values - DXA

You must check following: In binarydata folder on your application, do you see your Schema details in schemas.json file. Binarydata folder is created at run time on root directory of your web ...
Raj Kumar's user avatar
  • 5,867
2 votes
Accepted

DXA 1.2 Page Meta Data schema doesn't resolve KeyWords, Multimedia fields as proper value

I have found the solution for the issue, Implemented in the generic way so that it would cater for all the scenarios and below is the code fix required. In the PageBuilderImpl.java is the class and ...
Hemraj Jain's user avatar
2 votes

Unable to update the changes using OData Service with DXA & XPM

406 happens when the server cannot respond with the accept-header specified in the request, so this definitely is a configuration issue. As mentioned in the documentation (http://docs.sdl.com/...
Bart Koopman's user avatar
  • 29.6k

Only top scored, non community-wiki answers of a minimum length are eligible