Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 61872

Server-side JavaScript (SSJS) in the Salesforce Marketing Cloud allows a developer to use JavaScript syntax and proprietary platform libraries for server-side processing.

1 vote
1 answer
297 views

WSProxy HTTP POST Request only runs a handful of records at a time before erroring and pausing

I'm leveraging SSJS WSProxy's HTTP Request to send a payload over to a third-party server. …
0 votes
0 answers
264 views

Can't Access Child JSON Element of JSON Payload with SSJS

I've got this script up, I intentionally replaced some parts of the code with a series of Xs to censor any secure information. <script runat="server" type="text/javascript"> Platform.Load("core", "1.1 …
1 vote
1 answer
854 views

Looping through wsproxy retrieve results with SSJS

I'm trying to loop through all folders found in the parent folder and show the folder names. This is what I have so far but it doesn't work (I just get an error page) <script runat="server"> Platfor …
1 vote
1 answer
461 views

Trying to lookup Folder ID when there are multiple folders sharing the same name (SFMC WSProxy)

I have this scenario right now where I'm coding a cloud page form with SSJS right now (I'm a bit of a noob at this) and the basic functionality is: -Create data extensions automatically when form submitted … The other way I was thinking would be a bit more labour intensive and not as automated, but pre-creating the folders for the year, grabbing those IDs manually and hard-coding it into the SSJS based on …
0 votes
0 answers
205 views

SSJS Triggered Send not working

I tried to strip this back as simple as possible using WSProxy to conduct the triggered send. I tested this in Cloud Pages, and I just get the loading screen when I click Publish to preview. I also tr …
0 votes
1 answer
211 views

Can't display child elements of ParseJSON in SSJS

The only other workaround I can use to render it is if I use SetValue to create an AMPScript variable, but I'd preferably like to keep it in SSJS code just to streamline the logic when reading the code …
1 vote
1 answer
1k views

How to batch delete more than 2500 records (based on data extension)

I'm looking to remove refunded transactions from the master transaction table (they have two ID where they join on) so that we don't email people about their transactions when they have already receiv …
0 votes
1 answer
387 views

How to delete rows from DE based on another DE

I'm a bit new to SSJS so I'm having trouble understanding how I would go about this. … I've started by referencing this: https://sprignaturemoves.com/prune-rows-data-extension-ssjs/ I created two Data Extensions, one that stores the data on Keys I need to remove from another data extension …