I am looking to do something similar to the Insert Sitecore Link
as I can with, for example, Image
fields in which I can add a Source
in order to limit from what directories an Image can be picked from. I want to be able to limit what items the content editor can link to as it currently shows the whole Sitecore database when Insert Sitecore Link
is clicked.
Asked
Active
Viewed 149 times
3

Moo
- 3,369
- 4
- 22
- 41
-
Are talking about a Link field (DropLink, InternalLink etc...) or the `Insert Sitecore Link` button in the Rich Text Editor? – Richard Seal Nov 09 '15 at 14:11
-
@RichardSeal in the Rich Text Editor I think, according to the title. – Kevin Brechbühl Nov 09 '15 at 21:00
-
@RichardSeal In the RTE. – Moo Nov 10 '15 at 00:08
1 Answers
0
The way I'd probably go about doing this would be to create a custom button for the RTE toolbar and implement your own insert sitecore link functionality (possibly based on the existing functionality).
See https://markstiles.net/Blog/2011/02/05/adding-button-to-rich-text-editor.aspx for a quick primer on how to achieve this.

Chris Wyatt
- 142
- 8