Customizing the "Links" box

public void Handle(SendingContentNotification notification)
{
notification.Content.Urls = new[]
{
new UrlInfo($"/products/?id={notification.Content.Id}", true, null)
};
}Last updated
Was this helpful?

public void Handle(SendingContentNotification notification)
{
notification.Content.Urls = new[]
{
new UrlInfo($"/products/?id={notification.Content.Id}", true, null)
};
}Last updated
Was this helpful?
Was this helpful?
public void Handle(SendingContentNotification notification)
{
notification.Content.Urls = new[]
{
new UrlInfo($"https://mysite.com/products/?id={notification.Content.Id}", true, "en-US"),
new UrlInfo($"https://mysite.dk/produkter/?id={notification.Content.Id}", true, "da-DK")
};
}public void Handle(SendingContentNotification notification)
{
notification.Content.Urls = null;
}