Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
using EPiServer.Cms.Shell.Json.Internal;
...
[JsonProperty]
[JsonConverter(typeof(UrlConverter))]
[Display(Name = "Link", Order = 2)]
public virtual Url LinkTo{ get; set; }
Probably has to do with json serialization which differs between frontend and backend. Try adding the above to get the same...
Am quite new to EpiSever so bare with me.
I have two classes like this:
I've then created a block:
The above code creates a way to add a Link-Item but in EpiServer Editor when I add LinkTo and Image in Editor Mode and do publish the LinkTo-property disappears and I can't figure out why?
Need help?