Hot answers tagged

9 votes
Accepted

Relative URLs with SDL Web 8 Dynamic Linking

Yes, there is. In the cd_link_conf.xml of the (Session-enabled) Content Service there is a OverrideDiscoveryService attribute. If you set that to true, the Content Service will switch back to old-...
user avatar
7 votes

Component Link and Image source are not generating correctly

i also faced similar kind of issue which got resolved after applying Hotfix Rollup #1 for SDL Tridion 2013 SP1 as suggested by SDL. Kindly contact SDL for the hotfix or log a ticket in SDL support
user avatar
  • 2,208
7 votes

Could not initialize class com.tridion.linking.Linking

This NoClassDefFoundError error usually comes in case of any of the following scenario: As you have also listed in your question, there are some dependent .jar or .war file which is missing or have ...
user avatar
  • 15.9k
7 votes
Accepted

How to set nested component linking level in DXA

The linking level is configurable with "expandLinkDepth" parameter in the Core Template Building Blocks "Render Page Content" and "Render Component Content" Render Page Content \100 Master\Building ...
user avatar
  • 2,221
6 votes
Accepted

Linking.svc URL in SDL Web 8

Linking service is moved to root of the content service. You can access it like http://my.sdlweb8.server:86/linking For example to get Component link http://localhost:8081/linking/componentLink?...
user avatar
  • 1,130
5 votes

Could not initialize class com.tridion.linking.Linking

I will suggest to check logs files & validate your bin/config/cd_licenses.xml file, linking problem usually occurs when you have invalid license file. You could have following issues in file ...
user avatar
  • 5,857
5 votes
Accepted

How to update a bunch of components after a schema change?

What Mark says is indeed the way to go - use core services to write a script that does the update for you. I would work as follows: Create a new field in your schema for the component link, and keep ...
user avatar
5 votes

How to update a bunch of components after a schema change?

Use the core service to grab the tcmid from the text field and and format the necessary syntax to pop that as the component link directly into the new field. A few simple Google’s will serve the ...
user avatar
4 votes
Accepted

DD4T Binary Url is always empty

Bart pointed me in the right direction; TryGetBinary does indeed not populate the Url property but it does load the contents of the binary from the broker which is not what I would want when resolving ...
user avatar
3 votes

Resolve component link in rich text

The fact that the hyperlink is removed altogether indicates that the DXA Model Service/Extension did process/resolve the link, but link resolution didn’t provide results (i.e. the linked Component is ...
user avatar
3 votes

Anchor in component link not showing on Java application (dxa 2.0.3) with dxa model service 2.2.2

In general, CD Linking generates absolute URLs if you define Publication mappings in cd_link_conf.xml. If you prefer server-relative URLs (which is often the case), you should not define any ...
user avatar
3 votes
Accepted

Component Link and Image source are not generating correctly

My issue has been resolved after applying the Hotfix Rollup #1 for SDL Tridion 2013 SP1. Also I got Tridion.ContentManager.Publishing.dll from SDL to replace with the existing dll and also some config ...
user avatar
  • 913
3 votes

Relative URLs with SDL Web 8 Dynamic Linking

In addition to Rick's correct answer... You can indeed use the OverrideDiscoveryService to get relative URLs. The default cd_link_conf.xml in the content, session and preview micro services ...
user avatar
  • 8,826
3 votes

<abbr> tag inside <a> tag with href as internal component link breaks the html

You can specify additional inline elements (such as abbr) to accept in your rich text fields in the following configuration file on the Content Manager server: %TRIDION_HOME%\WebUI\Core\Controls\...
user avatar
2 votes

How to pass page variable in URL string upon click

Tridion does not offer this feature, because it is a content management system, not a web application. You should implement this in the application which consumes the data from Tridion.
user avatar
  • 6,543
2 votes
Accepted

Link Caching not enabled, although configured. Is XPM relevant?

The answer from SDL support about this (R&D), is to disable the object cache in the cd_storage_conf.xml if XPM is enabled. XPM seems to force disabling object cache anyway. When enabled, the ...
user avatar
  • 598
2 votes

Link Caching not enabled, although configured. Is XPM relevant?

Please add the attribute cached="true" to the element. By default the caching is not inherited from the top level (ItemTypes element) and and if cached attribute is not specified it is set to ...
user avatar
2 votes

Link Caching not enabled, although configured. Is XPM relevant?

Essentially, having XPM on a website lowers the amount of caching done of componentlinks. There's nothing you can do about it. This, as far as i know, has always been the case since XPM was introduced....
user avatar
2 votes
Accepted

Linking configuration

If you leave the Publications element completely empty, you will get relative linking, as soon as you add a Publication with a Host element, you will get an absolute link to that. So try this: <...
user avatar
  • 29.6k
2 votes
Accepted

How to handle custom anchors in DWT?

You seem to have covered most of what's needed. The first point I'd make is that the correct approach will be very much governed by your circumstances. So for example, Will's example where he shows ...
user avatar
  • 18.5k
1 vote
Accepted

Why can't I just add text under a link without it becoming part of the previous link?

I'm assuming that "Text" is a Rich Text Format area field. The content of these fields can be modified by a custom XSLT associated with the schema. It's quite likely therefore that your problem is ...
user avatar
  • 18.5k

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