How to get the "internal" property from a Related Links property?
Hey.
I'm using a Related Links property in my document type.
For each related link that is an internal link, there is a property "internal" which contains the internal Id for the link.
However, I cannot get the value of that property, seemingly because "internal" is also a C# keyword...
Any ideas on how I can get that value?
Code example (error):
@foreach( var rs in relatedSubjects )
{
var node = Umbraco.TypedContent( rs.internal );
<li><a href="#">@( FBD.Tools.GetNodeTitle( node ) )</a></li>
}
How to get the "internal" property from a Related Links property?
Hey.
I'm using a Related Links property in my document type. For each related link that is an internal link, there is a property "internal" which contains the internal Id for the link.
However, I cannot get the value of that property, seemingly because "internal" is also a C# keyword...
Any ideas on how I can get that value?
Code example (error):
Thank you. Kris.
Okay, I found it :-)
This works:
Kind regards. K.
is working on a reply...