Hot answers tagged

14 votes
Accepted

Are there plans for DXA .NET on ASP.NET Core?

The answer is yes, DXA does have plans to move to .NET Core, in line with the plans for SDL Web to move its APIs to .NET Core. These plans actually date back to February 2016 back when .NET Core 1.0 ...
Bart Koopman's user avatar
  • 29.6k
13 votes
Accepted

Publishing images for CSS in DXA HTML Design zip

There is a component which is linked to in the HTML design component called build-files. It points to the Modules/Core/Admin/Build Files component. This component's zip file contains a gruntfile ...
Nicholas Wetmore's user avatar
12 votes
Accepted

Accessing Page Model Metadata from Entity View in DXA

The page model is available in an entity view though the WebRequestContext. @WebRequestContext.PageModel It is considered bad practice though to use page data in your entity view. It is code smell, ...
Jan H's user avatar
  • 8,836
10 votes

Web 8 DXA 1.5 Java web site failing with "Unable to get response from OData service"

It turns out this is all to do with encoding. In each microservice bin/start.sh script replace the JVM_OPTIONS with this: JVM_OPTIONS="-Xrs -Xms256m -Xmx512m -Dorg.apache.tomcat.util.buf.UDecoder....
M Roweth's user avatar
  • 471
10 votes

SDL Web 8.5 + AngularJS + DXA

The problem with using DXA 1.x for a client side JavaScript framework is that you are using a fully blown MVC web application to essentially deserialize JSON and map it to models. It can certainly do ...
Bart Koopman's user avatar
  • 29.6k
10 votes
Accepted

SDL Web 8.5 + AngularJS + DXA

I've seen an implementation DXA was set up to just be a JSON API. Vue.js was used as the templating framework. XPM was dealt with by using .NET Core to render VueJS server-side (So XPM was accessing ...
paceaux's user avatar
  • 2,645
10 votes
Accepted

How to install the DXA 2.1 Model Service extension

Indeed! documentation is bit unclear, an example command not work for windows, I did manage to install successfully, I have sent the message to fix the documentation, I will leave the comment in the ...
Velmurugan's user avatar
  • 7,950
9 votes
Accepted

Very slow DXA response times under performance testing

There are various optimization and checks you can do for performance in DXA Enable DD4T caching. <add key="CacheSettings_CallBackInterval" value="30" /> <add key="DD4T.CacheSettings.Page" ...
Raj Kumar's user avatar
  • 5,867
9 votes

Invalid v2 service endpoint for content-service

Solved it, I re-ran: Java –jar discovery-registration.jar update located in the /config folder of my discovery service :)
johnwinter's user avatar
  • 14.3k
9 votes
Accepted

How to render component presentation dynamically based keyword in DXA 1.5

The recommended way to achieve such dynamic, query-based page assembly in DXA is by creating a custom Controller. Unfortunately, DXA doesn't support custom Region Controllers yet, but you can create ...
Rick Pannekoek's user avatar
9 votes
Accepted

DXA & DD4T: Activate json compression

You can turn it back on in your Spring dispatcher servlet XML: <!-- DD4T Provider beans --> <bean id="binaryProvider" class="org.dd4t.providers.impl.BrokerBinaryProvider"> <...
Raimond's user avatar
  • 7,253
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
8 votes

Wrong topology configuration issue

To update Website in Topology Manager use following command: Set-TtmWebsite -Id websiteId -BaseUrls newBaseUrls Full list of Topology Manager commands are listed by: docs
Stanislav Maryenko's user avatar
8 votes
Accepted

How to enable XPM button on DXA, SDL Web 8

For starters on Web 8, the XPM button is on the top right, and the CME URL in your pages is coming from a configuration file, which is generated when you publish the Publish Settings Page in the ...
Bart Koopman's user avatar
  • 29.6k
8 votes
Accepted

Referencing the SDL.Web.Tridion Assembly in DXA

