since ‎02-03-2017
Online
yetanother_andrey
Level 2
Re: Upload a file to xtk:fileRes via SOAP or other HTTP r... yetanother_andrey - Adobe Campaign Classic
Yes, console does this. But this does not work as expected outside the console. Console does this after PostUpload: <__sessiontoken xsi:type='xsd:string'> I've added similar call to my python script: last_fileRes_update_payload = f""" <__sessiontoken xsi:type='xsd:string'> """ last_fileRes_update_headers = { 'Content-Type': 'application/soap+xml', 'action': 'xtk:persist#Write', 'SOAPAction': 'xtk:persist#Write' } last_fileRes_update_response = session.post(f"{ac_url}/nl/j...
16
Views
0
Likes
0
Comments
Re: Upload a file to xtk:fileRes via SOAP or other HTTP r... yetanother_andrey - Adobe Campaign Classic
Nope
41
Views
0
Likes
0
Comments
Re: Upload a file to xtk:fileRes via SOAP or other HTTP r... yetanother_andrey - Adobe Campaign Classic
This does not work, or I'm missing something. Below is my code in python. import hashlib import requests # session = requests session, with applied authentication (X-Security-Token header and cookie) ac_url = '' # ac base url https://hostname.domain # prepare file file_name = 'some_ext_logo.png' file_contents = None file_md5 = None with open(file_name, 'rb') as fp: file_contents = fp.read() file_md5 = hashlib.md5(file_contents).hexdigest() # create xtk:fileRes create_fileRes_payload = f""" <_...
56
Views
0
Likes
0
Comments
Upload a file to xtk:fileRes via SOAP or other HTTP request? yetanother_andrey - Adobe Campaign Classic
Here is the deal: we don't have anything in ACC for any kind of DevOps or CI/CD stuff. But we have a possibility to do SOAP calls and several other JSP endpoints are accessible also. Frankly better than nothing. But! There is one task which seem to be impossible to have automated without injecting custom schema and JS library: upload a file to the instance and link it to the xtk:fileRes resource.What I've discovered so far: 1. What Client console does?One can use traceviewer to see which calls C...
189
Views
2
Likes
6
Answers and Comments
Re: Javascript code of https request for client certificate authentication. yetanother_andrey - Adobe Campaign Classic
We had similar question in the past and actually finished with using Basic HTTP authentication instead of based on client certificates.It is totally unclear how to utilize custom certificate for TLS handshake from AC JavaScript code.
14690
Views
0
Likes
0
Replies
Re: Open external browser from Client Console? yetanother_andrey - Adobe Campaign Classic
Hi Jean-Serge,Yes, I know about these options. They all are a bit tricky when we want to send operator from xtk:form to internal webserver with domain authentication and all this stuff.ACC console can open URLs in external browser - this is working in Help - About menu item. So I'm wondering is this possible to use this in xtk:form entities...
1446
Views
0
Likes
0
Answers
Open external browser from Client Console? yetanother_andrey - Adobe Campaign Classic
We have our own form (xtk:form) for one feature. On this form we'd like to allow operator to click on something and open a calculated externarl URL in default windows broser, or at least in IE.I know it is possible to open IE window without control bars from nmw:webApp, and probably from JSSP Dashboard. But could it be possible from xtk:form?Will appreciate any advice on this!
3768
Views
2
Likes
3
Answers and Comments
Re: xtk:form: use linkList without having a link in a schema? yetanother_andrey - Adobe Campaign Classic
Looks like what I need, thanks!
1321
Views
0
Likes
0
Answers
xtk:form: use linkList without having a link in a schema? yetanother_andrey - Adobe Campaign Classic
I have a schema of an Object, let's call it cus:object. User can create an Object instance or modify existing one selected in folder using the Form cus:object.There is also another schema - cus:provider - where the data of Providers (external systems) are stored.Object and Provider has no logical links - they are not using each other in real world.So cus:object and cus:provider don't have a link () to each other also.Provider is a piece of information obtained from a CSV file importing to AC on ...
1463
Views
0
Likes
2
Answers and Comments
Re: Allow existing admin / user deletion without stopping the associated running workflows yetanother_andrey - Adobe Campaign Classic
Could this work (hadn't tested yet): SetLogin ?
4572
Views
0
Likes
0
Comments
Re: Adobe Campaign Classic - Sequences Exhaustion yetanother_andrey - Adobe Campaign Classic
Hi Ananya,Would you mind to send presented material to my email, please?Thanks,Andrey
12741
Views
0
Likes
0
Replies
Re: Creating and configuring new folder hierarchies quickly yetanother_andrey - Adobe Campaign Classic
You could probably try exporting your folder structure in a package and manipulate it's XML contents, then import new structure. At least, everything you see in Console is actually an XML. For example, Lists folder with some rights on it is described as follow:
4184
Views
2
Likes
0
Replies
Re: Calculate new Recipient field and use it into Deliveries yetanother_andrey - Adobe Campaign Standard
Hi Jean-Serge Biron I don't have access to my Adobe Campaign or JSAPI doc right now - may I kindly ask you to check whether it is possible to use HMAC and CBC with pkcs padding?Thanks a lot!Andrey
1099
Views
0
Likes
0
Answers
Re: How to setup links integrity? yetanother_andrey - Adobe Campaign Classic
Hi Adhiyan,Nope. when deleting li:consentLog li:trialRegistrationConsent is still not deleting.
1225
Views
0
Likes
0
Answers
How to setup links integrity? yetanother_andrey - Adobe Campaign Classic
I have these 2 schemas: What I want from them is the following: If someone (Workflow, User manually, any JS code) will delete item from li:consentLog I want corresponding item to be deleted from li:trialRegistrationConsent.This doc (https://docs.campaign.adobe.com/doc/AC/en/CFG_Schema_Reference_Database_mapping.html#Links-_relation_between_tables ) says I need revIntegrity to be "own". But it doesn't work or I don't understand the doc. Help pls.
2118
Views
0
Likes
3
Answers and Comments
Calculate new Recipient field and use it into Deliveries yetanother_andrey - Adobe Campaign Standard
Couple of days ago users came to me and asked if I could help them with an interesting case. Days passed, and I still don't have any idea. I need Adobe Campaign to allow users to insert Tokens into personalized links inside Deliveries (emails for now). Token is a value generated by JavaScript code developed in our company, this code requires our internal Id of the customer as an input, and this id is already stored into our Adobe Campaign DB.By the way, part of this code implements AES encryptio...
1753
Views
0
Likes
4
Answers and Comments
Merge Recipients and delete orphanded yetanother_andrey - Adobe Campaign Classic
Here is the case with AC Classic 6.1:I have several custom fields for nms:recipient, and all of them are controlled by external DB. E.g. AC receives CSV file from external system and creates nms:recipient records from this file.At the same time, landing page hosted on AC also creates nms:recipient records.Because of this I have several (usually 2) nms:recipient records with same email, but one of them are not controlled by external DB (doesn't have values in custom fields).What I want is to some...
1147
Views
0
Likes
1
Answers and Comments
Simple curve report? yetanother_andrey - Adobe Campaign Standard
Hi all,I think I've stuck... Current idea: as my AC6.1 has external data sources and every day some data is changing + users creating and sending campaigns, I want to build a set of reports representing values for a set of indicators (e.g. number of Recipients, number of custom entities, etc) by date.So, I've spent couple of hours to understand AC reporting (seems like with no luck at all... SSRS, I love you!) and now need your help and advises. Let's pretend I have the following data:Date,Num1,...
661
Views
0
Likes
1
Answers and Comments
Re: GDPR - Adobe Campaign compliance and tools yetanother_andrey - Adobe Campaign Standard
Hello florentlb​,Any updates on GDPR within AC?Thanks,A.
7953
Views
0
Likes
11
Replies
Best practices on restriction operators access to recipients yetanother_andrey - Adobe Campaign Standard
Hi all,Can you please share how you're managing access rights for your operators? In our case we have millions of recipients divided by groups and groups of operators who should be able to target one or many groups of recipients.I see only 2 ways to deal with it:1. Give every operator and recipient some property, like groupId, and then add sysFilter to nms:recipient so every time operator will Query recipients, he should access only those which groupId matched with his groupId.2. Store recipient...
762
Views
0
Likes
1
Answers and Comments
Re: AC6.1/7 JavaScript engine: what it is, what is can do? yetanother_andrey - Adobe Campaign Standard
Yep, it's sometimes complicated to see what data is transferred between Workflow activities.NL.toDebugString() can show you the XML context being outputed from some activities (this is really useful to catch records rejected by 'Update data').The other thing I've discovered is a way to look into temporary SQL tables (these wkf_id_number ones) which are created by Query-base activities (like Enrichment, Splits ets). This code: var tableName = application.getSchema(vars.targetSchema).root.SQLTable...
1046
Views
3
Likes
0
Answers
Re: AC6.1/7 JavaScript engine: what it is, what is can do? yetanother_andrey - Adobe Campaign Standard
Hi Jean-Serge,This is pretty interesting: SOAP calls are async, but general HttpClientRequest - not.And thanks for pipelines doc - we'll try it for sure when after updating our instances. NL.toDebugString is defined in xtk:shared/nl.js file and acts like JSON.stringify() with some AC-specific additions.I found it useful to examine data returned by some activities e.g. 'Update data' as with it you can simply dump to log the entire XML structure without accessing its fields (for instance, if you'r...
1028
Views
1
Like
0
Answers
Re: WEB-530011 Error yetanother_andrey - Adobe Campaign Standard
Adobe has a list of errors (as it described) here: https://docs.campaign.adobe.com/doc/AC6.1/en/technicalResources/error_messages/output/error_codes.htmlhttps://docs.campaign.adobe.com/doc/AC6.1/en/technicalResources/error_messages/output/error_codes.html Not sure if that will help, but there is a timeout configured on webserver which might close the connection if nothing was returned by AC. Isn't it the case?
1433
Views
1
Like
0
Answers
AC6.1/7 JavaScript engine: what it is, what is can do? yetanother_andrey - Adobe Campaign Standard
Hi all,So, we're doing some king of development with our AC installation. This "some kind" means: defining our own Forms, calling our own Schema's methods via SOAP on enter and leave and all that stuff.So far so good, but the question came up: is JS engine in AC totally synchronous? As I see now, even HttpClientRequest and I/O (File and Memory Buffer methods) are synchronous and the js-api helpfile we've got from Support isn't describing everything AC has (great stuff like NL.toDebugString is mi...
2141
Views
3
Likes
4
Answers and Comments
Security audit/logs for AC6.1/7 yetanother_andrey - Adobe Campaign Standard
Hi,Unfortunately, AC data model has the only option to show 'who edited this item last' - Last Modified as a link to Operator who modified the item last time.This is not enough because often I hear questions from colleagues like 'who modified workflow/delivery/template/campaign, and _what_ was changed?'For some systems which haven't any security logs we have experience in creating triggers in the database which stores insert/update/delete transactions over particular tables somewhere in external...
1612
Views
0
Likes
2
Answers and Comments
Re: Any Installation Guide for On-Premise? yetanother_andrey - Adobe Campaign Standard
Wow, thanks!So, on all servers I should run thru standard installation process and then switch off modules that I don't need on each particular servers and manually configure access parameters to/from control instance?
954
Views
1
Like
0
Answers
Re: Any Installation Guide for On-Premise? yetanother_andrey - Adobe Campaign Standard
Hi,We're currently using AC hosted by Adobe for almost 2 years and have already done some customizations ourselves. So yes, I can say we've got an idea of how AC works. But now we probably have a reason to build on-premise environment in addition to hosted ones. And what I'm trying to do now is understand technical steps of implementing AC.Today we're using Message Centre and email tracking, so for sure we would need Message Centre and Frontal Servers. What is still unclear for me from public do...
956
Views
0
Likes
0
Answers
Any Installation Guide for On-Premise? yetanother_andrey - Adobe Campaign Standard
Hi,I'm now reading thru AC 6.1 docs to understand how to proceed with on-premise installation as we may need this in future.What I see so far is that 1 server is required for AC itself (neolane web, etc) + 1 for DB engine + 1 for incoming mails (bounces).What is still unclear:1. Servers for web tracking for Email channel: what are configuration steps on them, network/hardware requirements?2. Hardware requirements for AC and DB servers and what are they depends on (number of Recipients/Deliveries...
2021
Views
2
Likes
6
Answers and Comments
How to modify "Include" drop-down contents in Delivery form yetanother_andrey - Adobe Campaign Standard
When editing Delivery/Delivery Template there is an "Include" menu which allows to pick up Pers. block etc.The question is how to modify it's elements? For instance, I'd like to remove Unsubscription link from here as it shouldn't be used in our environment and we have our own unsubscription pages.
720
Views
1
Like
1
Answers and Comments
Re: Is it possible to have amount of emails limited per day/week? yetanother_andrey - Adobe Campaign Standard
I already tried it, but for some reason Capacity Typology rule ignores my delivery and only measures technical delivery "Notification of validations for the marketing campaign".
1294
Views
0
Likes
0
Answers