Here's the situation. I have a simple module called "Jobs" with a
content type "Current Openings". Within the site there is a listing page
at http://domain.com/current-positions/ that lists all current job openings. The titles of the listings link to the detail page for each such as http://domain.com/current-positions/programmer-developer/.
I am building an alert service that automates sending daily alerts to subscribers with an email containing any new openings. This setup uses the Campaign, Subscribers, MessageBody and creates a new campaign issue for distribution and sends it through.
My problem is simple, I am creating the email MessageBody dynamically using the records I want.
var recentCareers = CurrentOpenings().Where(b => b.GetValue<
)).OrderByDescending(x => x.GetValue<DateTime?>(
(recentCareers.Count() > 0) recentOpenings =
(opening.Status == ContentLifecycleStatus.Live)
+ opening.SystemUrl +
recentOpenings += opening.GetValue(
The problem I have is that no matter which way I come at building the URL I cannot get the full url to the page.
I've even tried hacking around it and using the page segment to rebuild the URL and in the sent email it always strips out the URL segment "current-positions".
Am I missing something?