New answers tagged

1

Where is BinaryData..\ used for (images, pages, content) ? The BinaryData folder structure is a FileSystem cache for so-called Static Content Items. That is: binaries, assets and configuration files (stored as Binary in the database). This file system cache results in much better performance and less load on the CD database. What load can we expect on ...


2

Answer to your questioon - Yes it's supported in sites 9.5, I did a test with sites 9.5 OOTB DXA 2.2 .NET and DXA 2.2.5 Java both working fine in sites 9.5. Note: DXA 2.2 in sites 9.0+ not required modelservice you can use DXA model extention. In your case I would expect you need to upload this DXA Model extention in add-on service or load this extention in ...


2

For your Drop down list component Schema: add "ddlist" a multi-value text field based on the drop down list category Component: select all the keywords you want for your dropdown list in the component multivalue text field "ddlist" in the order you want them in the drop down Publish update your model to add <List>KeywordModel ...


2

Having implemented several DXA solutions for clients I recommend you take a look at the following DXA resources DXA Demo Site by Bart Koopman DXA Video presentation on SDL Docs DXA Core Code on github DXA Demo website Code on github You can get a responsive MVC DXA site up and running using the DXA Models and DXA Views , you just need to add content and ...


0

Adding to the very good comment from Atila, I thought I could expand on why the DXA was created in the first place, as that can help understand a few decisions. There was no "out-of-the-box" implementation for Tridion that was somewhat modern (one could argue that CWA was such an implementation, but it was at least 10 years old back in 2015) ...


2

You don't need to follow the reference implementation, it's just an example website, though it has some good examples and scenarios which can be recycled. DXA is MVC in essence, so every design principle which is valid and proven in MVC will also perform well in DXA. There is a slight difference in DXA involving the "under the hood multi layer routing ...


0

I can imagine you get confused by the example in the documentation; it looks rather dubious indeed. For a real-life, working and tested example see: https://github.com/sdl/dxa-modules/blob/master/webapp-java/dxa-module-search/src/main/java/com/sdl/dxa/modules/search/controller/SearchController.java


2

DXA indeed offers out-of-the box support for Navigation based on Taxonomies and has a KeywordModel for mapping a Keyword field to a View Model. For all other Taxonomy-related functionality, you should indeed use the applicable CD APIs. That is: CIL for 8.x or PCA for 9.x.


1

It seems that my surmise about the @RequestMapping for the class was correct. For the method mapping, "DoStuff" doesn't seem to make any sense at all. I now have an implementation where handleGetEntity gets called. The signature looks like this: @RequestMapping(value = "Entity" + "/{entityId}") public String handleGetEntity(...


3

In general, CD Linking generates absolute URLs if you define Publication mappings in cd_link_conf.xml. If you prefer server-relative URLs (which is often the case), you should not define any Publication elements in cd_link_conf.xml (Maybe it also works if you do define Publication elements, but no Host elements; never tried that). Regarding ComponentAnchors=...


2

To get the add, remove, reorder functionality for multivalue properties, you must use the DxaPropertyMarkup method with an index. For multivalue "embedded properties", this should wrap all individual property markups. @Html.DxaPropertyMarkup(() => Model.MultiValueProperty, index) In your example, the following line needs to be modified: <li @...


Top 50 recent answers are included