Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

viktorstarn
viktorstarn
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
3

Posts

Posts
3

Discussions

Discussions
0

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by viktorstarn
Customize the badges you want to showcase on your profile
Re: sqlExec issue - Adobe Campaign Standard 07-06-2018
Great answer! Exactly what I needed! Thanks Slimmed my script down from 240 lines to 40 ^^Couldn't get it to work initially, "Object.keys(wkf.activities.fileImport).length" kept returning 0. But it started working when I added... for (var key in wkf.activities.fileImport) { if (wkf.activities.fileImport.hasOwnProperty(key)) { logInfo("Key: " + key); logInfo("True"); }}...before your for-loop while troubleshooting. Not sure why...Also had to add the actual start- and end-tags and save function: f...

Views

1.1K

Likes

0

Replies

0
Re: sqlExec issue - Adobe Campaign Standard 05-06-2018
Hello Marcel,Thank you for your reply!This way of changing properties of an entity (recipient, workflow etc.) seems straight forward and easy to use, but does it apply even if I'm aiming to change a certain detail in the xml-code of the wf (in the XML Memo) and then want to save it? What I want to do specifically is remove the -tags in all of the -tags (if the wf contains any)......and then save the XML-code of the workflow (to get rid of example data). I've already encounter a few difficulties ...

Views

915

Likes

0

Replies

0
sqlExec issue - Adobe Campaign Standard 04-06-2018
Hello,My goal is to extract the entire xml-code of a workflow (in a javascript-action), make changes to it (in this case I want to remove any example data in file import-actions that might violate GDPR) and store the new xml in the database. I extract the xml using var wf = NLWS.xtkWorkflow.get(id); var str = wf.toDocument().toXMLString()and try to write it back again using result = sqlExec("update xtkWorkflow set mData = '" + tempChunk + "' || mData where sInternalName = '" + internalName + "'"...

Views

2.1K

Likes

3

Replies

4
Likes given to