Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
671 views

AMPscript InsertDE is inserting an empty row

I have a code on client-side that is using JavaScript to create an object called "data" that contains several variables such as "matricula", "scheduled", "...
Raas's user avatar
  • 31
0 votes
1 answer
208 views

Using MC Data Extension to update HTML on Landing Page [closed]

Is it possible to pass HTML code through a Data Extension value to set the HTML for an AmpScript Landing Page?
Austin's user avatar
  • 11
0 votes
1 answer
640 views

UpsertDE function not working on Shared Data Extension using SSJS from child BU even though used ENT

I want to use UpsertDE function on Shared Data Extension using SSJS from child BU. Even I tried ENT. before DE name, I have received 500 error in cloud page and script activity is getting errored in ...
SFMCuser's user avatar
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 = ...
TaouBen's user avatar
  • 154
1 vote
1 answer
881 views

how to get the owner of a data extension in marketing cloud [closed]

Is there any way to get the owner of a DE through API or Query?, Currently we have have a SOAP API but this is not bringing us the Owner, this would be the only attribute that does not call
Jesuchon's user avatar
1 vote
0 answers
425 views

Error from Rows.Add

I have the following script that returns the array as expected. When I go to add the "Rows.Add" aspect, I get a 500 error. I am testing the script on a cloudpage with plans to move it to an ...
Tariq McLeod's user avatar
0 votes
1 answer
604 views

Is it possible to automate reports in Marketing Cloud?

I need an automated solution for generating an account send summary. It would be ideal to send this data to a data extension. I tried to accomplish this using a tracking extract but it doesn't provide ...
scottola's user avatar
0 votes
1 answer
1k views

Overwrite Rows in Data Extension using Script Activity and SSJS

I've been working for about two years within Salesforce Marketing Cloud, but haven't had the need to utilize anything outside of AMPScript, HTML, and CSS as I mostly just build and deploy emails with ...
Eduardo's user avatar
  • 27
0 votes
1 answer
561 views

SSJS DataExtension.Add Syntax for Decimal Fields

I need to create a data extension using javascript that includes DECIMAL fields. Here's my code that wasn't working. var deObj = { "CustomerKey" : "Genesis_DE", &...
Will's user avatar
  • 194
1 vote
0 answers
826 views

SSJS - Read a Data Extension after an Rows.Update

i'm now in my firsts baby steps in JavaScript on Salesforce Marketing Cloud. In my script i read one Data Extension with an DataExtension.Init("DE") and a DE.Rows.Retrieve(filter). After this, some ...
Pedro Pereira's user avatar
0 votes
2 answers
428 views

Can I specify where I want a data extension to be created when using server-side javascript?

the code for creating a DE is straightforward, but I'm trying to specify where I want this to be created rather than the root DE folder. Is such a thing possible? thx
IR15's user avatar
  • 13
2 votes
2 answers
884 views

Growth rate of one data extension

How could I track the growth rate of one data extension? I have a SYNC DE that forwards my users who come from CRM and another system to the respective DE for each BU i have. But would like to know ...
Joao Marano's user avatar
0 votes
2 answers
1k views

SSJS functions not working for Data Extension objects

I'm trying to retrieve the CustomObjectID of a data extension that already exists, by using the External Key/CustomerKey. That didn't work, so now I'm trying to retrieve any DEs at all, and that's not ...
imeisner's user avatar
1 vote
1 answer
1k views

can i pass all lookuprows values to javascript?

currently i am using this ampscript for lookuprows: %%[ var @rows, @row, @rowCount, @numRowsToReturn, @lookupValue, @i set @lookupValue = AttributeValue("lookupField") /* value from attribute or DE ...
kuml's user avatar
  • 573
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 ...
Justin Nunn's user avatar
0 votes
0 answers
223 views

Why is serverside javascript not working when targeting shared data extension?

I am trying to update or add records to a shared data extension using serverside javascript. The below javascripts only works if I am hard-coding the values. Else nothing happens. In my data extension,...
Tove's user avatar
  • 123
0 votes
0 answers
581 views

Accessing AMPscript rowsets from JavaScript

We're currently using Server Side JavaScript to access Data Extensions, but the performance here is abysmal (often over a second for a single row). So we tried accessing the Data Extensions via ...
korguell's user avatar
  • 101
1 vote
1 answer
627 views

Is there a way to have an JavaScript asynchronous call to a data extension?

I am primarily a JavaScript dev that is helping with our Salesforce team. So assume that I'm a newbie with Salesforce. This might even be a silly question, so please tell me if it is. The situation is ...
s.Lawrenz's user avatar
  • 193
0 votes
1 answer
5k views

SSJS activities: Clear Data from Data Extensions

I am trying to write a code in SSJS to clear all data in a Data Extensions Below a sample code <script runat=server> Platform.Load("core","1"); var CAMPAGNE= DataExtension.Init("...
R.Pruner's user avatar
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 ...
R.Pruner's user avatar
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 ...
R.Pruner's user avatar
0 votes
1 answer
560 views

Is it possible to get personalization strings when pulling content from DE with Server-side JavaScript in emails?

I'm trying to use server-side JS to dynamically write variables based on the column headers of a data extension for an email. Then fill those variables with the row contents of those field headers. I ...
George's user avatar
  • 3
0 votes
1 answer
1k views

Javascript not working in ExactTarget Landing Page

I am using a simple JavaScript to receive a row from Data Extension Server-Side JavaScript Functions in ExactTarget and display the retrieved row on Landing Page . As below <script runat="server"&...
CodeDiva's user avatar
  • 163