I have very long email subject lines already defined for Emails in Exact Target. When I try to extract the subject line using Exact Target WebService API, it is getting truncated. I am not able to extract the full subject line. Basically the subject lines are AMP scripts. e.g. One of my subject line is
%%[If LocaleId == "el" then]%% some el string Windows Azure Active Directory %%[elseIf LocaleId == "vi" then]%% some vi string Windows Azure Active Directory %%[elseIf LocaleId == "ca" then]%% Windows Azure Active Directory %%[elseIf LocaleId == "it" then]%% Windows Azure Active Directory %%[elseIf LocaleId == "eu" then]%% Windows Azure Active Directory zerbitzura %%[elseIf LocaleId == "cs" then]%% cs string Windows Azure Active Directory %%[elseIf LocaleId == "et" then]%% Tere tulemast teenusesse Windows Azure Active Directory %%[elseIf LocaleId == "gl" then]%% Benvido(a) Windows Azure Active Directory %%[elseIf LocaleId == "id" then]%% Selamat Datang di Direktori Aktif Windows Azure %%[elseIf LocaleId == "es" then]%% Windows Azure Active Directory %%[elseIf LocaleId == "no" then]%% Welkom bij Windows Azure Active Directory %%[elseIf LocaleId == "tr" then]%% Windows Azure Active Directory'ye Hoş Geldiniz %%[elseIf LocaleId == "lv" then]%% Laipni lūdzam pakalpojumā Windows Azure Active Directory %%[elseIf LocaleId == "lt" then]%% lt string Windows Azure Active Directory“ %%[elseIf LocaleId == "ro" then]%% Bun venit la Windows Azure Active Directory %%[elseIf LocaleId == "pl" then]%% pl string Active Directory systemu Windows Azure %%[elseIf LocaleId == "fr" then]%% Bienvenue dans Windows Azure Active Directory %%[elseIf LocaleId == "ms" then]%% Selamat datang ke Windows Azure Active Directory %%[elseIf LocaleId == "hr" then]%% Dobro došli na uslugu Windows Azure Active Directory %%[elseIf LocaleId == "de" then]%% Willkommen bei Windows Azure Active Directory %%[elseIf LocaleId == "da" then]%% Velkommen til Windows Azure Active Directory %%[elseIf LocaleId == "hi" then]%% Windows Azure Active Directory hindi %%[elseIf LocaleId == "fi" then]%% Tervetuloa Windows Azure Active %%[elseIf LocaleId == "kk" then]%% Windows Azure Active Directory %%[elseIf LocaleId == "ko" then]%% Windows Azure Active Directory 시작 %%[elseIf LocaleId == "sv" then]%% Välkommen till Windows Azure Active Directory %%[elseIf LocaleId == "sk" then]%% Vitajte v službe Windows Azure Active Directory %%[elseIf LocaleId == "pt-pt" then]%% Bem-vindo ao Windows Azure Active Directory %%[elseIf LocaleId == "uk" then]%% uk string Windows Azure Active Directory %%[elseIf LocaleId == "sl" then]%% Dobrodošli v Windows Azure Active Directory %%[elseIf LocaleId == "pt-br" then]%% Bem vindo(a) ao Windows Azure Active Directory %%[else]%% Welcome to Windows Azure Active Directory %%[endif]%%
I am using the following code:
String requestID; String status; APIObject[] results; RetrieveRequest rr = new RetrieveRequest{ ObjectType = "Email", Properties = new string[] { "Name", "ID", "Subject" } }; SimpleFilterPart sfp = new SimpleFilterPart{ Property = "Name", SimpleOperator = SimpleOperators.equals, Value = "ActivationEmail" }; rr.Filter = sfp; soapClient.Retrieve(rr, out requestID, out results); foreach (Email e in results) { Console.WriteLine(e.Name + " " + e.ID + " " + e.Subject); }
With the above code, I get the partial subject line as:
%%[If LocaleId == "el" then]%% some el string Windows Azure Active Directory %%[elseIf LocaleId == "vi" then]%% some vi string Windows Azure Active Directory %%[elseIf Loc
What should I do to retrieve the full subject line via ?