Skip to main content
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 => ...
NIKITA VASHISHT's user avatar
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 ...
ckhanna's user avatar
  • 2,556
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 $...
Vikrant Punwatkar's user avatar
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 '...
Sumit Bhatia's user avatar
  • 5,491
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....
Varalakshmi M D's user avatar
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 ...
Krushna's user avatar
  • 146
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 ...
Raunak Basnet's user avatar
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 ...
Sumit Helaiya's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible