since ‎30-05-2017
‎06-01-2020
Jean-Serge_Biro
MVP
Re: To Read a variable in Delivery activity - Adobe Campaign
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Jaspreet,Thanks to your screenshot, by now I understand that you leverage External postal mail delivery mode, not Email delivery mode, well sorry for my previous post which was written with Email delivery mode in mind.First of all, I think the JS filename calculation is fine, it is not a question of instance type variable, it works fine with standard events type var as well.Here is my workflow:Here is my Javascript activity content to simulate your own one (you need complex calculation so I d...

Views

2.1K

Like

1

Replies

0
Re: replace function
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hello Vendimb,In your use case, because it is URL generated, and there many other special characters not allowed in an URL, you should use this JSAPI function:escapeUrl (value)escapeUrl("Système d'exploitation") // "Syst%E8me%20d'exploitation"So if there are diacritic glyphs in your Lastname or First Name, it will be automatically replaced by using the corresponding HTML entities.For instance for French names, we have é è à ç ù and so forth, but also some ' glyph (in d', L') to encode/replace.Mo...

Views

1.7K

Likes

0

Replies

0
Re: Users with Approver rights can Start/Stop workflow from WEB version of Adobe Campaign
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Vasurevaraog,Can the users modify a workflow ?I think that the write data should be given, for also executing/stopping etc to the given operators group.Otherwise, I can't help more, sorry, I don't see what should be checked elsewhere.Regards.J-Serge

Views

423

Likes

0

Replies

0
Re: Calling Adobe Campaign just to send emails
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Vendib,Eventually you just gave more information as requested so we could help you better:You wrote that "Jenkins job that run weekly". So it means you don't need real-time behavior but batch mode only (the 2nd use case of my post of 1st Sep).So please firstly, evaluate the need to do the task by web calls (SOAP calls), so 12 millions of calls on 1 day of the week, compared to a batch load of html contents on a file server acceded by Adobe Campaign applicative server (either through FTP or sh...

Views

11.6K

Likes

3

Replies

3
Re: Users with Approver rights can Start/Stop workflow from WEB version of Adobe Campaign
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hello Vasu,Besides the named right granted to the operator (through the group), please may you check the workflow folder security tab (properties), in case of for this folder the checkbox would be set to read-only privilege.But yes, Web client should be behave exactly the same as Windows client, you are right. But I have often noticed differences of object management between web client and windows client...One day, Adobe R&D should do better object management on web version, but due to ACS produ...

Views

436

Likes

0

Replies

0
Re: To Read a variable in Delivery activity - Adobe Campaign
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Jaspreet,Sorry, now it is unclear for me what you intend to achieve.Please may you share 2 screenshots: the workflow itself, and the activity "extract tab" where you try to put your personalisation code.Because your fileNameOnly variable is constituted with a .csv extension, I guess it is in a Extract file activity in which you want to export something, probably the Delivery logs?(in that case take care to wait for a few days for completing the delivery before leveraging the broadlogs.)But th...

Views

2.1K

Likes

0

Replies

0
Re: To Read a variable in Delivery activity - Adobe Campaign
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Jaspreet,Please may you check if there is an extra white space in your codebetween % and = glyphs, or only in your ticket post?I read:<% = vars.fileName %>(extra blank)instead of:<%= vars.fileName %>(correct syntax).If this was not due to mistype that I guess, please may you share a screenshot for Delivery scripting?By the way, why do you define a variable vars.fileName, why don't use the standards event variable vars.filename (with N uppercase)?Regards.J-Serge

Views

2.2K

Likes

0

Replies

0
Re: Getting different time from Database in neolane.
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Nidhi,Yes, it is really tricky, and all people struggle with that kind of issue, not only in Adobe Campaign area, but all IT areas.In AC Javascript activity, please note that if you user new date() you get the applicative server hour/timezone for workflows but for webApp the webServer is not usually the same as applicative server (often it is located on the MTA server). And when you use GetDate() the hour/timezone returned comes from the database server itself (the database instance actually,...

Views

1.1K

Likes

0

Replies

0
Re: An error (-56 code) has occurred. Your rights do not enable you to view its details.
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Guillermo,May you run your webApp inside Adobe Client preview, with debug mode? Are the errors displayed?To my mind, it could be due to security zones setting, depending on security zones defined in your serverConf.xml you can allow or not displaying errors details, I think.One more think: since 8795 build, webApp operator account is not admin anymore, but webApp group privileges; but I don't know if it can explain your issue.https://docs.campaign.adobe.com/doc/AC/en/RN.html Regards.J-Serge

Views

1.1K

Likes

0

Replies

0
Re: Is it possible to create an operator via WebApp or API
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi David,I do think that you should use rather session methods Encrypt or EncryptServerPassword, because if it is not MD5 but AES (DES is deprecated) or SHA256 or 512 used you wouldn't have to know what encryption algorithm is used (and MD5 and AES are far less better than SHA2 (SHA256/SHA512).RegardsJ-Serge

Views

3.4K

Likes

2

Replies

1
Re: Is it possible to create an operator via WebApp or API
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi David,I guess your Adobe Campaign is classic version 6.1, not ACS, and I wonder if you are in On Premise mode or Cloud hosting.If your external application is somewhat a standard authentication mechanism such as Active Directory or OpenLDAP, you should think about using the Adobe Campaign LDAP optional module (see your contract or Adobe contact about this).https://docs.campaign.adobe.com/doc/AC/en/INS_Additional_configurations_Instance_configurations.html You can use MD5 crypt algorithm or pl...

Views

3.4K

Likes

2

Replies

0
Re: Input form ref meaning
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Nidhi,For instance, in nms:deliveryDet form definition, you can find this reference used:ref="nms:delivery:lib/summary"It follows the XPATH syntax after the space name:form name.and so, you can find the XML code definition in the nms:delivery form definition:which is defined for: In your case you should find a "file" / line in Input form list adi:delivery, and look for delivery container definition.Hope this helps.Regards.J-Serge

Views

612

Like

1

Replies

0
Re: Extension of input form into another input form in Neolane
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Nidhiv,Sorry, but I am not sure to have been correctly understood....You must directly modify the nms:delivery or nms:deliveryDet (and possibly the nms:de forms themselves, there are no extensions for forms as it is the case for schemas.So edit these codes below, directly but do some backups (copy/paste as text files, or better, export them as xml packages).RegardsJ-Serge

Views

6.4K

Like

1

Replies

0
Re: How to save the SUBJECT of an EMAIL DELIVERY with an Update Data activity
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi,It seems the copy / paste in html raw element is not well taken into account, so hereinafter as normal text:// XML field not allowed in queryDef as where or node criteria// so this is not allowed:// //var filterInternalName = "[@internalName] = '" + "DM3717" + "'";var filterInternalName = "1 = 1";//var filterDate = "@contactDate >= '" + PUT YOUR NEED CRITERIAfilterDate = "1 = 1";// lineCount="5" if not enough restricting where clause, enough lines to test var query = xtk.queryDef.create( ...

Views

1.1K

Likes

2

Replies

0
Re: How to save the SUBJECT of an EMAIL DELIVERY with an Update Data activity
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Buen giorno salvdangelo,Yes, it is well-known flaw of Adobe Campaing, the XML storage fields are not usable as filters criteria or output column, in all the Target tab of workflow activities (such Query, Update Data, Enrichment, Edit Schema, etc).It is not possible to use it in a queryDef (where or node clause) in Javascript activity as well.So, as far as I know, the only solution is to do it with Javascript activity, with a queryDef delivery.@id then load the delivery object with a static metho...

Views

1.1K

Likes

0

Replies

0
Re: Text version not showing line breaks
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Jonas,Happy to know that the wrong behaviour was due to attribute instead of element use, even though quite weird, it is useful to know it.And for customer requirement change, in France we say "Customer is king" By the way, please may you close this ticket? Many thanks in advance.Best Regards.Jean-Serge

Views

824

Likes

0

Replies

0
Re: Scheduling: Delivery level [Urgent]
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
In that case or recurrent delivery (or in case of continuous delivery as well), to my mind the only solution is to use a workflow.So, it is easier to use the Schedule activity inside the workflow to define your frequency/timetable. But if complex rule must be set that can't be defined by the Schedule activity, use Javascript activity to code your specific timetable rule.And if it is not possible to achieve it programmaticallly in the workflow itself, due to external planification made elsewhere,...

Views

1.1K

Likes

0

Replies

0
Re: Scheduling: Delivery level [Urgent]
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi SunouCloud,In your delivery, you can select Planification button to execute the delivery at a choosen date (the contact date):Regards.Jean-Serge

Views

882

Likes

0

Replies

0
Re: Extension of input form into another input form in Neolane
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Nidhi,Using carefully the Conflict Management node after your postugrade, you should never loose your customisations.Schemas extensions of factory schemas are done for this, by nature.Factory forms changes are done in unique files, so can be owerwriten if you accept the new version in the Conflict management. Otherwise you may manage your customisation either by keeping the current version or by merging the new an current version by your own.One more thing, it is a good practice to comment in...

Views

6.4K

Likes

0

Replies

2
Re: Calling Adobe Campaign just to send emails
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Vendimb,So many cases that it is a bit difficult to give you correct advices and exemples codes depend on choices made.Perhaps do you need some help from Adobe Campaign consultant team or AC integrator companies.But let's try to sum up the different cases.True real-time neededYour source application and/or recommandation engine calls in real-time a Web Service (Adobe Campaign SOAP Call) for every message to an user, it means 1 SOAP call "sends" 1 message delivery to this contact.So the WS res...

Views

11.6K

Likes

2

Replies

5
Re: Getting different time from Database in neolane.
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi nidhiv,Please may you share more details? Your Javascript code: do you use GetDate, or date through queryDef, etc.The data type of the date field in your XML schema and in your DBThe timezone of your server is it the same than your DB server.Date time management is tricky, I must admit.Is there someone else that can give some ideas/advices?RegardsJ-Serge

Views

1.2K

Likes

0

Replies

0
Re: Text version not showing line breaks
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Jonas,Sorry, I was wrong in my previous post.First of all, because you need to keep xml="true" to get mData type, in case of your raw text exceeds the DB varchar size limitation (4000 or 8000 characters usually depending on the DB) so it is better to keep NTEXT /CLOB DB type to store the raw text as for html.So keep the attribute declaration as is:In AC documentation I read only "memo" or "html" values for an element or attribute declaration of type xml.But to my mind, I think you should keep...

Views

830

Likes

0

Replies

0
Re: Insert month, based on dat field, into E-Mail
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Roberts,Alternative way to mention, please see the standard Adobe Campaign JSAPI function formatDate().It is recommended over standard Javascript function, it eases date manipulation, especially timezone management, locale language and default format or specific format.Examples: ctx.vars.datetime_day = formatDate(getCurrentDate(),"%4Y-%2M-%2D %02H:%02N:%02S")in your case, the format to use is:"%Bl %4Y"So in case of English language, it generates "September 2018", but in case of French, it gen...

Views

510

Likes

0

Replies

0
Re: Text version not showing line breaks
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hello Jonas,Please may you test by changing the xml type attribute:In your case, the memo field should contain raw text type.Because XML management rule is to not take into account several spaces, line breaks etc. It is up to the XSLT engine to render it/display it with line break, indentation, etc, depending on the XSLT style sheet defined.By the way, one suggestion: why don't you generate the text version when empty by using the nms:delivery.HtmlToText(htmlContent) method instead of putting "N...

Views

821

Likes

0

Replies

0
Re: How to zip .csv file over SFTP or in Export Activity
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Ketang,Regarding the Javascript size limitation of Amit's solution (although powerful in many cases), perhaps you can raise the MAX memory of Javascript parameter in serverConf.xml or instance conf.xml.But, to have no limitations at all and have much more options to do all compression tasks, what I used to do for my own cases is to use 7zip tool (free tool) installed on the server, and because my Adobe Campaign servers are under Windows it is more common to use such tools rather gzip. Windows...

Views

3.8K

Like

1

Replies

0
Re: Need to customize delivery form
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hello Nidhiv,It seems that this ticket is a bit correlated to your previous one:Extension of input form into another input form in NeolaneAs said in the other ticket, there are extensions for schemas but not for forms, so you must modify the factory form for a schema extended as for factory schema.Moreover, during a postupgrade operation (upgrading towards a new build), the postupgrade log file(s) (one per instance) warn(s) about the discrepancies between the current version and new version of a...

Views

700

Likes

0

Replies

0
Re: Getting different time from Database in neolane.
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Nidhi,What function do you use in your Delivery?In order to manage easily dates related to different timezones for readers being in different countries, you should use the Adobe Campaign Javascript API function formatDate(date, format, timezone) (where timezone is optional parameter), rather pure JavaScript functions (date.toString() etc).For instance, in your object field:<%= formatDate(recipient.tsBirth, "%2D %2Bl %2H") %>See your JSAPI documentation for the different format options.Regards...

Views

1.2K

Likes

0

Replies

0
Re: Extension of input form into another input form in Neolane
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Nidhi,This time, I am not sure to fully understand, sorry.If you want to add new fields in the Delivery schema, so it is through a schema extension, indeed. (And apply the Admin Update DB structure, in order to create the corresponding columns/indexes).Afterwards, you can customise the factory delivery forms (nms:delivery, nms:deliveryDet, nms:newDelivery or others depending your need).If you need only to customize forms without adding new fields, only modify the factory delivery forms.In adv...

Views

6.4K

Likes

0

Replies

4
Re: Deliveries in Linux server
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hello Priyankah,Please might you give more details?Do your customer cope with this issue with a specific browser on their Linux machines?Do they test with Windows machines in the same network and is it fine?Blank page is usually an issue related to network access denied, so either firewall or Adobe Campaign security zones.As for network details, ask your customer to do a telnet connection to the AC MTA server (port 80) to check physical firewalls, and ask them to do http:///r/testRegardsJean-Ser...

Views

434

Like

1

Replies

1
Re: Extension of input form into another input form in Neolane
Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
- Adobe Campaign Standard
Hi Nidhiv,During a product upgrade (version, build) the postupgrade task executed for all your instances displays the discrepency between factory forms and customized forms. So in the Conflict management node, you can manage to keep the current customized version or adapt it manually to take into account the default factory updates brought by the new version/build.RegardsJ-Serge

Views

6.4K

Likes

0

Replies

6