Hot answers tagged

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
7 votes

Are Component Links supported for inline edit in XPM?

Funny enough I just answered a question in email about the same and came to an interesting conclusion. To inline edit a field in XPM, it needs to belong to a Component Presentation and the proper XPM ...
Bart Koopman's user avatar
  • 29.6k
6 votes

Show 2 levels of DXA Navigation

AFAIK the OOTB Navigation facilities only support sister level of navigation, because the NavigationLinks entity has only one level of Links. Basically: You have to make an extension of the ...
Raúl Escudero's user avatar
6 votes

How Smart Target updates the "Views" counter in experiments?

The short answer is that it is done automatically by the Query control. So when the Experiment is rendered, a view will be tracked. The tracking is done through the AnalyticsManager which in turn uses ...
Peter Kjaer's user avatar
  • 19.8k
5 votes
Accepted

DXA 1.7: Custom Configuration / Resource Schema

Whether you use a key value pair or a specific Schema doesn't matter, the configuration is serialized the exact same way. You can for example take a look at the Google Analytics module, it has a ...
Bart Koopman's user avatar
  • 29.6k
5 votes
Accepted

DXA Build with Sources - CommonAssemblyInfo.cs could not be found

I guess you didn't add all the sources in that case, when looking at the VS project file (https://github.com/sdl/dxa-web-application-dotnet/blob/release/1.7/Sdl.Web.Common/Sdl.Web.Common.csproj) you ...
Bart Koopman's user avatar
  • 29.6k
5 votes

How can I generate XpmMetadata so that linked components are editable

Let me start with making one thing clear (I gather you know it already, but just for the sake of others coming across this question), what we are doing here is a hack to make linked Components ...
Bart Koopman's user avatar
  • 29.6k
4 votes
Accepted

How do we resolve ExternalContentLibraryStubSchema-mm schema problem in DXA MediaManager Module?

My goal was to move the Connector installation to the 100 Master level. I tried deleting stubs and schema , editing the ExternalContentLibrary.xml stubs folder to point at 100 level to run the ...
Chris Mills's user avatar
  • 2,221
4 votes

POM missing dependency org.eclipse.m2e.logback.appender Eclipse Neon.2

Particularly this message: "The POM for com.sdl.web:content-client-api:jar:8.5.0-1012 is missing, no dependency information available." seems like an issue in libraries. Also it's interesting that ...
Alexey's user avatar
  • 646
4 votes
Accepted

Publish Mappings fails with deserialisation error

I'm not sure why you are trying to add the Publish Mappings TBB to your Component Template. The documentation mentions: ... By invoking the Publish Mappings Template Building Block from the Publish ...
Bart Koopman's user avatar
  • 29.6k
4 votes
Accepted

DXA 1.7 TBBs - ILMerge issue when building from source

The answer to your question is described in the README.md file of the dxa-content-management repository on GitHub: Note that the Sdl.Web.Tridion.Templates.csproj project references CM assemblies in ...
Bart Koopman's user avatar
  • 29.6k
4 votes

Remove the HTML and Body tags from the Page when the extension is not ".html"?

