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....
- 9,465
7
votes
Accepted
Tridion 2013 SP1 DD4T SOLR index arabic character encoding issue
Is your source encoding UTF-8? If so you should run the JVM with the argument
-Dfile.encoding=UTF-8
This can be achieved either by adding this parameter to the jvm.xml (if using a .Net web ...
- 4,170
7
votes
DXA versus pure DD4T based approach
To answer the more black and white questions first:
Is there a Java version available?
Yes, but its not yet publically available, you may be able to get a sneak preview if you contact SDL.
Can it ...
- 16.4k
7
votes
DD4T: Attempt to load JVM failed on native side
This issue is very similar to https://stackoverflow.com/questions/10238273/http-deployer-throws-attempt-to-load-jvm-failed-on-native-side.
It could be one of two things:
mismatch between 32 and 64 ...
- 6,685
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 ...
- 29.6k
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 ...
- 4,064
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 ...
- 7,253
6
votes
Accepted
Committing Deployment failed during unpublish
So based on the fact that the deployer is able to deploy things to the Broker successfully, I'm guessing it does not have anything to do with the Broker DB connection.
I would check the Processor ...
- 313
6
votes
Template builder vs publishing
There are different render modes, depending on what is happening, here is a short overview:
Template Builder
RenderMode is RenderMode.PreviewDynamic, Publication Target is null
CME Preview
RenderMode ...
- 29.6k
6
votes
Accepted
Arabic characters in Tridion output as HTML character references
You'll have to verify the entire chain from CM source to client side interpretation to see where this conversion is happening; you've already verified that the HTML encoded characters are sent from ...
- 4,170
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 ...
- 7,961
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....
- 523
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 ...
- 7,328
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 ...
- 7,961
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 ...
- 9,465
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 ...
- 6,685
5
votes
Search Integration With Amazon CloudSearch
Coincidentally I have just completed a proof of concept doing exactly this last week. My client is in the process of moving to Microsoft Azure, and replacing out existing GSA (Google Search Appliance) ...
- 9,067
5
votes
Search Integration With Amazon CloudSearch
The SI4T architecture is designed for this kind of integration, and is a much more solid approach than using TBBs (you cannot, for example control unpublishing from a TBB) or Event System (you cannot ...
- 16.4k
5
votes
Accepted
Error occurres when get binary from broker DB by BinaryDistributionModule(DD4T)
Did you add the binary file pattern regular expression to your web.config appSettings?
e.g.
<add key="DD4T.BinaryUrlPattern" value="^.*\.(jpg|JPG|gif|GIF|png|PNG)$" />
- 7,328
5
votes
Accepted
DD4T Link Resolving in Rich Text Format Areas
Link resolving in DD4T 2 Java can be resolved in a couple of ways:
In RTF
Use the LinkResolverProcessor - this needs to be configured as Processor on the Component controller;
Do it in the view ...
- 7,253
5
votes
Accepted
How to retrieve binary content using DD4T?
DD4T comes with an HTTPModule to stream binary content out of your MVC application.
It does not otherwise expose APIs to access binary content stored in Tridion. You could of course just use the ...
- 4,170
5
votes
Arabic characters in Tridion output as HTML character references
Hey Neil check out this encoding roadmap for Tridion, you're probably referring to point 6 in the article, but definitely good to re-check all points listed.
http://elenaserghie.blogspot.com/2012/01/...
- 1,899
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 ...
- 4,064
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.
...
- 29.6k
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....
- 29.6k
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%...
- 608
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 ...
- 7,327
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 ...
- 6,685
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 ...
- 6,685
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
dd4t × 4092013 × 64
2013-sp1 × 61
experience-manager × 44
content-delivery × 43
2011 × 34
java × 27
dxa × 23
web8 × 20
publishing × 18
smarttarget × 16
broker × 14
dd4t-2 × 12
templating × 11
componentpresentation × 11
binary × 10
configuration × 7
siteedit × 7
web8.5 × 6
metadata × 6
content-manager × 5
2011-sp1 × 5
upgrade × 5
ambient-data-framework × 5
si4t × 5