Hot answers tagged

3 votes
Accepted

Model for a component link with any schema

I can give you a view from the .NET DXA - I guess its similar for Java. Do you want to create a hyperlink to the linked content? If so its rather simple, you simply have a property of type String or ...
user avatar
  • 16.4k
3 votes
Accepted

How is schema linked to a Model in DXA+Java MVP Implementation?

According to the Tridion Reference Implementation (aka DXA) documentation, when default semantic mapping is used the naming convention of multi-value fields is defined as follows: When attempting ...
user avatar
  • 1,650
3 votes

STRI search module for search in DXA

Here are some links (which you can also find in the docs) DXA Latest: https://github.com/sdl/dxa-modules/tree/master/webapp-net/Search DXA 1.0.1: https://github.com/bkoopman/tri/tree/master/web-...
user avatar
  • 16.4k
3 votes
Accepted

DXA Custom Controller Issue (Routing)

I guess that (part of) the problem is that your controller classes are not explicitly declared as public (and the default visibility for classes is internal in C#). I also don't understand why the ...
user avatar
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 ...
user avatar
  • 29.6k
2 votes

Model for a component link with any schema

I had the opportunity to talk to Huston in person and that gaves another angel on the problem. I cannot answer the component link question, but we can solve the left hand side / right hand side ...
user avatar
  • 8,826
2 votes

Can we add our own custom Controllers in Spring MVC application which is using TRIDION

It seems you use dd4t 2. In the dispatcher-servlet.xml file you need to add your controller: <!-- Configure me: change this to the base-package where your overridden controllers are --> &...
user avatar
  • 7,253
2 votes
Accepted

DXA Model Source Code

You failed to indicate which version of DXA you are using and if you are using .NET or Java, but here are the locations of the source code for the models of the DXA Core module. You find these in the ...
user avatar
  • 29.6k
2 votes
Accepted

SDL Web8 with DXA 1.6: Unable to use multiple publications in CMS that will server the pages and content for a single web application hosted on IIS

Looking at your requirements, I see the following Topology Manager configuration: 1 Website with Base URL http://{domain-name} 1 Web Application with Context URL / (Root Web App) 6 Mappings with ...
user avatar
2 votes
Accepted

"OutputStream is not available when a custom TextWriter is used" error when returning FileStreamResult through a view with @Html.DxaEntities()

But why do you inherit from DXA's BaseController? Why not have a "regular MVC controller" which would return the relevant data? I think you should approach this the following way: Render the ...
user avatar
  • 6,165
1 vote

"OutputStream is not available when a custom TextWriter is used" error when returning FileStreamResult through a view with @Html.DxaEntities()

I think Atila's answer is your best bet. I think the problem you're having is that DXA is involved quite early on in the pipeline. It's getting the page content from Tridion, building up the page ...
user avatar
  • 6,688
1 vote

"OutputStream is not available when a custom TextWriter is used" error when returning FileStreamResult through a view with @Html.DxaEntities()

Did you have a look at the Example Site / Core Module? It also supports Downloadable content, but not using anything near to what you are trying to do. See, for example: The Download View Model (...
user avatar
1 vote
Accepted

DD4T Template in SDL Web 8.5 Page Returning Null Value

Found the issue in your Global.ascx.cs file, The following below line wrong, it should register your PageController class not MvcApplication class builder.RegisterControllers(typeof(MvcApplication)....
user avatar
  • 7,495
1 vote

Change the default page of the DXA application to my custom home page DXA Java 1.5

DXA would render the page content directly from the database. The view models can be cached. For you to be able to render a file (instead of the model from the database) from the filesystem directly, ...
user avatar
  • 2,148
1 vote
Accepted

DD4T 2: binding viewModel with not using the rootElementName in .net

You are correct, DD4T resolves the type of the model based on the Schema Root Element name. The best practice would be to have unique names for the SchemaRootElement but if you don't want to do that ...
user avatar
  • 1,475
1 vote

Schema with a component link with the same schema mapping problem

Not sure why the value is not populating, but another way this can be achieved is by defining the metadata field in both schema for column and level. For e.g., in Schema HeaderMenuDesplegable have 1 ...
user avatar
  • 21

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