Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Can I use shortcut as a property in a block


Page has an property called shortcut.
Can I also use this property in the block?
It jump to another page when I click on the block, 
Now PageReference cannot meet all needs, because it can only jump to internal pages.

Sep 16, 2020 8:27

You can use LinkItem:

Or Url property

public virtual Url Link { get; set; }
Sep 16, 2020 8:44
Chen Nan - Sep 16, 2020 9:42
Thanks Tomas,I also want to ask, is ‘LinkItemProperty‘ a new property added by CMS 11?
Tomas Hensrud Gulla - Sep 16, 2020 9:45
It's not included in the core product yet, but available as a nuget package:

It requries CMS 11.
Chen Nan - Sep 16, 2020 10:06
Thanks again for your help.
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.