Ejemplo n.º 1
0
        protected virtual string GenerateTemplateTitle(string title, new_flightoccurrence orginalFlightOccurrence)
        {
            var url = GetURLPath(orginalFlightOccurrence.ToEntityReference());

            title = title.Replace("!URL!", url);
            return(title);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
 protected virtual string GenerateTemplateTitle(string title, new_flightoccurrence orginalFlightOccurrence)
 {
     var url = GetURLPath(orginalFlightOccurrence.ToEntityReference());
     title = title.Replace("!URL!", url);
     return title;
 }