Пример #1
0
        protected virtual string GenerateTemplateTitle(string title, new_flightoccurrence orginalFlightOccurrence)
        {
            var url = GetURLPath(orginalFlightOccurrence.ToEntityReference());

            title = title.Replace("!URL!", url);
            return(title);
        }
Пример #2
0
        protected virtual string GenerateTemplateBody(string body, new_flightoccurrence orginalFlightOccurrence)
        {
            var urlCrm = GetURLPath(orginalFlightOccurrence.ToEntityReference());
            var eurl   = urlCrm;//HttpUtility.UrlEncode(urlCrm);
            var url    = "<a href='" + eurl + "' target='_blank'>flight</a>";

            body = body.Replace("!URL!", url);
            return(body);
        }
Пример #3
0
 protected virtual string GenerateTemplateBody(string body, new_flightoccurrence orginalFlightOccurrence)
 {
     var urlCrm = GetURLPath(orginalFlightOccurrence.ToEntityReference());
     var eurl = urlCrm;//HttpUtility.UrlEncode(urlCrm);
     var url = "<a href='" + eurl + "' target='_blank'>flight</a>";
     body = body.Replace("!URL!", url);
     return body;
 }
Пример #4
0
 protected virtual string GenerateTemplateTitle(string title, new_flightoccurrence orginalFlightOccurrence)
 {
     var url = GetURLPath(orginalFlightOccurrence.ToEntityReference());
     title = title.Replace("!URL!", url);
     return title;
 }