All Questions
Tagged with marketing-cloud javascript
17 questions
4
votes
3
answers
5k
views
Get the name of the Data Extension you are working with : Custom Activity
I'm developping a custom activity in NodeJS and I would like to know how can I get the name of the Data Extension I'm working with to put the name here :
payload['arguments'].execute.inArguments = [{
...
2
votes
2
answers
2k
views
SSJS Activities : Move Data Extentions in a Folder
I'm investigating the SSJS activities. I'm not a JavaScript programmer but I'm trying to learn. Now I have managed to create Date Extension, a Create a folder path. Now I would like to be able to ...
1
vote
1
answer
1k
views
Defining Data Extract Activities via Script.Util.WSProxy();
I am designing an Archival process for archiving automatically some of my critical DEs. My idea is to define Data Extract activities dynamically using SSJS to store all the info in the SafeHouse FTP ...
1
vote
2
answers
5k
views
SSJS Update and Perform Query Definition
I am attempting to loop through data extension content to dynamically update and perform a query definition. Essentially, I'd like to update and run the same Query Definition synchronously using SSJS ...
6
votes
2
answers
9k
views
How to debug Server-Side JavaScript Activity
I have created a server-side javascript activity as follows. I also have a automation created via automation studio which executes the server-side script. It is succeeding each time however I don't ...
4
votes
1
answer
4k
views
Can you retrieve more than 2500 records with SSJS?
I am trying to use a script activity to update a data extension with the statuses of subscriber records. I have managed to get the code working but it will only add 2500 records. I have been reading ...
3
votes
0
answers
3k
views
Adding SSJS Script Activity to ExactTarget Automation Studio
we need to do the following and I'm rather lost of where to begin, so I was hoping someone could point me in the right direction.
We need to create an SSJS Script Activity to Automation Studio (this ...
2
votes
1
answer
529
views
Pass Personalization Data in Custom Activity
I have created a custom activity built with Node.js that POSTS to a text message service and sends an SMS. The activity works great, the last thing I need to button up is passing personalization data ...
2
votes
2
answers
1k
views
ExactTarget REST API - using javascript to get accessToken
With the clientId and clientSecret, is there a way to use JavaScript to get the accessToken through ajax?
2
votes
1
answer
930
views
How can I create a ComplexFilterPart using SSJS / API in Marketing Cloud?
I am creating a Landing Page in Marketing Cloud and would like to use the API to query an Object and filter by a specific property, returning only relevant results.
How can I do this?
1
vote
1
answer
4k
views
Best way to make HTTP Requests
We are inserting data to a Data Extension in ExactTarget. Now on that same form submit action we have to POST that data to an Internal RESTful service (message format and responses are in JSON). Can ...
1
vote
3
answers
6k
views
Escaping characters within AMPscript /Javascript hybrid
We have added a javascript calendar to a page otherwise coded within ExactTarget using AMPscript.The calendar is fullcalendar.js and was impressed how easily it worked to create our lists of events. ...
0
votes
1
answer
831
views
Retrieve fields from dynamic data extention in Custom activity?
I am having little issue :
in my js script I am trying to push some data dynamically :
/**
* Save settings
*/
function save() {
//if($form.valid()) {
payload['metaData'].isConfigured = ...
0
votes
0
answers
401
views
Script Activity in Marketing Cloud
I've some problem when I use the WSProxy in Script Activity. My goal is to search in all the non-sendable data extension if there is a column called "ID" and in the case it's exist I want to ...
0
votes
2
answers
2k
views
SSJS Activities: Create Folder path
I am writing to know how can I do several actions on a Data Extension and Create Folder using Javascript by SSJS
Currently I can not create a folder.
I do not understand what is the problem .
By the ...
0
votes
1
answer
3k
views
ExactTarget - Is it possible to send template email to list of users
I am trying to build a simple email application using Javascript to go against either the ExactTarget SOAP or REST API. Our goal is to use only Exact Target to build email templates and then send ...
0
votes
2
answers
6k
views
SSJS Rows.Retrieve not returning any rows
I'm having an issue where I'm unable to retrieve any rows from a DE that I know is populated inside an automation.
Here is my code:
<script runat="server">
Platform.Load("core","1");
var ...