Hello, in the newer SF's, we can link internal pages as a link using the 'Insert a link' function from the radEditor. The thing missing is the ability to add an anchor (or even a query) to a link.
The work around is to pick 'web address' and type in the url manually and add the anchor. Problem with that is the link will break if the page changes or moved.
Is there a way to provide an anchor to an internal link?
Thank you for contacting us.
In response to your concern - the scenario where the page is changed or moved won't break the link. The links are generated by Page's unique Id, and not by its name and the link will remain relevant, no matter if you move or rename the page. Only in the scenario where the page is deleted will lead to breaking the link.
Please explain to us further how you are planning to use the anchor links with internal links and what is the scenario that you are in right now - in order to provide you with better solution?
Hope this will help you.
The scenario is
1) edit page
2) insert link
3) select a page from the site
4) (desired but non-existent functionality) enter an anchor for the URL. Could be a textbox with a label 'anchor' or could even be a textbox with a label 'url suffix' so we can add any sort of url info.
The only way I can put an anchor on a url (in a link) is to manually enter in the whole url. Which is ok...ish. But I'd like to be able to put in anchors on the page selector and not just the page url (better for the users)
Or QueryString, e.g.,:
Pick an internal page, and it records by GUID so URL/Name change doesn't matter BUT also you can put a querystring e.g., ?filterBy=Puppies
And SF will build this all up for you and render
I can't speak for Richard, but I was just wanting a modification to the Page Selector. When you choose "Page from this site", there should also be a free text field there where you can manually type any anchor link or query string.