I am getting the following error after adding above(I tried the before your comment but just for you and checked again)
Compiler Error Message: CS0246: The type or namespace name 'RelatedLinks' could not be found (are you missing a using directive or an assembly reference?)
I have added the below as well and any other needs to added?
@using Umbraco.Web.Models
I have only one value for RelatedLinks to render, is that required for foreach statement or could be done with other
Deserializing @Umbraco.Field
Hello,
I have Json value rendered from @Umbraco.Field and I want it to display one property among them.
@Umbraco.Field("propertyName").link is right way? Suggestions please
Hi Ajju
Are you talking about Related Links property editor?
Then use this code
https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Related-Links2#mvc-view-example-value-converters-enabled
Thanks Alex for your reply..
I am getting the following error after adding above(I tried the before your comment but just for you and checked again)
I have added the below as well and any other needs to added?
I have only one value for RelatedLinks to render, is that required for foreach statement or could be done with other
Please advice where I am doing wrong
Hi Ajju
If you are using not latest Umbraco version, try this code:
Hi Ajju
Did you solve the issue? Is this topic solved?
Alex
is working on a reply...