Per Nergård
May 29, 2010
  5265
(0 votes)

Custom Page reference property

The other day I had the pleasure of debugging some code which forced me to change value to a lot of page reference property in edit mode.

I’ve always thought that it’s an unnecessary step to click the “…” button to in my experience often just click the “this page” or “no reference” buttons.

So I’ve made a custom version of this property which adds two buttons for “this page” and “no reference” below the default rendering to get quick access to the two most used options.

The result look like this:

CustomPageReference

You can get the code here:

CustomPageReference code

Id did it in CMS 6 but it should work in CMS 5 as well.

May 29, 2010

Comments

Sep 21, 2010 10:33 AM

Neet, thanks for sharing!
/ Marcus Lindblom

Please login to comment.
Latest blogs
Caching & Rendering of metadata from the DAM

For the EPiServer.Cms.WelcomeIntegration.UI 1.2.0 release, we have facilitated the ability to cache and render metadata from assets within the DAM....

Matthew Slim | Jun 2, 2023

Conversion Rate Optimization: Maximizing ROI through Data-Driven Decisions

In today's digital landscape, businesses are constantly looking for ways to improve their online presence and drive more conversions. One effective...

JessWade | Jun 1, 2023

Enhance Your Writing with Suggestions

Are you tired of staring at a blank screen, struggling to find the right words? The Epicweb.Optimizely.AIAssistant Addon is here to revolutionize...

Luc Gosso (MVP) | May 31, 2023 | Syndicated blog

Content Graph - Letting GraphQL do all the hard work for you

Background As we have seen before, setting up Content Graph on the CMS side is pretty easy. However, when it comes to the “head” part of the setup,...

Kunal Shetye | May 26, 2023 | Syndicated blog