With "the DXA 1.7 Nuget package" I'm guessing you mean "SDL Digital eXperience Accelerator Framework for SDL Web 8", which when you inspect the contents of the package, does contain the SDL.Web....
Bart Koopman's user avatar
  • 29.6k
8 votes
Accepted

Custom Link and Richtext processing in DXA Java 1.7

Some time ago, we also worked on a DXA implementation where we customized the link resolver (I think we were using DXA 1.5 or 1.6, but the approach should be similar). The Spring framework should ...
Harald Hoffelinck's user avatar
8 votes

Is there a supported way to split up the DXA Master publication in a schema and template publication?

Lets start with a few (short) answers: Q: is splitting the DXA Master publication supported A: in short: no. slightly longer: depending on what you expect under supported, but as you already ...
Bart Koopman's user avatar
  • 29.6k
8 votes
Accepted

DXA website header and footer do not work on DXA 2.1

Indeed!, you missed to Installing the DXA Model Extension in content service. Try the following steps to fix: Create the extensions folder in content service root. Copy the \dxa\cis\dxa-model-...
Velmurugan's user avatar
  • 7,950
8 votes
Accepted

Keyword key field mandatory

There's no 'out of the box' way to make the Key field of a Keyword mandatory, unfortunately. I recommend that you do this using the Tridion Events System. It should be quite simple to write the ...
Jonathan Williams's user avatar
8 votes

DXA 2.1 Map two publications to the same application

It's not possible to use the exact same url for two mapped publications. This way, DXA would never know which publication to use to read content from. You can point two publications to one dxa web app,...
Harald Hoffelinck's user avatar
8 votes
Accepted

Add new option inside the Hyperlink window

As Neil and Mark have noted, what you are looking for is a GUI extension extending the FormatArea.js and three other JavaScript and ASPX files: %Tridion Home%\Web\WebUI\Core\Controls\FormatArea\...
Sabarish Senthilnathan's user avatar
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 ...
Sabarish Senthilnathan's user avatar
7 votes

Getting a document link in DXA?

Since DXA 1.1, Component Links to Multimedia Components are resolved as Binary Links (so a direct link to the MM Component's binary content). I see you have tagged dxa java, which means that you will ...
Rick Pannekoek's user avatar
7 votes

HTML Designs How to modify and upload

The layout and content of the zip is indeed very specific to the DXA - I suggest that you examine the default zip and Gruntfile.js to understand the layout and build process. Before you invest a lot ...
Will Price's user avatar
  • 16.4k
7 votes

SDL Web 8, SPA and Mobile App architecture

Ad 1) Not really, CIL is the term used for the "client" libraries for the Content Interaction Services (CIS). SDL Web 8 comes with .NET and Java CIL. They are intentionally very similar to the public ...
Rick Pannekoek's user avatar
7 votes
Accepted

Applying advanced styles to embedded RTF Images in DXA

When the DXA publishes binaries (either linked from MM link fields, or embedded in RTF) it publishes the original full res image. When the image is rendered by a view, it will be resized according to ...
Will Price's user avatar
  • 16.4k
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
7 votes

Where and how do we read keyword component fields (name & description) in DXA?

This behaviour is 'hardcoded' in the Model Mapping logic. Check out this line in Sdl.Web.Tridion.Mapping.DefaultModelBuilder: string displayText = String.IsNullOrEmpty(keyword.Description) ? keyword....
Will Price's user avatar
  • 16.4k
7 votes

In Web 8 Components stopped resolving after changing Publication path

This is a bit long for a comment but after walking through this I'll either delete or change to be an answer. Can you clarify what you mean by when I tried to publish a Component, it is not resolving....
Dylan .. Mark Saunders's user avatar
7 votes

Can DXA be configured to not have to recycle app pool after republishing theme?

DXA agressively caches configuration settings in-memory for performance reasons, but the AdminController (/admin/refresh URL) can be used to flush the cache without having to recycle the AppPool.
Rick Pannekoek's user avatar

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