2
votes
Using Dictionary Tokens on Internal Link Query Parameters or Anchor Tags
If you’re using GlassMapper, you can do something similar with query parameters by using GlassHtml and Translate.Text() to inject dynamic values into links:
var link = glassHtml.Editable(item, x => ...
2
votes
Accepted
Using Dictionary Tokens on Internal Link Query Parameters or Anchor Tags
In order to replace the anchor tag on the links with the state name gathered from Sitecore Geolocation service, you will need to extend the processor inside the renderField pipeline as below.
Create ...
2
votes
Accepted
How can I check all internal link target values from the entire content tree using Sitecore PowerShell?
You need additional check for Internal links in other answers, Here is your final script -
# Get Home items
$root = Get-Item -Path "master:/sitecore/content/Home"
# Get its descendents
$...
1
vote
How can I check all internal link target values from the entire content tree using Sitecore PowerShell?
You can do this by creating a recursive loop on the home item. Here is the code you can use and update as per your needs.
# Get all the items recursively under home
$allItems = Get-ChildItem -Path '...
1
vote
How can I check all internal link target values from the entire content tree using Sitecore PowerShell?
#Give the path of the Parent item below:
$items = Get-ChildItem -Path "master:/sitecore/content/Home" -Recurse
foreach($item in $items){
foreach($field in $item.Fields){
if($field....
1
vote
How to remove noreferrer from sitecore jss <Link>
In sitecore JSS,
the "rel=noreferrer" mainly used for security reason and it is automatically added to links that open in a new tab.
"target=_blank" case.
It is mainly use to ...
1
vote
How to remove noreferrer from sitecore jss <Link>
https://doc.sitecore.com/xp/en/developers/hd/latest/sitecore-headless-development/jss-components-for-rendering-sitecore-fields-in-next-js-applications.html#usage-3
Looks that below usage will solve ...
1
vote
Urls in CanonicalUrl Rendering Showing Http Instead of Https
Canonical URL is a part of Metadata Snippet Layout.cshtml
The metadata partial design is different from the regular partial design because it uses a metadata layout (Layouts/Foundation/Experience ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
links × 81link-manager × 13
sxa × 8
media-library × 8
glass-mapper × 7
richtext-editor × 7
sitecore-client × 5
content-editor × 4
presentation × 4
mvc × 4
experience-editor × 3
multilingual × 3
multisite × 3
fieldtype × 3
redirect × 3
powershell-extensions × 2
sitecore-api × 2
templates × 2
javascript × 2
link-database × 2
seo × 2
field × 2
jss × 1
wffm × 1
configuration × 1