Views are designed for generating HTML, if you wish to return JSON, you should not abuse the view technology for that (see also the answers to How to remove the HTML content from a Page when Region is ...
Bart Koopman's user avatar
  • 29.6k
4 votes

How can I generate XpmMetadata so that linked components are editable

Let me elaborate Bart's statement that "this is a hack to maked linked Components editable in XPM"... Note that XPM currently doesn't fully support editable linked Components. This is visible from ...
Rick Pannekoek's user avatar
4 votes

Automate DXA HTML design upload and publishing

Certainly. High level steps how to do this: Create a folder watcher which would detect the zip file when copied. Once the zip is detected it would be processed and moved out of the folder (success/...
Atila Sos's user avatar
  • 6,280
4 votes

Tridion page review

What Rick had suspected, you have confirmed with you comment, this is indeed a typical staging/live setup. That means, that for a single CM environment (Production) you have 2 delivery environments (...
Atila Sos's user avatar
  • 6,280
4 votes

Inherited page in a child publication doesn't seem to be stored correctly in the database

We managed to fix this issue and I would like to share the solution. In the binary data, the mapping wasn't up to date in the child publication (didn't contain the metadata fields). I tried several ...
Tung Do's user avatar
  • 101
4 votes
Accepted

removing /index.html in RTF in DXA 1.7 .NET

So for those that are interested in a solution, I did this by creating my own DxaRichText HTML helper extension and doing the change there. Code looks something like this public static MvcHtmlString ...
Marko Milic's user avatar
  • 8,863
3 votes

Are Component Links supported for inline edit in XPM?

It seems to indeed be possible to edit fields in a linked Component using XPM, but it requires the XpmMetadata to be set on the Component before rendering it. For example: myComponentPresentation....
Andreas Rönnqvist's user avatar
3 votes

Custom Link and Richtext processing in DXA Java 1.7

To answer your second question, once a class has private methods, they can't really be reused or overriden. You have two options: a) code duplication, or b) dynamic method execution using reflection. ...
Mihai Cădariu's user avatar
3 votes

Extending PageBuilder,abstractViewModel

I don't think you need to modify any Builder for this. All you would need to do is Create a custom model, inheriting from the default PageModel Add your page metadata fields to this page model (just ...
Harald Hoffelinck's user avatar
3 votes

How to get DXA (Java) resource JSON via HTTP request

Try inserting the version number into the URL. http://site/system/v1.7/resources/modulename.json When running in debug (.Net) on the local machine I can access resources via a web browser (chrome) ...
Chris Mills's user avatar
  • 2,221
3 votes

Entity Model fields coming through as null

Thanks Rick. I seriously messed up semantics. Now I see the values coming through :)
Bharath's user avatar
  • 509
3 votes
Accepted

How Smart Target updates the "Views" counter in experiments?

Finally found that the error in the views counter was an error in the Experience Optimization DXA module. SDL support confirmed it, and to fix the problem, a hotfix will be released on January 2018.
Raúl Escudero's user avatar
3 votes
Accepted

syntax error when installing the DXA 1.7 Audience Manager module

It seems you problem is in understanding how to use PowerShell exactly, and the documentation isn't overly clear on that I agree, since it uses the single quotes (they are single quotes rather than ...
Bart Koopman's user avatar
  • 29.6k
3 votes

DXA Java 1.7: Load specific component content from any page

Take a look at the ContentProvider.populateDynamicList method, this is how DXA does it for the out of the box query on the homepage. This is using the DynamicList class which contains a few basic ...
Bart Koopman's user avatar
  • 29.6k
3 votes
Accepted

How to render out a multivalue component link to link list components in DXA

I was mostly making a mistake in my initial model for my component public class GlobalFooterNavigation : EntityModel { [SemanticProperty("c:navigationSet")] public List<...
paceaux's user avatar
  • 2,645
3 votes

Sitemap.xml at root location - Tridion

If you create the page in the root SG, the sitemap.xml will be available in your rootURL/sitemap.xml. The crawler should be able to browse the site to pick it up, without any modifications or ...
Shiva's user avatar
  • 2,158
3 votes
Accepted

Publish Settings - Publishing Failed

Issue is resolved after removing the app_id "http://www.sdl.com/tridion/SemanticMapping/typeof" Use provided Powershell commandlet to remove the app_id, for example: remove-tcmapplicationData -...
Brandon's user avatar
  • 76
2 votes
Accepted

DXA 1.7 Get Multimedia Component name

In the DD4T model (json) the Title of a Component is available, but in the DXA abstraction it seems we considered this was part of the "domain model" and thus not propagated as we deemed it wasn't ...
Bart Koopman's user avatar
  • 29.6k
2 votes

DXA 1.7 Java.lang.RuntimeException: Not possible to retrieve the dynamic configuration

It appears that there were few problems with the linking of Base URL's in the discovery database which was causing this issue. It could not be identified why this inconsistencies in the DB, which ...
Gert de Heul's user avatar

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