U4-6497 - Allow Suffix on Related Links

Created by Nicholas Westby 04 Apr 2015, 23:43:23 Updated by Shannon Deminick 26 Jun 2017, 07:11:21

Relates to: U4-6498

Relates to: U4-6500

Relates to: U4-6501

Sometimes, I want to link to a page, and add a query string or fragment identifier. For example:

  • /about-us?source=menu
  • /about-us#john-doe

Here is what it looks like when I try to do that with a property of type Related Links: !about-us.png!

I was able to choose the About Us page, but I was unable to add a suffix. The only way I can add a suffix is if I add an external link rather than pick a node: !external.png!

The downside to doing that is that if the About Us page is renamed or moved, my link will become invalid. The solution would be to allow a suffix.

What I did in the past was create a "Composite Links" data type that was an implementation of Related Links with the ability to add a suffix. What I do now is have an Archetype that allows me to create 3 different types of links (Content Link, Media Link, External Link). For content link and media link, I have a field in Archetype that allows for a suffix. Something I have tried and don't advise is creating a special document type to be created under any page and then creating a URL provider that uses that doctype to create a suffix (that isn't very intuitive, is too disconnected, and confuses users).

What I'd rather do is use a built-in data type for this very common bit of functionality. I can create a pull request if there is interest.

2 Attachments


Shannon Deminick 26 Jun 2017, 07:11:22

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/

Priority: Normal

Type: Feature (request)

State: Closed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.4

Due in version:


Story Points: