8
votes
Accepted
DD4T good practice: how to render component presentations based on ViewModels
Dominic, it's indeed correct that, when you use the DD4T2 ViewModel approach, you should use the Html.Render helper function, and if you use the older models, you should use the Html....
7
votes
Accepted
Not able to find DD4T 2.0 (.NET) API source code
If you go to https://github.com/dd4t you will find all sources separated by package names, for .NET you have:
DD4T content model (.NET) https://github.com/dd4t/DD4T.Model
DD4T Core delivery framework ...
7
votes
Accepted
DD4T site set up issue | SDLWEB8 | could not load the source in VS2013
@Meyank, Error message is showing, DD4T templating solution is searching for MSBuild at default installation path. Installation and integration of MSBuild with Visual studio will fix your error.
As ...
7
votes
Accepted
DD4T versions for SDL Tridion 2013 and SDL Web 8?
For the Java version of DD4T:
Tridion 2011 to Tridion 2013
No upgrade needed. DD4T versions 1.31 and 2.0.0+ will work with Tridion 2013 as well, with one important note: The DD4T web application ...
6
votes
Accepted
Not able to edit the component in Experience manager
This does not look like valid Experience Manager Markup to me.
The <!-- Start Component Field --> HTML comments need to be within a separate block level element in order that XPM can display ...
6
votes
content not changing in dd4t
DD4T has built in caching also.
For DD4T Java 1.31, I think you have to alter your dispatcher-servlet.xml to use the NoCacheProvider but I've never done it myself. See comments about caching in the ...
6
votes
Accepted
DD4T - Generate DD4T.Templates.merged.dll using ILMerge manually
According to the post-build script these are the dlls to merge:
DD4T.ContentModel.Contracts.dll
DD4T.ContentModel.dll
DD4T.Templates.Base.dll
DD4T.ContentModel.XmlSerializers.dll
DD4T.Serialization....
6
votes
Accepted
Is it possible to expose Tridion page content as JSON, for React application?
At the moment I imagine that your current implementation is "baking" your HTML during publishing and including some JSP code which is executed on the server.
There's nothing to stop you from having ...
6
votes
Accepted
How to fix Java heap space error?
You can specify the java settings used by your .NET application in two ways : either by making changes in windows registry, or by adding a jvm.xml file with the settings in the bin/config folder of ...
6
votes
Accepted
Does SDL Tridion Sites 9 accept DD4T XML model?
There is no provider to make DD4T version 1 work with Tridion 9. You have 2 choices:
Upgrade to DD4T 2.
Create your own Tridion 9 provider.
If you go for option 2, you must also update the ...
5
votes
Accepted
queryBuilder.Execute() is returning null result
There could be few things which you can check for the reason why your query is returning result while executing directly in fredhopper and not returning result in your application:
Check the log of ...
5
votes
How can I just use the portion of DXA or DD4T which enables deserialization of TRIDION-published XML files?
DXA uses the DD4T serialization/deserialization because we wanted to adopt it as a future standard, so from that point of view I would say you are on the right approach of wanting to reuse it indeed.
...
5
votes
Accepted
Install DD4T templates for Tridion Web8
There currently are no official Web 8 compatible DD4T Templates, the latest DD4T 2.0 templates are available here: https://github.com/dd4t/DD4T.TridionTemplates/releases
There is a install-templates....
5
votes
Accepted
DD4T 2 Java and Maven Build Failing
These dependencies aren't available from maven central. You need to host those yourself. To find out which items are hosted on Maven central:
Check http://search.maven.org/#search%7Cga%7C1%7Cg%3A%...
5
votes
DD4T good practice: how to render component presentations based on ViewModels
My understanding of the differences are:
When using ViewModels you should use
@Html.Render(model)
Why?
It uses the standard MVC pipeline, resolving Action, Controller and View from the ViewModel ...
5
votes
BinaryData Folder issue in DD4T
This is a known issue in DD4T. The root cause is that a non-existing image was requested. When somebody tries to access a non-existing image url (in a non-existing folder), the BinaryFactory creates ...
5
votes
Can I use DD4T Framework on a C# based Windows service?
You can use DD4T for this, with two caveats:
Don't reference DD4T.MVC4 or 5 (this won't work in a Windows service)
Don't use Rich Text fields in your model (regular text and other types work)
This ...
5
votes
Accepted
DD4T 2.1 Support on Sites 9
You can use DD4T 2.1 in combination with Tridion Sites 9.1. You just need to upgrade the POM so that it uses the 9.1 CIL and related third-party libraries.
On the CM side you can use the DD4T 2.5 ...
4
votes
Accepted
Chinese encoding issue in Broker
Ok - so I've come across this setting before but for some reason I assumed it didn't apply. I stuck it in and low and behold, encoding back to normal!
I simply added a new System Variable ...
4
votes
Accepted
DD4T templates for Java and .Net
On the Tridion Templating side DD4T 2.0 Java uses the same TBBs as for .Net, so you can use the exact same installer.
The reason this is not documented in the dd4t-2-java project is mainly because ...
4
votes
dd4t1.31 java controller flow
There is a file "urlmapping.xml" in WEB-INF. In the file, there is following code.
<bean id="dd4t" class="org.dd4t.springmvc.controller.DynamicPageController" parent="parent_controller">
...
4
votes
Accepted
How to use Tracking Key in DD4T application
@Manas, What I understand from your question is you are facing issue while incrementing the value of tracking key. To increment the tracking key value, you don't need to read the component visit/Page ...
4
votes
configuring DD4T web site on SDL WEB 8 Error : Tridion.ContentDelivery.Common.Interop
It's trying to load the Web 8 version of Tridion.ContentDelivery.Common.Interop and failing. So it looks like you don't have SDL Web 8 installed on that website.
4
votes
Accepted
ServletOutputStreamWrapper modification in dd4t 1.31
Yes you can - that servletoutputstream is only used by weblogic - every other application server uses the printwriter.
4
votes
Accepted
DD4T RTF issue on websphere
make following changes in the file "dd4t-core/src/main/java/org/dd4t/core/util/XSLTransformer.java "
comment selected lines and restart server.
4
votes
Accepted
Need suggestion regarding URL structure change for SEO
I've seen a few different implementations for this, I'll list it below - but for now I really need to confirm what you say: URL "depth" does not influence google search results anymore. This was the ...
4
votes
How do I make use of DD4T's provided ViewModels?
Long answer short...
You can use IViewModelFactory to achieve this. For example:
Article article = _viewModelFactory.BuildViewModel<Article>(cp);
If you are going from a page down to component ...
4
votes
Accepted
How do I make use of DD4T's provided ViewModels?
ViewModelFactory.BuildViewModel is able to transform/create a strongly typed model out of the DD4T model.
BuildViewModel() has 1 argument of type DD4T.ContentModel.IModel, Both DD4T.ContentModel....
4
votes
Accepted
In DD4T, when should I use ModelControllerBase, and when TridionControllerBase
The biggest difference is the inclusion of IViewModelFactory. This allows ModelControllerBase to return the Model converted to your associated View Model type. TridionControllerBase returns the Model ...
4
votes
DD4T with Razor Templating - feasibility
A few rough answers on your questions:
Simply considering DD4T is slower then Razor Templating is not a valid statement if you ask me. There will be a lot of questions you need to asnwer before you ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dd4t × 4112013 × 64
2013-sp1 × 61
experience-manager × 44
content-delivery × 43
2011 × 34
java × 28
dxa × 23
web8 × 20
publishing × 18
smarttarget × 16
broker × 14
dd4t-2 × 12
templating × 11
componentpresentation × 11
binary × 9
configuration × 7
siteedit × 7
web8.5 × 6
upgrade × 6
metadata × 6
sdl-tridion × 5
content-manager × 5
2011-sp1 × 5
ambient-data-framework × 5