Hot answers tagged

7 votes

Getting a document link in DXA?

Since DXA 1.1, Component Links to Multimedia Components are resolved as Binary Links (so a direct link to the MM Component's binary content). I see you have tagged dxa java, which means that you will ...
Rick Pannekoek's user avatar
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%...
Thijs's user avatar
  • 608
5 votes
Accepted

Use Page linking instead of component linking in tridion

I've done solutions for this in the past... and as usual, there's many ways to peel this cat. While I still believe that component linking, functionally, is really what you need (even if people think ...
Nuno Linhares's user avatar
  • 29.1k
5 votes
Accepted

Linux and JBoss: Clustering software recomendation

This type of architecture is perfectly possible, with files stored on some kind of shared resource across the web servers. Usually I see a NAS or SAN type device used for this purpose. Steer clear of ...
David Forster's user avatar
5 votes
Accepted

Web 8.5 Tridion API special characters error with dynamic page links

I think the issue is only with the slash special character. Rest of the special characters are fine. For instance, if I call the getLinkAsString method (getLink method in your Java code snippet will ...
Sabarish Senthilnathan's user avatar
5 votes

Tridion Java/Node/Python API to create and publish a new taxonomy programmatically

Welcome to Tridion, there is another way which might interest you, and that is create JAVASCRIPT client for SDL coreservice. https://yatb.mitza.net/2018/08/javascript-client-for-coreservice.html
Hem Kant's user avatar
  • 2,208
4 votes
Accepted

using the ADF server variables (querystring data)

The ADF stores a couple of the taf:request:parameters entries as a HashMap<String,String[]>>. These are: CONTENT_LENGTH CONTENT_TYPE QUERY_STRING PATH_INFO In addition, the ADF stores the ...
Raimond's user avatar
  • 7,253
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"> ...
Hirokazu Shikata's user avatar
4 votes
Accepted

Getting a document link in DXA?

I was also facing the similar problem and resolved with the below steps: We need to use Default Multimedia schema and Chose Multimedia type "PDF" while creating the component. Attach this multimedia ...
Hemraj Jain's user avatar
4 votes

Error occurs on DXA 1.4 Java, probably related to Context Service

There is a step "Installing the Context Service client", in SDL Web 8's manual. Is the step required on DXA 1.4? No, the context client is part of the DXA framework and doesn't have to be installed ...
Rick Pannekoek's user avatar
4 votes
Accepted

Page Metadata Component Link

The problem is because the link level is set on the wrong TBB. Since all DD4T TBBs use the same parameter schema, the TBBs seem to use the value from the first TBB in which the value was set. So if ...
Rob Stevenson-Leggett's user avatar
4 votes
Accepted

Enable remote JMX monitoring for DD4T webapp

By default remote JMX monitoring requires authentication and SSL is also enabled. You can try to add the additional lines to disable authentication and SSL: <Option Name="-Dcom.sun.management....
Andjar's user avatar
  • 86
3 votes

Error in upload Image to SDL Tridion using SOAP API 2013 and CXF (Java)

I did it!! Don't use JAXBElement <> syntax. Take a look in: http://yatb.mitza.net/2012/12/a-core-service-java-client.html?m=1 Use: wsimport.exe -d c:\temp\gendir -s c:\temp\srcdir -b c:\temp\...
Brian Sternari's user avatar
3 votes

How to read embedded Schema values in DD4T Java?

SchemaChild: private String fieldA; private String fieldB; Generate getters and setters. SchemaParent private List<SchemaChild> fieldC; again generate getter setter etc. In view, read ...
Huston Lopes's user avatar
3 votes

using the ADF server variables (querystring data)

I think this is returned as a List<string> object. You may want to check how I do some of this claim reading on the Context Engine Wrapper.
Nuno Linhares's user avatar
  • 29.1k
3 votes
Accepted

Debugging in IntelliJ gives "Address localhost:1099 is already in use" error

You have to ensure that you only make and deploy the project once, else two processes will get started, while port 1099 is started in deployment 1, but your debugging session actually happens on ...
Raimond's user avatar
  • 7,253
3 votes

Getting error while fetching Category and keywords as xml using core-service in java

If you use GetListXml with TaxonomiesFilterData, you should pass in a Publication ID as id parameter: it returns a list of all Taxonomies within the given Publication. In case you intended to get the ...
Rick Pannekoek's user avatar
3 votes
Accepted

Which CIL contains which classes?

There isn't a list, but there is way (in Eclipse), which can help you determine where class is locating Go to the Navigate menu, Open Type... (or Ctrl-Shift-T), Then type in the class name and see ...
Djordje Nedovic's user avatar
3 votes

Demo project for SDL Web 8.5 Core Service

Welcome to TridionStackexchange! Take look at the documentation for Interacting with the Core Service from Java For a starting point, Mihas has done a Core service with Java client and placed his ...
Velmurugan's user avatar
  • 7,950
3 votes
Accepted

Publishing fails in the deployer with `Timeout waiting for parallel processing`

Uros, this is Cloudinary issue as seen in Stack trace: at com.cloudinary.strategies.AbstractUploaderStrategy.processResponse(AbstractUploaderStrategy.java:85) at com.cloudinary.http44....
Marko Milic's user avatar
  • 8,863
3 votes
Accepted

Registering view for MediaItem (DXA 2.0.3, Java)

Q: Why do I need to declare my view inside getDefaultMvcData()? A: This method is intended for so-called embedded Entity Models. That is, Entity Models which are used within Rich Text content. On the ...
Rick Pannekoek's user avatar
2 votes

DXA versus pure DD4T based approach

As an update to the answer provided by Will above... Q1. Is there a Java version available? A. Yes. Further details on this can be found in the Installing the web application (Java) section of the ...
Jonathan Williams's user avatar
2 votes

Running out of PermGen space in Tomcat when running multiple Tridion CD instances

The best way to set these parameters is creating a file called setenv.bat (Windows) or setenv.sh (Linux) and place it in the Tomcat bin directory. you can put here the variables JAVA_OPTS or ...
Jose Honorato's user avatar
2 votes

Removing Page Extensions using DD4T

URL Rewrite is the way to go. We did it successfully in .NET. Should be possible in Java too. A quick google gave many options "url rewrite to remove extension in java"
Vikaskr's user avatar
  • 358
2 votes

Debugging in IntelliJ gives "Address localhost:1099 is already in use" error

Like Raimond said: only build once. The problem was a bug in the Run/Debug Configuration in IntelliJ. I did both Make and Build webapp artifact. Without the fist make step it works fine. It turns out ...
Jan H's user avatar
  • 8,836
2 votes

DD4T2 Java: Get schema of Page object

You're right - the repositorylocalitem interface doesn't expose the necessary getSchema() method you'd expect to see based on the implementation. This would be the correct way out indeed. On a side ...
Rogier Oudshoorn's user avatar
2 votes
Accepted

How to get the current page to enable social sharing

In DXA .NET we use var pageUrl = Url.Encode(Request.Url.ToString()); (as you can see in https://github.com/sdl/dxa-web-application-dotnet/blob/master/Site/Areas/Core/Views/Entity/SocialSharing.cshtml),...
Bart Koopman's user avatar
  • 29.6k
2 votes

Use Page linking instead of component linking in tridion

You have tagged this question with dxa and in there we also actually use Page links for our include Pages. Since there is no item link field in a Schema possible yet (working on that ;o), we decided ...
Bart Koopman's user avatar
  • 29.6k
2 votes

DD4T 2.0 Java Spring MVC: How to fetch the component field value when it has multiple keywords as its values?

First of all, your Keyword Json structure should look something like this: "Color" : { "Name" : "Color", "Value" : "Blue", "Values" : [ "Blue", "Red", "White" ], "NumericValues" : [ ],...
Raimond's user avatar
  • 7,253
2 votes

How to do Personalization on DD4T Java 2.0?

Yes, its possible but there is no OOTB code in DD4T handling Condition Tags. You will get the condition list in your component object. But after that You have to write your own code to handle it as ...
Raj Kumar's user avatar
  • 5,867

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