I inherited this project and am trying my best to figure out how to output the URL to the page of each event, so the link can be shared on email to friends. I see the url in the SfCMSBaseContent table, but have no idea how to output that to the page, or if it will even work once I get it to.
I hsve also tried an alternative method, trying to do a like search in the events provider on the event's title with dashes to match up with the SfCmsBaseContent table's url, to pull event details to display on my page, but it doesn't find it for some reason.
here is my attempt at grabbing the URL.
public static List<EventItem> SelectEvent(string url)
EventsManager eventsManager = new EventsManager("Events");
List<IMetaSearchInfo> filter = new List<IMetaSearchInfo>();
url = url.Replace("-","_");
filter.Add(new MetaSearchInfo(MetaValueTypes.ShortText, "LoweredUrl", url, SearchCondition.Like, JoinType.And));
IList events = eventsManager.Content.GetContent(0, 1, "Event_Start ASC", ContentStatus.Published, filter.ToArray());
Thanks in advance.