ampscript-data 0.2.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -0
- package/package.json +1 -1
- package/src/index.js +615 -1
package/src/index.js
CHANGED
|
@@ -11,10 +11,12 @@ const INF = Infinity;
|
|
|
11
11
|
|
|
12
12
|
// ── Function catalog ─────────────────────────────────────────────────────────
|
|
13
13
|
|
|
14
|
-
/** @type {{name: string, docUrl?: string, guideUrl?: string, minArgs: number, maxArgs: number, category: string, description: string, params: {name: string, description: string, type?: string, optional?: boolean}[], returnType?: string, syntax?: string, example?: string}[]} */
|
|
14
|
+
/** @type {{name: string, mcnSince: number | null, mcnNotes: string | null, docUrl?: string, guideUrl?: string, minArgs: number, maxArgs: number, category: string, description: string, params: {name: string, description: string, type?: string, optional?: boolean}[], returnType?: string, syntax?: string, example?: string}[]} */
|
|
15
15
|
export const FUNCTIONS = [
|
|
16
16
|
{
|
|
17
17
|
name: 'Add',
|
|
18
|
+
mcnSince: 67,
|
|
19
|
+
mcnNotes: null,
|
|
18
20
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-add.html',
|
|
19
21
|
guideUrl: 'https://ampscript.guide/add/',
|
|
20
22
|
minArgs: 2,
|
|
@@ -31,6 +33,8 @@ export const FUNCTIONS = [
|
|
|
31
33
|
},
|
|
32
34
|
{
|
|
33
35
|
name: 'AddMSCRMListMember',
|
|
36
|
+
mcnSince: null,
|
|
37
|
+
mcnNotes: null,
|
|
34
38
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-add-list-member.html',
|
|
35
39
|
guideUrl: 'https://ampscript.guide/addmscrmlistmember/',
|
|
36
40
|
minArgs: 2,
|
|
@@ -46,6 +50,8 @@ export const FUNCTIONS = [
|
|
|
46
50
|
},
|
|
47
51
|
{
|
|
48
52
|
name: 'AddObjectArrayItem',
|
|
53
|
+
mcnSince: null,
|
|
54
|
+
mcnNotes: null,
|
|
49
55
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-add-object-array.html',
|
|
50
56
|
guideUrl: 'https://ampscript.guide/addobjectarrayitem/',
|
|
51
57
|
minArgs: 3,
|
|
@@ -62,6 +68,8 @@ export const FUNCTIONS = [
|
|
|
62
68
|
},
|
|
63
69
|
{
|
|
64
70
|
name: 'AttachFile',
|
|
71
|
+
mcnSince: null,
|
|
72
|
+
mcnNotes: null,
|
|
65
73
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-attach-file.html',
|
|
66
74
|
guideUrl: 'https://ampscript.guide/attachfile/',
|
|
67
75
|
minArgs: 4,
|
|
@@ -76,6 +84,8 @@ export const FUNCTIONS = [
|
|
|
76
84
|
{ name: 'isInline', description: 'Display inline', type: 'boolean', optional: true },
|
|
77
85
|
{
|
|
78
86
|
name: 'contentDisposition',
|
|
87
|
+
mcnSince: null,
|
|
88
|
+
mcnNotes: null,
|
|
79
89
|
description: 'Disposition header',
|
|
80
90
|
type: 'string',
|
|
81
91
|
optional: true,
|
|
@@ -83,6 +93,8 @@ export const FUNCTIONS = [
|
|
|
83
93
|
{ name: 'encoding', description: 'Character encoding', type: 'string', optional: true },
|
|
84
94
|
{
|
|
85
95
|
name: 'contentId',
|
|
96
|
+
mcnSince: null,
|
|
97
|
+
mcnNotes: null,
|
|
86
98
|
description: 'Content-ID for inline',
|
|
87
99
|
type: 'string',
|
|
88
100
|
optional: true,
|
|
@@ -93,6 +105,8 @@ export const FUNCTIONS = [
|
|
|
93
105
|
},
|
|
94
106
|
{
|
|
95
107
|
name: 'AttributeValue',
|
|
108
|
+
mcnSince: null,
|
|
109
|
+
mcnNotes: null,
|
|
96
110
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-attribute-value.html',
|
|
97
111
|
guideUrl: 'https://ampscript.guide/attributevalue/',
|
|
98
112
|
minArgs: 1,
|
|
@@ -107,6 +121,8 @@ export const FUNCTIONS = [
|
|
|
107
121
|
},
|
|
108
122
|
{
|
|
109
123
|
name: 'AuthenticatedEmployeeID',
|
|
124
|
+
mcnSince: null,
|
|
125
|
+
mcnNotes: null,
|
|
110
126
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-id.html',
|
|
111
127
|
guideUrl: 'https://ampscript.guide/authenticatedemployeeid/',
|
|
112
128
|
minArgs: 0,
|
|
@@ -119,6 +135,8 @@ export const FUNCTIONS = [
|
|
|
119
135
|
},
|
|
120
136
|
{
|
|
121
137
|
name: 'AuthenticatedEmployeeNotificationAddress',
|
|
138
|
+
mcnSince: null,
|
|
139
|
+
mcnNotes: null,
|
|
122
140
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-notification-address.html',
|
|
123
141
|
guideUrl: 'https://ampscript.guide/authenticatedemployeenotificationaddress/',
|
|
124
142
|
minArgs: 0,
|
|
@@ -131,6 +149,8 @@ export const FUNCTIONS = [
|
|
|
131
149
|
},
|
|
132
150
|
{
|
|
133
151
|
name: 'AuthenticatedEmployeeUserName',
|
|
152
|
+
mcnSince: null,
|
|
153
|
+
mcnNotes: null,
|
|
134
154
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-username.html',
|
|
135
155
|
guideUrl: 'https://ampscript.guide/authenticatedemployeeusername/',
|
|
136
156
|
minArgs: 0,
|
|
@@ -143,6 +163,8 @@ export const FUNCTIONS = [
|
|
|
143
163
|
},
|
|
144
164
|
{
|
|
145
165
|
name: 'AuthenticatedEnterpriseID',
|
|
166
|
+
mcnSince: null,
|
|
167
|
+
mcnNotes: null,
|
|
146
168
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-enterprise-id.html',
|
|
147
169
|
guideUrl: 'https://ampscript.guide/authenticatedenterpriseid/',
|
|
148
170
|
minArgs: 0,
|
|
@@ -155,6 +177,8 @@ export const FUNCTIONS = [
|
|
|
155
177
|
},
|
|
156
178
|
{
|
|
157
179
|
name: 'AuthenticatedMemberID',
|
|
180
|
+
mcnSince: null,
|
|
181
|
+
mcnNotes: null,
|
|
158
182
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-id.html',
|
|
159
183
|
guideUrl: 'https://ampscript.guide/authenticatedmemberid/',
|
|
160
184
|
minArgs: 0,
|
|
@@ -167,6 +191,8 @@ export const FUNCTIONS = [
|
|
|
167
191
|
},
|
|
168
192
|
{
|
|
169
193
|
name: 'AuthenticatedMemberName',
|
|
194
|
+
mcnSince: null,
|
|
195
|
+
mcnNotes: null,
|
|
170
196
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-name.html',
|
|
171
197
|
guideUrl: 'https://ampscript.guide/authenticatedmembername/',
|
|
172
198
|
minArgs: 0,
|
|
@@ -179,6 +205,8 @@ export const FUNCTIONS = [
|
|
|
179
205
|
},
|
|
180
206
|
{
|
|
181
207
|
name: 'BarcodeURL',
|
|
208
|
+
mcnSince: null,
|
|
209
|
+
mcnNotes: null,
|
|
182
210
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-barcode-url.html',
|
|
183
211
|
guideUrl: 'https://ampscript.guide/barcodeurl/',
|
|
184
212
|
minArgs: 9,
|
|
@@ -202,6 +230,8 @@ export const FUNCTIONS = [
|
|
|
202
230
|
},
|
|
203
231
|
{
|
|
204
232
|
name: 'Base64Decode',
|
|
233
|
+
mcnSince: null,
|
|
234
|
+
mcnNotes: null,
|
|
205
235
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-decode.html',
|
|
206
236
|
guideUrl: 'https://ampscript.guide/base64decode/',
|
|
207
237
|
minArgs: 1,
|
|
@@ -213,6 +243,8 @@ export const FUNCTIONS = [
|
|
|
213
243
|
{ name: 'encoding', description: 'Encoding scheme', type: 'string', optional: true },
|
|
214
244
|
{
|
|
215
245
|
name: 'characterSet',
|
|
246
|
+
mcnSince: null,
|
|
247
|
+
mcnNotes: null,
|
|
216
248
|
description: 'Character set for output',
|
|
217
249
|
type: 'string',
|
|
218
250
|
optional: true,
|
|
@@ -224,6 +256,8 @@ export const FUNCTIONS = [
|
|
|
224
256
|
},
|
|
225
257
|
{
|
|
226
258
|
name: 'Base64Encode',
|
|
259
|
+
mcnSince: null,
|
|
260
|
+
mcnNotes: null,
|
|
227
261
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-encode.html',
|
|
228
262
|
guideUrl: 'https://ampscript.guide/base64encode/',
|
|
229
263
|
minArgs: 1,
|
|
@@ -240,6 +274,8 @@ export const FUNCTIONS = [
|
|
|
240
274
|
},
|
|
241
275
|
{
|
|
242
276
|
name: 'BeginImpressionRegion',
|
|
277
|
+
mcnSince: null,
|
|
278
|
+
mcnNotes: null,
|
|
243
279
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-begin-impression-region.html',
|
|
244
280
|
guideUrl: 'https://ampscript.guide/beginimpressionregion/',
|
|
245
281
|
minArgs: 1,
|
|
@@ -252,6 +288,8 @@ export const FUNCTIONS = [
|
|
|
252
288
|
},
|
|
253
289
|
{
|
|
254
290
|
name: 'BuildOptionList',
|
|
291
|
+
mcnSince: null,
|
|
292
|
+
mcnNotes: null,
|
|
255
293
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-option-list.html',
|
|
256
294
|
guideUrl: 'https://ampscript.guide/buildoptionlist/',
|
|
257
295
|
minArgs: 3,
|
|
@@ -262,17 +300,23 @@ export const FUNCTIONS = [
|
|
|
262
300
|
params: [
|
|
263
301
|
{
|
|
264
302
|
name: 'dataExtensionName',
|
|
303
|
+
mcnSince: null,
|
|
304
|
+
mcnNotes: null,
|
|
265
305
|
description: 'Data extension to read from',
|
|
266
306
|
type: 'string',
|
|
267
307
|
},
|
|
268
308
|
{ name: 'selectedValue', description: 'Value to mark as selected', type: 'string' },
|
|
269
309
|
{
|
|
270
310
|
name: 'displayColumn',
|
|
311
|
+
mcnSince: null,
|
|
312
|
+
mcnNotes: null,
|
|
271
313
|
description: 'Column for option display text',
|
|
272
314
|
type: 'string',
|
|
273
315
|
},
|
|
274
316
|
{
|
|
275
317
|
name: 'valueColumn',
|
|
318
|
+
mcnSince: null,
|
|
319
|
+
mcnNotes: null,
|
|
276
320
|
description: 'Column for option value attribute',
|
|
277
321
|
type: 'string',
|
|
278
322
|
optional: true,
|
|
@@ -283,6 +327,8 @@ export const FUNCTIONS = [
|
|
|
283
327
|
},
|
|
284
328
|
{
|
|
285
329
|
name: 'BuildRowsetFromJSON',
|
|
330
|
+
mcnSince: 67,
|
|
331
|
+
mcnNotes: null,
|
|
286
332
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-json.html',
|
|
287
333
|
guideUrl: 'https://ampscript.guide/buildrowsetfromjson/',
|
|
288
334
|
minArgs: 2,
|
|
@@ -293,11 +339,15 @@ export const FUNCTIONS = [
|
|
|
293
339
|
{ name: 'json', description: 'JSON string to parse', type: 'string' },
|
|
294
340
|
{
|
|
295
341
|
name: 'jsonPath',
|
|
342
|
+
mcnSince: null,
|
|
343
|
+
mcnNotes: null,
|
|
296
344
|
description: 'JSONPath expression for node selection',
|
|
297
345
|
type: 'string',
|
|
298
346
|
},
|
|
299
347
|
{
|
|
300
348
|
name: 'uniqueTag',
|
|
349
|
+
mcnSince: null,
|
|
350
|
+
mcnNotes: null,
|
|
301
351
|
description: 'Unique tag for the rowset',
|
|
302
352
|
type: 'string',
|
|
303
353
|
optional: true,
|
|
@@ -308,6 +358,8 @@ export const FUNCTIONS = [
|
|
|
308
358
|
},
|
|
309
359
|
{
|
|
310
360
|
name: 'BuildRowSetFromString',
|
|
361
|
+
mcnSince: null,
|
|
362
|
+
mcnNotes: null,
|
|
311
363
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-string.html',
|
|
312
364
|
guideUrl: 'https://ampscript.guide/buildrowsetfromstring/',
|
|
313
365
|
minArgs: 2,
|
|
@@ -324,6 +376,8 @@ export const FUNCTIONS = [
|
|
|
324
376
|
},
|
|
325
377
|
{
|
|
326
378
|
name: 'BuildRowSetFromXML',
|
|
379
|
+
mcnSince: null,
|
|
380
|
+
mcnNotes: null,
|
|
327
381
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-xml.html',
|
|
328
382
|
guideUrl: 'https://ampscript.guide/buildrowsetfromxml/',
|
|
329
383
|
minArgs: 2,
|
|
@@ -335,6 +389,8 @@ export const FUNCTIONS = [
|
|
|
335
389
|
{ name: 'xpath', description: 'XPath expression', type: 'string' },
|
|
336
390
|
{
|
|
337
391
|
name: 'isCaseSensitive',
|
|
392
|
+
mcnSince: null,
|
|
393
|
+
mcnNotes: null,
|
|
338
394
|
description: 'Enable case-sensitive matching',
|
|
339
395
|
type: 'boolean',
|
|
340
396
|
optional: true,
|
|
@@ -345,6 +401,8 @@ export const FUNCTIONS = [
|
|
|
345
401
|
},
|
|
346
402
|
{
|
|
347
403
|
name: 'Char',
|
|
404
|
+
mcnSince: null,
|
|
405
|
+
mcnNotes: null,
|
|
348
406
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-char.html',
|
|
349
407
|
guideUrl: 'https://ampscript.guide/char/',
|
|
350
408
|
minArgs: 1,
|
|
@@ -355,6 +413,8 @@ export const FUNCTIONS = [
|
|
|
355
413
|
{ name: 'asciiCode', description: 'ASCII character code', type: 'number' },
|
|
356
414
|
{
|
|
357
415
|
name: 'repeatCount',
|
|
416
|
+
mcnSince: null,
|
|
417
|
+
mcnNotes: null,
|
|
358
418
|
description: 'Number of times to repeat the returned character',
|
|
359
419
|
type: 'number',
|
|
360
420
|
optional: true,
|
|
@@ -366,6 +426,8 @@ export const FUNCTIONS = [
|
|
|
366
426
|
},
|
|
367
427
|
{
|
|
368
428
|
name: 'ClaimRow',
|
|
429
|
+
mcnSince: null,
|
|
430
|
+
mcnNotes: null,
|
|
369
431
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row.html',
|
|
370
432
|
guideUrl: 'https://ampscript.guide/claimrow/',
|
|
371
433
|
minArgs: 4,
|
|
@@ -376,31 +438,43 @@ export const FUNCTIONS = [
|
|
|
376
438
|
params: [
|
|
377
439
|
{
|
|
378
440
|
name: 'dataExtensionName',
|
|
441
|
+
mcnSince: null,
|
|
442
|
+
mcnNotes: null,
|
|
379
443
|
description: 'Target data extension name',
|
|
380
444
|
type: 'string',
|
|
381
445
|
},
|
|
382
446
|
{
|
|
383
447
|
name: 'claimedColumn',
|
|
448
|
+
mcnSince: null,
|
|
449
|
+
mcnNotes: null,
|
|
384
450
|
description: 'Name of the boolean column that identifies a row as claimed',
|
|
385
451
|
type: 'string',
|
|
386
452
|
},
|
|
387
453
|
{
|
|
388
454
|
name: 'columnName',
|
|
455
|
+
mcnSince: null,
|
|
456
|
+
mcnNotes: null,
|
|
389
457
|
description: 'Name of the column to populate when claiming the row',
|
|
390
458
|
type: 'string',
|
|
391
459
|
},
|
|
392
460
|
{
|
|
393
461
|
name: 'columnValue',
|
|
462
|
+
mcnSince: null,
|
|
463
|
+
mcnNotes: null,
|
|
394
464
|
description: 'Value to write into the column when claiming the row',
|
|
395
465
|
},
|
|
396
466
|
{
|
|
397
467
|
name: 'additionalColumnName',
|
|
468
|
+
mcnSince: null,
|
|
469
|
+
mcnNotes: null,
|
|
398
470
|
description: 'Additional column name to populate',
|
|
399
471
|
type: 'string',
|
|
400
472
|
optional: true,
|
|
401
473
|
},
|
|
402
474
|
{
|
|
403
475
|
name: 'additionalColumnValue',
|
|
476
|
+
mcnSince: null,
|
|
477
|
+
mcnNotes: null,
|
|
404
478
|
description: 'Additional column value to populate',
|
|
405
479
|
optional: true,
|
|
406
480
|
},
|
|
@@ -410,6 +484,8 @@ export const FUNCTIONS = [
|
|
|
410
484
|
},
|
|
411
485
|
{
|
|
412
486
|
name: 'ClaimRowValue',
|
|
487
|
+
mcnSince: null,
|
|
488
|
+
mcnNotes: null,
|
|
413
489
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row-value.html',
|
|
414
490
|
guideUrl: 'https://ampscript.guide/claimrowvalue/',
|
|
415
491
|
minArgs: 3,
|
|
@@ -419,28 +495,38 @@ export const FUNCTIONS = [
|
|
|
419
495
|
params: [
|
|
420
496
|
{
|
|
421
497
|
name: 'dataExtensionName',
|
|
498
|
+
mcnSince: null,
|
|
499
|
+
mcnNotes: null,
|
|
422
500
|
description: 'Target data extension name',
|
|
423
501
|
type: 'string',
|
|
424
502
|
},
|
|
425
503
|
{ name: 'returnColumn', description: 'Column whose value to return', type: 'string' },
|
|
426
504
|
{
|
|
427
505
|
name: 'claimedColumn',
|
|
506
|
+
mcnSince: null,
|
|
507
|
+
mcnNotes: null,
|
|
428
508
|
description: 'Name of the boolean column that identifies a row as claimed',
|
|
429
509
|
type: 'string',
|
|
430
510
|
},
|
|
431
511
|
{
|
|
432
512
|
name: 'defaultValue',
|
|
513
|
+
mcnSince: null,
|
|
514
|
+
mcnNotes: null,
|
|
433
515
|
description: 'Default value to return if no unclaimed rows are available',
|
|
434
516
|
optional: true,
|
|
435
517
|
},
|
|
436
518
|
{
|
|
437
519
|
name: 'columnName',
|
|
520
|
+
mcnSince: null,
|
|
521
|
+
mcnNotes: null,
|
|
438
522
|
description: 'Name of the column to populate when claiming the row',
|
|
439
523
|
type: 'string',
|
|
440
524
|
optional: true,
|
|
441
525
|
},
|
|
442
526
|
{
|
|
443
527
|
name: 'columnValue',
|
|
528
|
+
mcnSince: null,
|
|
529
|
+
mcnNotes: null,
|
|
444
530
|
description: 'Value to write into the column when claiming the row',
|
|
445
531
|
optional: true,
|
|
446
532
|
},
|
|
@@ -450,6 +536,8 @@ export const FUNCTIONS = [
|
|
|
450
536
|
},
|
|
451
537
|
{
|
|
452
538
|
name: 'CloudPagesURL',
|
|
539
|
+
mcnSince: null,
|
|
540
|
+
mcnNotes: null,
|
|
453
541
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-cloud-pages-url.html',
|
|
454
542
|
guideUrl: 'https://ampscript.guide/cloudpagesurl/',
|
|
455
543
|
minArgs: 1,
|
|
@@ -461,12 +549,16 @@ export const FUNCTIONS = [
|
|
|
461
549
|
{ name: 'pageId', description: 'CloudPages page ID (number or string)' },
|
|
462
550
|
{
|
|
463
551
|
name: 'paramName',
|
|
552
|
+
mcnSince: null,
|
|
553
|
+
mcnNotes: null,
|
|
464
554
|
description: 'Query parameter name',
|
|
465
555
|
type: 'string',
|
|
466
556
|
optional: true,
|
|
467
557
|
},
|
|
468
558
|
{
|
|
469
559
|
name: 'paramValue',
|
|
560
|
+
mcnSince: null,
|
|
561
|
+
mcnNotes: null,
|
|
470
562
|
description: 'Query parameter value',
|
|
471
563
|
type: 'string',
|
|
472
564
|
optional: true,
|
|
@@ -478,6 +570,8 @@ export const FUNCTIONS = [
|
|
|
478
570
|
},
|
|
479
571
|
{
|
|
480
572
|
name: 'Concat',
|
|
573
|
+
mcnSince: 67,
|
|
574
|
+
mcnNotes: null,
|
|
481
575
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-concat.html',
|
|
482
576
|
guideUrl: 'https://ampscript.guide/concat/',
|
|
483
577
|
minArgs: 2,
|
|
@@ -495,6 +589,8 @@ export const FUNCTIONS = [
|
|
|
495
589
|
},
|
|
496
590
|
{
|
|
497
591
|
name: 'ContentArea',
|
|
592
|
+
mcnSince: null,
|
|
593
|
+
mcnNotes: null,
|
|
498
594
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-area.html',
|
|
499
595
|
guideUrl: 'https://ampscript.guide/contentarea/',
|
|
500
596
|
minArgs: 1,
|
|
@@ -505,12 +601,16 @@ export const FUNCTIONS = [
|
|
|
505
601
|
{ name: 'contentAreaId', description: 'Content area ID', type: 'number' },
|
|
506
602
|
{
|
|
507
603
|
name: 'impressionRegion',
|
|
604
|
+
mcnSince: null,
|
|
605
|
+
mcnNotes: null,
|
|
508
606
|
description: 'Impression region name',
|
|
509
607
|
type: 'string',
|
|
510
608
|
optional: true,
|
|
511
609
|
},
|
|
512
610
|
{
|
|
513
611
|
name: 'layout',
|
|
612
|
+
mcnSince: null,
|
|
613
|
+
mcnNotes: null,
|
|
514
614
|
description: 'Layout option (block or wrap)',
|
|
515
615
|
type: 'string',
|
|
516
616
|
optional: true,
|
|
@@ -518,6 +618,8 @@ export const FUNCTIONS = [
|
|
|
518
618
|
{ name: 'tag', description: 'Wrapping HTML tag', type: 'string', optional: true },
|
|
519
619
|
{
|
|
520
620
|
name: 'errorMessage',
|
|
621
|
+
mcnSince: null,
|
|
622
|
+
mcnNotes: null,
|
|
521
623
|
description: 'Error message if content not found',
|
|
522
624
|
type: 'string',
|
|
523
625
|
optional: true,
|
|
@@ -528,6 +630,8 @@ export const FUNCTIONS = [
|
|
|
528
630
|
},
|
|
529
631
|
{
|
|
530
632
|
name: 'ContentAreaByName',
|
|
633
|
+
mcnSince: null,
|
|
634
|
+
mcnNotes: null,
|
|
531
635
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-area-by-name.html',
|
|
532
636
|
guideUrl: 'https://ampscript.guide/contentareabyname/',
|
|
533
637
|
minArgs: 1,
|
|
@@ -538,6 +642,8 @@ export const FUNCTIONS = [
|
|
|
538
642
|
{ name: 'name', description: 'Content area folder path and name', type: 'string' },
|
|
539
643
|
{
|
|
540
644
|
name: 'impressionRegion',
|
|
645
|
+
mcnSince: null,
|
|
646
|
+
mcnNotes: null,
|
|
541
647
|
description: 'Impression region name',
|
|
542
648
|
type: 'string',
|
|
543
649
|
optional: true,
|
|
@@ -546,6 +652,8 @@ export const FUNCTIONS = [
|
|
|
546
652
|
{ name: 'tag', description: 'Wrapping HTML tag', type: 'string', optional: true },
|
|
547
653
|
{
|
|
548
654
|
name: 'errorMessage',
|
|
655
|
+
mcnSince: null,
|
|
656
|
+
mcnNotes: null,
|
|
549
657
|
description: 'Error message if not found',
|
|
550
658
|
type: 'string',
|
|
551
659
|
optional: true,
|
|
@@ -556,6 +664,8 @@ export const FUNCTIONS = [
|
|
|
556
664
|
},
|
|
557
665
|
{
|
|
558
666
|
name: 'ContentBlockByID',
|
|
667
|
+
mcnSince: 67,
|
|
668
|
+
mcnNotes: null,
|
|
559
669
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-id.html',
|
|
560
670
|
guideUrl: 'https://ampscript.guide/contentblockbyid/',
|
|
561
671
|
minArgs: 1,
|
|
@@ -566,24 +676,32 @@ export const FUNCTIONS = [
|
|
|
566
676
|
{ name: 'id', description: 'Content block ID (number or string)' },
|
|
567
677
|
{
|
|
568
678
|
name: 'impressionRegion',
|
|
679
|
+
mcnSince: null,
|
|
680
|
+
mcnNotes: null,
|
|
569
681
|
description: 'Impression region name',
|
|
570
682
|
type: 'string',
|
|
571
683
|
optional: true,
|
|
572
684
|
},
|
|
573
685
|
{
|
|
574
686
|
name: 'throwError',
|
|
687
|
+
mcnSince: null,
|
|
688
|
+
mcnNotes: null,
|
|
575
689
|
description: 'Return error if not found',
|
|
576
690
|
type: 'boolean',
|
|
577
691
|
optional: true,
|
|
578
692
|
},
|
|
579
693
|
{
|
|
580
694
|
name: 'defaultContent',
|
|
695
|
+
mcnSince: null,
|
|
696
|
+
mcnNotes: null,
|
|
581
697
|
description: 'Fallback content if not found',
|
|
582
698
|
type: 'string',
|
|
583
699
|
optional: true,
|
|
584
700
|
},
|
|
585
701
|
{
|
|
586
702
|
name: 'templateBasedLayout',
|
|
703
|
+
mcnSince: null,
|
|
704
|
+
mcnNotes: null,
|
|
587
705
|
description: 'Layout for template-based content',
|
|
588
706
|
type: 'string',
|
|
589
707
|
optional: true,
|
|
@@ -594,6 +712,8 @@ export const FUNCTIONS = [
|
|
|
594
712
|
},
|
|
595
713
|
{
|
|
596
714
|
name: 'ContentBlockByKey',
|
|
715
|
+
mcnSince: 67,
|
|
716
|
+
mcnNotes: null,
|
|
597
717
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-key.html',
|
|
598
718
|
guideUrl: 'https://ampscript.guide/contentblockbykey/',
|
|
599
719
|
minArgs: 1,
|
|
@@ -604,24 +724,32 @@ export const FUNCTIONS = [
|
|
|
604
724
|
{ name: 'customerKey', description: 'Content block customer key', type: 'string' },
|
|
605
725
|
{
|
|
606
726
|
name: 'impressionRegion',
|
|
727
|
+
mcnSince: null,
|
|
728
|
+
mcnNotes: null,
|
|
607
729
|
description: 'Impression region name',
|
|
608
730
|
type: 'string',
|
|
609
731
|
optional: true,
|
|
610
732
|
},
|
|
611
733
|
{
|
|
612
734
|
name: 'throwError',
|
|
735
|
+
mcnSince: null,
|
|
736
|
+
mcnNotes: null,
|
|
613
737
|
description: 'Return error if not found',
|
|
614
738
|
type: 'boolean',
|
|
615
739
|
optional: true,
|
|
616
740
|
},
|
|
617
741
|
{
|
|
618
742
|
name: 'defaultContent',
|
|
743
|
+
mcnSince: null,
|
|
744
|
+
mcnNotes: null,
|
|
619
745
|
description: 'Fallback content if not found',
|
|
620
746
|
type: 'string',
|
|
621
747
|
optional: true,
|
|
622
748
|
},
|
|
623
749
|
{
|
|
624
750
|
name: 'templateBasedLayout',
|
|
751
|
+
mcnSince: null,
|
|
752
|
+
mcnNotes: null,
|
|
625
753
|
description: 'Layout for template-based content',
|
|
626
754
|
type: 'string',
|
|
627
755
|
optional: true,
|
|
@@ -632,6 +760,8 @@ export const FUNCTIONS = [
|
|
|
632
760
|
},
|
|
633
761
|
{
|
|
634
762
|
name: 'ContentBlockByName',
|
|
763
|
+
mcnSince: 67,
|
|
764
|
+
mcnNotes: null,
|
|
635
765
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-name.html',
|
|
636
766
|
guideUrl: 'https://ampscript.guide/contentblockbyname/',
|
|
637
767
|
minArgs: 1,
|
|
@@ -643,24 +773,32 @@ export const FUNCTIONS = [
|
|
|
643
773
|
{ name: 'name', description: 'Content block folder path and name', type: 'string' },
|
|
644
774
|
{
|
|
645
775
|
name: 'impressionRegion',
|
|
776
|
+
mcnSince: null,
|
|
777
|
+
mcnNotes: null,
|
|
646
778
|
description: 'Impression region name',
|
|
647
779
|
type: 'string',
|
|
648
780
|
optional: true,
|
|
649
781
|
},
|
|
650
782
|
{
|
|
651
783
|
name: 'throwError',
|
|
784
|
+
mcnSince: null,
|
|
785
|
+
mcnNotes: null,
|
|
652
786
|
description: 'Return error if not found',
|
|
653
787
|
type: 'boolean',
|
|
654
788
|
optional: true,
|
|
655
789
|
},
|
|
656
790
|
{
|
|
657
791
|
name: 'defaultContent',
|
|
792
|
+
mcnSince: null,
|
|
793
|
+
mcnNotes: null,
|
|
658
794
|
description: 'Fallback content if not found',
|
|
659
795
|
type: 'string',
|
|
660
796
|
optional: true,
|
|
661
797
|
},
|
|
662
798
|
{
|
|
663
799
|
name: 'templateBasedLayout',
|
|
800
|
+
mcnSince: null,
|
|
801
|
+
mcnNotes: null,
|
|
664
802
|
description: 'Layout for template-based content',
|
|
665
803
|
type: 'string',
|
|
666
804
|
optional: true,
|
|
@@ -671,6 +809,8 @@ export const FUNCTIONS = [
|
|
|
671
809
|
},
|
|
672
810
|
{
|
|
673
811
|
name: 'ContentImageByID',
|
|
812
|
+
mcnSince: null,
|
|
813
|
+
mcnNotes: null,
|
|
674
814
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image-by-id.html',
|
|
675
815
|
guideUrl: 'https://ampscript.guide/contentimagebyid/',
|
|
676
816
|
minArgs: 1,
|
|
@@ -681,6 +821,8 @@ export const FUNCTIONS = [
|
|
|
681
821
|
{ name: 'id', description: 'Image asset ID', type: 'number' },
|
|
682
822
|
{
|
|
683
823
|
name: 'altText',
|
|
824
|
+
mcnSince: null,
|
|
825
|
+
mcnNotes: null,
|
|
684
826
|
description: 'Alt text for the image',
|
|
685
827
|
type: 'string',
|
|
686
828
|
optional: true,
|
|
@@ -691,6 +833,8 @@ export const FUNCTIONS = [
|
|
|
691
833
|
},
|
|
692
834
|
{
|
|
693
835
|
name: 'ContentImageByKey',
|
|
836
|
+
mcnSince: null,
|
|
837
|
+
mcnNotes: null,
|
|
694
838
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image-by-key.html',
|
|
695
839
|
guideUrl: 'https://ampscript.guide/contentimagebykey/',
|
|
696
840
|
minArgs: 1,
|
|
@@ -701,6 +845,8 @@ export const FUNCTIONS = [
|
|
|
701
845
|
{ name: 'customerKey', description: 'Image asset customer key', type: 'string' },
|
|
702
846
|
{
|
|
703
847
|
name: 'altText',
|
|
848
|
+
mcnSince: null,
|
|
849
|
+
mcnNotes: null,
|
|
704
850
|
description: 'Alt text for the image',
|
|
705
851
|
type: 'string',
|
|
706
852
|
optional: true,
|
|
@@ -711,6 +857,8 @@ export const FUNCTIONS = [
|
|
|
711
857
|
},
|
|
712
858
|
{
|
|
713
859
|
name: 'CreateMSCRMRecord',
|
|
860
|
+
mcnSince: null,
|
|
861
|
+
mcnNotes: null,
|
|
714
862
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-create-record.html',
|
|
715
863
|
guideUrl: 'https://ampscript.guide/createmscrmrecord/',
|
|
716
864
|
minArgs: 3,
|
|
@@ -723,6 +871,8 @@ export const FUNCTIONS = [
|
|
|
723
871
|
{ name: 'value1', description: 'First field value' },
|
|
724
872
|
{
|
|
725
873
|
name: 'fieldN',
|
|
874
|
+
mcnSince: null,
|
|
875
|
+
mcnNotes: null,
|
|
726
876
|
description: 'Additional field name',
|
|
727
877
|
type: 'string',
|
|
728
878
|
optional: true,
|
|
@@ -734,6 +884,8 @@ export const FUNCTIONS = [
|
|
|
734
884
|
},
|
|
735
885
|
{
|
|
736
886
|
name: 'CreateObject',
|
|
887
|
+
mcnSince: null,
|
|
888
|
+
mcnNotes: null,
|
|
737
889
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-create-object.html',
|
|
738
890
|
guideUrl: 'https://ampscript.guide/createobject/',
|
|
739
891
|
minArgs: 1,
|
|
@@ -748,6 +900,8 @@ export const FUNCTIONS = [
|
|
|
748
900
|
},
|
|
749
901
|
{
|
|
750
902
|
name: 'CreateSalesforceObject',
|
|
903
|
+
mcnSince: null,
|
|
904
|
+
mcnNotes: null,
|
|
751
905
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-create-object.html',
|
|
752
906
|
guideUrl: 'https://ampscript.guide/createsalesforceobject/',
|
|
753
907
|
minArgs: 4,
|
|
@@ -761,6 +915,8 @@ export const FUNCTIONS = [
|
|
|
761
915
|
{ name: 'value1', description: 'First field value' },
|
|
762
916
|
{
|
|
763
917
|
name: 'fieldN',
|
|
918
|
+
mcnSince: null,
|
|
919
|
+
mcnNotes: null,
|
|
764
920
|
description: 'Additional field API name',
|
|
765
921
|
type: 'string',
|
|
766
922
|
optional: true,
|
|
@@ -772,6 +928,8 @@ export const FUNCTIONS = [
|
|
|
772
928
|
},
|
|
773
929
|
{
|
|
774
930
|
name: 'CreateSmsConversation',
|
|
931
|
+
mcnSince: null,
|
|
932
|
+
mcnNotes: null,
|
|
775
933
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-create-sms-conversation.html',
|
|
776
934
|
guideUrl: 'https://ampscript.guide/createsmsconversation/',
|
|
777
935
|
minArgs: 4,
|
|
@@ -789,6 +947,8 @@ export const FUNCTIONS = [
|
|
|
789
947
|
},
|
|
790
948
|
{
|
|
791
949
|
name: 'DataExtensionRowCount',
|
|
950
|
+
mcnSince: null,
|
|
951
|
+
mcnNotes: null,
|
|
792
952
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-de-row-count.html',
|
|
793
953
|
guideUrl: 'https://ampscript.guide/dataextensionrowcount/',
|
|
794
954
|
minArgs: 1,
|
|
@@ -798,6 +958,8 @@ export const FUNCTIONS = [
|
|
|
798
958
|
params: [
|
|
799
959
|
{
|
|
800
960
|
name: 'dataExtensionName',
|
|
961
|
+
mcnSince: null,
|
|
962
|
+
mcnNotes: null,
|
|
801
963
|
description: 'Data extension name or external key',
|
|
802
964
|
type: 'string',
|
|
803
965
|
},
|
|
@@ -808,6 +970,8 @@ export const FUNCTIONS = [
|
|
|
808
970
|
},
|
|
809
971
|
{
|
|
810
972
|
name: 'DateAdd',
|
|
973
|
+
mcnSince: 67,
|
|
974
|
+
mcnNotes: null,
|
|
811
975
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-add.html',
|
|
812
976
|
guideUrl: 'https://ampscript.guide/dateadd/',
|
|
813
977
|
minArgs: 3,
|
|
@@ -825,6 +989,8 @@ export const FUNCTIONS = [
|
|
|
825
989
|
},
|
|
826
990
|
{
|
|
827
991
|
name: 'DateDiff',
|
|
992
|
+
mcnSince: 67,
|
|
993
|
+
mcnNotes: null,
|
|
828
994
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-diff.html',
|
|
829
995
|
guideUrl: 'https://ampscript.guide/datediff/',
|
|
830
996
|
minArgs: 3,
|
|
@@ -841,6 +1007,8 @@ export const FUNCTIONS = [
|
|
|
841
1007
|
},
|
|
842
1008
|
{
|
|
843
1009
|
name: 'DateParse',
|
|
1010
|
+
mcnSince: 67,
|
|
1011
|
+
mcnNotes: null,
|
|
844
1012
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-parse.html',
|
|
845
1013
|
guideUrl: 'https://ampscript.guide/dateparse/',
|
|
846
1014
|
minArgs: 1,
|
|
@@ -851,6 +1019,8 @@ export const FUNCTIONS = [
|
|
|
851
1019
|
{ name: 'dateString', description: 'String to parse as a date', type: 'string' },
|
|
852
1020
|
{
|
|
853
1021
|
name: 'convertToLocal',
|
|
1022
|
+
mcnSince: null,
|
|
1023
|
+
mcnNotes: null,
|
|
854
1024
|
description: 'Convert to local time zone',
|
|
855
1025
|
type: 'boolean',
|
|
856
1026
|
optional: true,
|
|
@@ -861,6 +1031,8 @@ export const FUNCTIONS = [
|
|
|
861
1031
|
},
|
|
862
1032
|
{
|
|
863
1033
|
name: 'DatePart',
|
|
1034
|
+
mcnSince: null,
|
|
1035
|
+
mcnNotes: null,
|
|
864
1036
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-part.html',
|
|
865
1037
|
guideUrl: 'https://ampscript.guide/datepart/',
|
|
866
1038
|
minArgs: 2,
|
|
@@ -871,6 +1043,8 @@ export const FUNCTIONS = [
|
|
|
871
1043
|
{ name: 'date', description: 'Date to extract from', type: 'date' },
|
|
872
1044
|
{
|
|
873
1045
|
name: 'datePart',
|
|
1046
|
+
mcnSince: null,
|
|
1047
|
+
mcnNotes: null,
|
|
874
1048
|
description: 'Part to extract (Y, M, D, H, MI, DOW)',
|
|
875
1049
|
type: 'string',
|
|
876
1050
|
},
|
|
@@ -880,6 +1054,8 @@ export const FUNCTIONS = [
|
|
|
880
1054
|
},
|
|
881
1055
|
{
|
|
882
1056
|
name: 'DecryptSymmetric',
|
|
1057
|
+
mcnSince: null,
|
|
1058
|
+
mcnNotes: null,
|
|
883
1059
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-decrypt-symmetric.html',
|
|
884
1060
|
guideUrl: 'https://ampscript.guide/decryptsymmetric/',
|
|
885
1061
|
minArgs: 8,
|
|
@@ -891,22 +1067,30 @@ export const FUNCTIONS = [
|
|
|
891
1067
|
{ name: 'algorithm', description: 'Encryption algorithm (e.g. AES)', type: 'string' },
|
|
892
1068
|
{
|
|
893
1069
|
name: 'passwordExternalKey',
|
|
1070
|
+
mcnSince: null,
|
|
1071
|
+
mcnNotes: null,
|
|
894
1072
|
description: 'External key for the password',
|
|
895
1073
|
type: 'string',
|
|
896
1074
|
},
|
|
897
1075
|
{
|
|
898
1076
|
name: 'password',
|
|
1077
|
+
mcnSince: null,
|
|
1078
|
+
mcnNotes: null,
|
|
899
1079
|
description: 'Password value or empty to use external key',
|
|
900
1080
|
type: 'string',
|
|
901
1081
|
},
|
|
902
1082
|
{ name: 'saltExternalKey', description: 'External key for the salt', type: 'string' },
|
|
903
1083
|
{
|
|
904
1084
|
name: 'salt',
|
|
1085
|
+
mcnSince: null,
|
|
1086
|
+
mcnNotes: null,
|
|
905
1087
|
description: 'Salt value or empty to use external key',
|
|
906
1088
|
type: 'string',
|
|
907
1089
|
},
|
|
908
1090
|
{
|
|
909
1091
|
name: 'ivExternalKey',
|
|
1092
|
+
mcnSince: null,
|
|
1093
|
+
mcnNotes: null,
|
|
910
1094
|
description: 'External key for the initialization vector',
|
|
911
1095
|
type: 'string',
|
|
912
1096
|
},
|
|
@@ -917,6 +1101,8 @@ export const FUNCTIONS = [
|
|
|
917
1101
|
},
|
|
918
1102
|
{
|
|
919
1103
|
name: 'DeleteData',
|
|
1104
|
+
mcnSince: null,
|
|
1105
|
+
mcnNotes: null,
|
|
920
1106
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-delete-data.html',
|
|
921
1107
|
guideUrl: 'https://ampscript.guide/deletedata/',
|
|
922
1108
|
minArgs: 3,
|
|
@@ -930,6 +1116,8 @@ export const FUNCTIONS = [
|
|
|
930
1116
|
{ name: 'value1', description: 'First filter column value' },
|
|
931
1117
|
{
|
|
932
1118
|
name: 'columnN',
|
|
1119
|
+
mcnSince: null,
|
|
1120
|
+
mcnNotes: null,
|
|
933
1121
|
description: 'Additional filter column name',
|
|
934
1122
|
type: 'string',
|
|
935
1123
|
optional: true,
|
|
@@ -941,6 +1129,8 @@ export const FUNCTIONS = [
|
|
|
941
1129
|
},
|
|
942
1130
|
{
|
|
943
1131
|
name: 'DeleteDE',
|
|
1132
|
+
mcnSince: null,
|
|
1133
|
+
mcnNotes: null,
|
|
944
1134
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-delete-de.html',
|
|
945
1135
|
guideUrl: 'https://ampscript.guide/deletede/',
|
|
946
1136
|
minArgs: 3,
|
|
@@ -953,6 +1143,8 @@ export const FUNCTIONS = [
|
|
|
953
1143
|
{ name: 'value1', description: 'First filter column value' },
|
|
954
1144
|
{
|
|
955
1145
|
name: 'columnN',
|
|
1146
|
+
mcnSince: null,
|
|
1147
|
+
mcnNotes: null,
|
|
956
1148
|
description: 'Additional filter column name',
|
|
957
1149
|
type: 'string',
|
|
958
1150
|
optional: true,
|
|
@@ -964,6 +1156,8 @@ export const FUNCTIONS = [
|
|
|
964
1156
|
},
|
|
965
1157
|
{
|
|
966
1158
|
name: 'DescribeMSCRMEntities',
|
|
1159
|
+
mcnSince: null,
|
|
1160
|
+
mcnNotes: null,
|
|
967
1161
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entities.html',
|
|
968
1162
|
guideUrl: 'https://ampscript.guide/describemscrmentities/',
|
|
969
1163
|
minArgs: 0,
|
|
@@ -976,6 +1170,8 @@ export const FUNCTIONS = [
|
|
|
976
1170
|
},
|
|
977
1171
|
{
|
|
978
1172
|
name: 'DescribeMSCRMEntityAttributes',
|
|
1173
|
+
mcnSince: null,
|
|
1174
|
+
mcnNotes: null,
|
|
979
1175
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entity-attributes.html',
|
|
980
1176
|
guideUrl: 'https://ampscript.guide/describemscrmentityattributes/',
|
|
981
1177
|
minArgs: 1,
|
|
@@ -988,6 +1184,8 @@ export const FUNCTIONS = [
|
|
|
988
1184
|
},
|
|
989
1185
|
{
|
|
990
1186
|
name: 'Divide',
|
|
1187
|
+
mcnSince: 67,
|
|
1188
|
+
mcnNotes: null,
|
|
991
1189
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-divide.html',
|
|
992
1190
|
guideUrl: 'https://ampscript.guide/divide/',
|
|
993
1191
|
minArgs: 2,
|
|
@@ -1004,6 +1202,8 @@ export const FUNCTIONS = [
|
|
|
1004
1202
|
},
|
|
1005
1203
|
{
|
|
1006
1204
|
name: 'Domain',
|
|
1205
|
+
mcnSince: null,
|
|
1206
|
+
mcnNotes: null,
|
|
1007
1207
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-domain.html',
|
|
1008
1208
|
guideUrl: 'https://ampscript.guide/domain/',
|
|
1009
1209
|
minArgs: 1,
|
|
@@ -1017,6 +1217,8 @@ export const FUNCTIONS = [
|
|
|
1017
1217
|
},
|
|
1018
1218
|
{
|
|
1019
1219
|
name: 'Empty',
|
|
1220
|
+
mcnSince: 67,
|
|
1221
|
+
mcnNotes: null,
|
|
1020
1222
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-empty.html',
|
|
1021
1223
|
guideUrl: 'https://ampscript.guide/empty/',
|
|
1022
1224
|
minArgs: 1,
|
|
@@ -1030,6 +1232,8 @@ export const FUNCTIONS = [
|
|
|
1030
1232
|
},
|
|
1031
1233
|
{
|
|
1032
1234
|
name: 'EncryptSymmetric',
|
|
1235
|
+
mcnSince: null,
|
|
1236
|
+
mcnNotes: null,
|
|
1033
1237
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-encrypt-symmetric.html',
|
|
1034
1238
|
guideUrl: 'https://ampscript.guide/encryptsymmetric/',
|
|
1035
1239
|
minArgs: 8,
|
|
@@ -1041,22 +1245,30 @@ export const FUNCTIONS = [
|
|
|
1041
1245
|
{ name: 'algorithm', description: 'Encryption algorithm (e.g. AES)', type: 'string' },
|
|
1042
1246
|
{
|
|
1043
1247
|
name: 'passwordExternalKey',
|
|
1248
|
+
mcnSince: null,
|
|
1249
|
+
mcnNotes: null,
|
|
1044
1250
|
description: 'External key for the password',
|
|
1045
1251
|
type: 'string',
|
|
1046
1252
|
},
|
|
1047
1253
|
{
|
|
1048
1254
|
name: 'password',
|
|
1255
|
+
mcnSince: null,
|
|
1256
|
+
mcnNotes: null,
|
|
1049
1257
|
description: 'Password value or empty to use external key',
|
|
1050
1258
|
type: 'string',
|
|
1051
1259
|
},
|
|
1052
1260
|
{ name: 'saltExternalKey', description: 'External key for the salt', type: 'string' },
|
|
1053
1261
|
{
|
|
1054
1262
|
name: 'salt',
|
|
1263
|
+
mcnSince: null,
|
|
1264
|
+
mcnNotes: null,
|
|
1055
1265
|
description: 'Salt value or empty to use external key',
|
|
1056
1266
|
type: 'string',
|
|
1057
1267
|
},
|
|
1058
1268
|
{
|
|
1059
1269
|
name: 'ivExternalKey',
|
|
1270
|
+
mcnSince: null,
|
|
1271
|
+
mcnNotes: null,
|
|
1060
1272
|
description: 'External key for the initialization vector',
|
|
1061
1273
|
type: 'string',
|
|
1062
1274
|
},
|
|
@@ -1067,6 +1279,8 @@ export const FUNCTIONS = [
|
|
|
1067
1279
|
},
|
|
1068
1280
|
{
|
|
1069
1281
|
name: 'EndImpressionRegion',
|
|
1282
|
+
mcnSince: null,
|
|
1283
|
+
mcnNotes: null,
|
|
1070
1284
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-end-impression-region.html',
|
|
1071
1285
|
guideUrl: 'https://ampscript.guide/endimpressionregion/',
|
|
1072
1286
|
minArgs: 0,
|
|
@@ -1076,6 +1290,8 @@ export const FUNCTIONS = [
|
|
|
1076
1290
|
params: [
|
|
1077
1291
|
{
|
|
1078
1292
|
name: 'trackImpression',
|
|
1293
|
+
mcnSince: null,
|
|
1294
|
+
mcnNotes: null,
|
|
1079
1295
|
description: 'Whether to track the impression',
|
|
1080
1296
|
type: 'boolean',
|
|
1081
1297
|
optional: true,
|
|
@@ -1086,6 +1302,8 @@ export const FUNCTIONS = [
|
|
|
1086
1302
|
},
|
|
1087
1303
|
{
|
|
1088
1304
|
name: 'EndSmsConversation',
|
|
1305
|
+
mcnSince: null,
|
|
1306
|
+
mcnNotes: null,
|
|
1089
1307
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-end-sms-conversation.html',
|
|
1090
1308
|
guideUrl: 'https://ampscript.guide/endsmsconversation/',
|
|
1091
1309
|
minArgs: 2,
|
|
@@ -1101,6 +1319,8 @@ export const FUNCTIONS = [
|
|
|
1101
1319
|
},
|
|
1102
1320
|
{
|
|
1103
1321
|
name: 'ExecuteFilter',
|
|
1322
|
+
mcnSince: null,
|
|
1323
|
+
mcnNotes: null,
|
|
1104
1324
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-execute-filter.html',
|
|
1105
1325
|
guideUrl: 'https://ampscript.guide/executefilter/',
|
|
1106
1326
|
minArgs: 1,
|
|
@@ -1113,6 +1333,8 @@ export const FUNCTIONS = [
|
|
|
1113
1333
|
},
|
|
1114
1334
|
{
|
|
1115
1335
|
name: 'ExecuteFilterOrderedRows',
|
|
1336
|
+
mcnSince: null,
|
|
1337
|
+
mcnNotes: null,
|
|
1116
1338
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-execute-filter-ordered-rows.html',
|
|
1117
1339
|
guideUrl: 'https://ampscript.guide/executefilterorderedrows/',
|
|
1118
1340
|
minArgs: 3,
|
|
@@ -1129,6 +1351,8 @@ export const FUNCTIONS = [
|
|
|
1129
1351
|
},
|
|
1130
1352
|
{
|
|
1131
1353
|
name: 'Field',
|
|
1354
|
+
mcnSince: 67,
|
|
1355
|
+
mcnNotes: null,
|
|
1132
1356
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-field.html',
|
|
1133
1357
|
guideUrl: 'https://ampscript.guide/field/',
|
|
1134
1358
|
minArgs: 2,
|
|
@@ -1140,6 +1364,8 @@ export const FUNCTIONS = [
|
|
|
1140
1364
|
{ name: 'fieldName', description: 'Column name to retrieve', type: 'string' },
|
|
1141
1365
|
{
|
|
1142
1366
|
name: 'ordinal',
|
|
1367
|
+
mcnSince: null,
|
|
1368
|
+
mcnNotes: null,
|
|
1143
1369
|
description: 'Column ordinal (0-based)',
|
|
1144
1370
|
type: 'number',
|
|
1145
1371
|
optional: true,
|
|
@@ -1151,6 +1377,8 @@ export const FUNCTIONS = [
|
|
|
1151
1377
|
},
|
|
1152
1378
|
{
|
|
1153
1379
|
name: 'Format',
|
|
1380
|
+
mcnSince: 67,
|
|
1381
|
+
mcnNotes: null,
|
|
1154
1382
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-format.html',
|
|
1155
1383
|
guideUrl: 'https://ampscript.guide/format/',
|
|
1156
1384
|
minArgs: 2,
|
|
@@ -1162,6 +1390,8 @@ export const FUNCTIONS = [
|
|
|
1162
1390
|
{ name: 'formatString', description: '.NET format string', type: 'string' },
|
|
1163
1391
|
{
|
|
1164
1392
|
name: 'culture',
|
|
1393
|
+
mcnSince: null,
|
|
1394
|
+
mcnNotes: null,
|
|
1165
1395
|
description: 'Culture code (e.g. en-US)',
|
|
1166
1396
|
type: 'string',
|
|
1167
1397
|
optional: true,
|
|
@@ -1173,6 +1403,8 @@ export const FUNCTIONS = [
|
|
|
1173
1403
|
},
|
|
1174
1404
|
{
|
|
1175
1405
|
name: 'FormatCurrency',
|
|
1406
|
+
mcnSince: 67,
|
|
1407
|
+
mcnNotes: null,
|
|
1176
1408
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-formatCurrency.html',
|
|
1177
1409
|
guideUrl: 'https://ampscript.guide/formatcurrency/',
|
|
1178
1410
|
minArgs: 2,
|
|
@@ -1184,12 +1416,16 @@ export const FUNCTIONS = [
|
|
|
1184
1416
|
{ name: 'locale', description: 'Locale code (e.g. en-US)', type: 'string' },
|
|
1185
1417
|
{
|
|
1186
1418
|
name: 'decimalPlaces',
|
|
1419
|
+
mcnSince: null,
|
|
1420
|
+
mcnNotes: null,
|
|
1187
1421
|
description: 'Number of decimal places',
|
|
1188
1422
|
type: 'number',
|
|
1189
1423
|
optional: true,
|
|
1190
1424
|
},
|
|
1191
1425
|
{
|
|
1192
1426
|
name: 'symbol',
|
|
1427
|
+
mcnSince: null,
|
|
1428
|
+
mcnNotes: null,
|
|
1193
1429
|
description: 'Custom currency symbol',
|
|
1194
1430
|
type: 'string',
|
|
1195
1431
|
optional: true,
|
|
@@ -1200,6 +1436,9 @@ export const FUNCTIONS = [
|
|
|
1200
1436
|
},
|
|
1201
1437
|
{
|
|
1202
1438
|
name: 'FormatDate',
|
|
1439
|
+
mcnSince: 67,
|
|
1440
|
+
mcnNotes:
|
|
1441
|
+
'In MCN, uses Java SimpleDateFormat format strings instead of .NET. Omitting dateFormat returns the G standard format (e.g. "5/15/2026 1:23:45 PM").',
|
|
1203
1442
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-format-date.html',
|
|
1204
1443
|
guideUrl: 'https://ampscript.guide/formatdate/',
|
|
1205
1444
|
minArgs: 2,
|
|
@@ -1210,6 +1449,8 @@ export const FUNCTIONS = [
|
|
|
1210
1449
|
{ name: 'date', description: 'Date to format', type: 'date' },
|
|
1211
1450
|
{
|
|
1212
1451
|
name: 'format',
|
|
1452
|
+
mcnSince: 67,
|
|
1453
|
+
mcnNotes: null,
|
|
1213
1454
|
description: 'Format type or pattern (s, l, iso, custom)',
|
|
1214
1455
|
type: 'string',
|
|
1215
1456
|
},
|
|
@@ -1222,6 +1463,8 @@ export const FUNCTIONS = [
|
|
|
1222
1463
|
},
|
|
1223
1464
|
{
|
|
1224
1465
|
name: 'FormatNumber',
|
|
1466
|
+
mcnSince: 67,
|
|
1467
|
+
mcnNotes: null,
|
|
1225
1468
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-formatNumber.html',
|
|
1226
1469
|
guideUrl: 'https://ampscript.guide/formatnumber/',
|
|
1227
1470
|
minArgs: 2,
|
|
@@ -1238,6 +1481,8 @@ export const FUNCTIONS = [
|
|
|
1238
1481
|
},
|
|
1239
1482
|
{
|
|
1240
1483
|
name: 'GetJWT',
|
|
1484
|
+
mcnSince: null,
|
|
1485
|
+
mcnNotes: null,
|
|
1241
1486
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-get-jwt.html',
|
|
1242
1487
|
guideUrl: 'https://ampscript.guide/getjwt/',
|
|
1243
1488
|
minArgs: 3,
|
|
@@ -1254,6 +1499,8 @@ export const FUNCTIONS = [
|
|
|
1254
1499
|
},
|
|
1255
1500
|
{
|
|
1256
1501
|
name: 'GetJWTByKeyName',
|
|
1502
|
+
mcnSince: null,
|
|
1503
|
+
mcnNotes: null,
|
|
1257
1504
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-get-jwt-by-key-name.html',
|
|
1258
1505
|
guideUrl: 'https://ampscript.guide/getjwtbykeyname/',
|
|
1259
1506
|
minArgs: 3,
|
|
@@ -1270,6 +1517,8 @@ export const FUNCTIONS = [
|
|
|
1270
1517
|
},
|
|
1271
1518
|
{
|
|
1272
1519
|
name: 'GetPortfolioItem',
|
|
1520
|
+
mcnSince: null,
|
|
1521
|
+
mcnNotes: null,
|
|
1273
1522
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-get-portfolio-item.html',
|
|
1274
1523
|
guideUrl: 'https://ampscript.guide/getportfolioitem/',
|
|
1275
1524
|
minArgs: 1,
|
|
@@ -1282,6 +1531,8 @@ export const FUNCTIONS = [
|
|
|
1282
1531
|
},
|
|
1283
1532
|
{
|
|
1284
1533
|
name: 'GetPublishedSocialContent',
|
|
1534
|
+
mcnSince: null,
|
|
1535
|
+
mcnNotes: null,
|
|
1285
1536
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-published-social-content.html',
|
|
1286
1537
|
guideUrl: 'https://ampscript.guide/getpublishedsocialcontent/',
|
|
1287
1538
|
minArgs: 1,
|
|
@@ -1294,6 +1545,8 @@ export const FUNCTIONS = [
|
|
|
1294
1545
|
},
|
|
1295
1546
|
{
|
|
1296
1547
|
name: 'GetSendTime',
|
|
1548
|
+
mcnSince: null,
|
|
1549
|
+
mcnNotes: null,
|
|
1297
1550
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-get-send-time.html',
|
|
1298
1551
|
guideUrl: 'https://ampscript.guide/getsendtime/',
|
|
1299
1552
|
minArgs: 0,
|
|
@@ -1304,6 +1557,8 @@ export const FUNCTIONS = [
|
|
|
1304
1557
|
params: [
|
|
1305
1558
|
{
|
|
1306
1559
|
name: 'persistFormat',
|
|
1560
|
+
mcnSince: null,
|
|
1561
|
+
mcnNotes: null,
|
|
1307
1562
|
description: 'Persist date format flag',
|
|
1308
1563
|
type: 'boolean',
|
|
1309
1564
|
optional: true,
|
|
@@ -1314,6 +1569,8 @@ export const FUNCTIONS = [
|
|
|
1314
1569
|
},
|
|
1315
1570
|
{
|
|
1316
1571
|
name: 'GetSocialPublishURL',
|
|
1572
|
+
mcnSince: null,
|
|
1573
|
+
mcnNotes: null,
|
|
1317
1574
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-social-publish-url.html',
|
|
1318
1575
|
guideUrl: 'https://ampscript.guide/getsocialpublishurl/',
|
|
1319
1576
|
minArgs: 2,
|
|
@@ -1329,6 +1586,8 @@ export const FUNCTIONS = [
|
|
|
1329
1586
|
},
|
|
1330
1587
|
{
|
|
1331
1588
|
name: 'GetSocialPublishURLByName',
|
|
1589
|
+
mcnSince: null,
|
|
1590
|
+
mcnNotes: null,
|
|
1332
1591
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-social-publish-url-by-name.html',
|
|
1333
1592
|
guideUrl: 'https://ampscript.guide/getsocialpublishurlbyname/',
|
|
1334
1593
|
minArgs: 2,
|
|
@@ -1344,6 +1603,8 @@ export const FUNCTIONS = [
|
|
|
1344
1603
|
},
|
|
1345
1604
|
{
|
|
1346
1605
|
name: 'GUID',
|
|
1606
|
+
mcnSince: null,
|
|
1607
|
+
mcnNotes: null,
|
|
1347
1608
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-guid.html',
|
|
1348
1609
|
guideUrl: 'https://ampscript.guide/guid/',
|
|
1349
1610
|
minArgs: 0,
|
|
@@ -1357,6 +1618,8 @@ export const FUNCTIONS = [
|
|
|
1357
1618
|
},
|
|
1358
1619
|
{
|
|
1359
1620
|
name: 'HTTPGet',
|
|
1621
|
+
mcnSince: null,
|
|
1622
|
+
mcnNotes: null,
|
|
1360
1623
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-get.html',
|
|
1361
1624
|
guideUrl: 'https://ampscript.guide/httpget/',
|
|
1362
1625
|
minArgs: 1,
|
|
@@ -1367,18 +1630,24 @@ export const FUNCTIONS = [
|
|
|
1367
1630
|
{ name: 'url', description: 'Request URL', type: 'string' },
|
|
1368
1631
|
{
|
|
1369
1632
|
name: 'continueOnError',
|
|
1633
|
+
mcnSince: null,
|
|
1634
|
+
mcnNotes: null,
|
|
1370
1635
|
description: 'Continue on error (true/false)',
|
|
1371
1636
|
type: 'boolean',
|
|
1372
1637
|
optional: true,
|
|
1373
1638
|
},
|
|
1374
1639
|
{
|
|
1375
1640
|
name: 'headerName',
|
|
1641
|
+
mcnSince: null,
|
|
1642
|
+
mcnNotes: null,
|
|
1376
1643
|
description: 'Request header name',
|
|
1377
1644
|
type: 'string',
|
|
1378
1645
|
optional: true,
|
|
1379
1646
|
},
|
|
1380
1647
|
{
|
|
1381
1648
|
name: 'headerValue',
|
|
1649
|
+
mcnSince: null,
|
|
1650
|
+
mcnNotes: null,
|
|
1382
1651
|
description: 'Request header value',
|
|
1383
1652
|
type: 'string',
|
|
1384
1653
|
optional: true,
|
|
@@ -1390,6 +1659,8 @@ export const FUNCTIONS = [
|
|
|
1390
1659
|
},
|
|
1391
1660
|
{
|
|
1392
1661
|
name: 'HTTPPost',
|
|
1662
|
+
mcnSince: null,
|
|
1663
|
+
mcnNotes: null,
|
|
1393
1664
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post.html',
|
|
1394
1665
|
guideUrl: 'https://ampscript.guide/httppost/',
|
|
1395
1666
|
minArgs: 3,
|
|
@@ -1403,18 +1674,24 @@ export const FUNCTIONS = [
|
|
|
1403
1674
|
{ name: 'payload', description: 'Request body', type: 'string' },
|
|
1404
1675
|
{
|
|
1405
1676
|
name: 'response',
|
|
1677
|
+
mcnSince: null,
|
|
1678
|
+
mcnNotes: null,
|
|
1406
1679
|
description: 'Output variable for response body (pass @variable)',
|
|
1407
1680
|
type: 'string',
|
|
1408
1681
|
optional: true,
|
|
1409
1682
|
},
|
|
1410
1683
|
{
|
|
1411
1684
|
name: 'headerName',
|
|
1685
|
+
mcnSince: null,
|
|
1686
|
+
mcnNotes: null,
|
|
1412
1687
|
description: 'Request header name',
|
|
1413
1688
|
type: 'string',
|
|
1414
1689
|
optional: true,
|
|
1415
1690
|
},
|
|
1416
1691
|
{
|
|
1417
1692
|
name: 'headerValue',
|
|
1693
|
+
mcnSince: null,
|
|
1694
|
+
mcnNotes: null,
|
|
1418
1695
|
description: 'Request header value',
|
|
1419
1696
|
type: 'string',
|
|
1420
1697
|
optional: true,
|
|
@@ -1425,6 +1702,8 @@ export const FUNCTIONS = [
|
|
|
1425
1702
|
},
|
|
1426
1703
|
{
|
|
1427
1704
|
name: 'HTTPPost2',
|
|
1705
|
+
mcnSince: null,
|
|
1706
|
+
mcnNotes: null,
|
|
1428
1707
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post2.html',
|
|
1429
1708
|
guideUrl: 'https://ampscript.guide/httppost2/',
|
|
1430
1709
|
minArgs: 7,
|
|
@@ -1439,6 +1718,8 @@ export const FUNCTIONS = [
|
|
|
1439
1718
|
{ name: 'response', description: 'Output variable for response body', type: 'string' },
|
|
1440
1719
|
{
|
|
1441
1720
|
name: 'responseHeaders',
|
|
1721
|
+
mcnSince: null,
|
|
1722
|
+
mcnNotes: null,
|
|
1442
1723
|
description: 'Output variable for response headers',
|
|
1443
1724
|
type: 'string',
|
|
1444
1725
|
},
|
|
@@ -1450,6 +1731,8 @@ export const FUNCTIONS = [
|
|
|
1450
1731
|
},
|
|
1451
1732
|
{
|
|
1452
1733
|
name: 'HTTPPostWithRetry',
|
|
1734
|
+
mcnSince: null,
|
|
1735
|
+
mcnNotes: null,
|
|
1453
1736
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post-with-retry.html',
|
|
1454
1737
|
guideUrl: 'https://ampscript.guide/httppostwithretry/',
|
|
1455
1738
|
minArgs: 7,
|
|
@@ -1463,12 +1746,16 @@ export const FUNCTIONS = [
|
|
|
1463
1746
|
{ name: 'response', description: 'Output variable for response body', type: 'string' },
|
|
1464
1747
|
{
|
|
1465
1748
|
name: 'responseHeaders',
|
|
1749
|
+
mcnSince: null,
|
|
1750
|
+
mcnNotes: null,
|
|
1466
1751
|
description: 'Output variable for response headers',
|
|
1467
1752
|
type: 'string',
|
|
1468
1753
|
},
|
|
1469
1754
|
{ name: 'maxRetries', description: 'Maximum number of retry attempts', type: 'number' },
|
|
1470
1755
|
{
|
|
1471
1756
|
name: 'retryDelay',
|
|
1757
|
+
mcnSince: null,
|
|
1758
|
+
mcnNotes: null,
|
|
1472
1759
|
description: 'Delay between retries in milliseconds',
|
|
1473
1760
|
type: 'number',
|
|
1474
1761
|
},
|
|
@@ -1478,6 +1765,8 @@ export const FUNCTIONS = [
|
|
|
1478
1765
|
},
|
|
1479
1766
|
{
|
|
1480
1767
|
name: 'HTTPRequestHeader',
|
|
1768
|
+
mcnSince: null,
|
|
1769
|
+
mcnNotes: null,
|
|
1481
1770
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-request-header.html',
|
|
1482
1771
|
guideUrl: 'https://ampscript.guide/httprequestheader/',
|
|
1483
1772
|
minArgs: 1,
|
|
@@ -1492,6 +1781,8 @@ export const FUNCTIONS = [
|
|
|
1492
1781
|
},
|
|
1493
1782
|
{
|
|
1494
1783
|
name: 'IIf',
|
|
1784
|
+
mcnSince: 67,
|
|
1785
|
+
mcnNotes: null,
|
|
1495
1786
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-iif.html',
|
|
1496
1787
|
guideUrl: 'https://ampscript.guide/iif/',
|
|
1497
1788
|
minArgs: 3,
|
|
@@ -1509,6 +1800,8 @@ export const FUNCTIONS = [
|
|
|
1509
1800
|
},
|
|
1510
1801
|
{
|
|
1511
1802
|
name: 'Image',
|
|
1803
|
+
mcnSince: null,
|
|
1804
|
+
mcnNotes: null,
|
|
1512
1805
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image.html',
|
|
1513
1806
|
guideUrl: 'https://ampscript.guide/image/',
|
|
1514
1807
|
minArgs: 2,
|
|
@@ -1519,11 +1812,15 @@ export const FUNCTIONS = [
|
|
|
1519
1812
|
params: [
|
|
1520
1813
|
{
|
|
1521
1814
|
name: 'customerKey',
|
|
1815
|
+
mcnSince: null,
|
|
1816
|
+
mcnNotes: null,
|
|
1522
1817
|
description: 'Customer/external key of the image',
|
|
1523
1818
|
type: 'string',
|
|
1524
1819
|
},
|
|
1525
1820
|
{
|
|
1526
1821
|
name: 'fallbackKey',
|
|
1822
|
+
mcnSince: null,
|
|
1823
|
+
mcnNotes: null,
|
|
1527
1824
|
description:
|
|
1528
1825
|
'Customer/external key of the fallback image if the primary is not found',
|
|
1529
1826
|
type: 'string',
|
|
@@ -1534,6 +1831,8 @@ export const FUNCTIONS = [
|
|
|
1534
1831
|
},
|
|
1535
1832
|
{
|
|
1536
1833
|
name: 'IndexOf',
|
|
1834
|
+
mcnSince: 67,
|
|
1835
|
+
mcnNotes: null,
|
|
1537
1836
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-index-of.html',
|
|
1538
1837
|
guideUrl: 'https://ampscript.guide/indexof/',
|
|
1539
1838
|
minArgs: 2,
|
|
@@ -1550,6 +1849,8 @@ export const FUNCTIONS = [
|
|
|
1550
1849
|
},
|
|
1551
1850
|
{
|
|
1552
1851
|
name: 'InsertData',
|
|
1852
|
+
mcnSince: null,
|
|
1853
|
+
mcnNotes: null,
|
|
1553
1854
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-insert-data.html',
|
|
1554
1855
|
guideUrl: 'https://ampscript.guide/insertdata/',
|
|
1555
1856
|
minArgs: 3,
|
|
@@ -1562,6 +1863,8 @@ export const FUNCTIONS = [
|
|
|
1562
1863
|
{ name: 'value1', description: 'First column value' },
|
|
1563
1864
|
{
|
|
1564
1865
|
name: 'columnN',
|
|
1866
|
+
mcnSince: null,
|
|
1867
|
+
mcnNotes: null,
|
|
1565
1868
|
description: 'Additional column name',
|
|
1566
1869
|
type: 'string',
|
|
1567
1870
|
optional: true,
|
|
@@ -1573,6 +1876,8 @@ export const FUNCTIONS = [
|
|
|
1573
1876
|
},
|
|
1574
1877
|
{
|
|
1575
1878
|
name: 'InsertDE',
|
|
1879
|
+
mcnSince: null,
|
|
1880
|
+
mcnNotes: null,
|
|
1576
1881
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-insert-de.html',
|
|
1577
1882
|
guideUrl: 'https://ampscript.guide/insertde/',
|
|
1578
1883
|
minArgs: 3,
|
|
@@ -1585,6 +1890,8 @@ export const FUNCTIONS = [
|
|
|
1585
1890
|
{ name: 'value1', description: 'First column value' },
|
|
1586
1891
|
{
|
|
1587
1892
|
name: 'columnN',
|
|
1893
|
+
mcnSince: null,
|
|
1894
|
+
mcnNotes: null,
|
|
1588
1895
|
description: 'Additional column name',
|
|
1589
1896
|
type: 'string',
|
|
1590
1897
|
optional: true,
|
|
@@ -1596,6 +1903,8 @@ export const FUNCTIONS = [
|
|
|
1596
1903
|
},
|
|
1597
1904
|
{
|
|
1598
1905
|
name: 'InvokeCreate',
|
|
1906
|
+
mcnSince: null,
|
|
1907
|
+
mcnNotes: null,
|
|
1599
1908
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-create.html',
|
|
1600
1909
|
guideUrl: 'https://ampscript.guide/invokecreate/',
|
|
1601
1910
|
minArgs: 3,
|
|
@@ -1606,16 +1915,22 @@ export const FUNCTIONS = [
|
|
|
1606
1915
|
{ name: 'apiObject', description: 'API object to create' },
|
|
1607
1916
|
{
|
|
1608
1917
|
name: 'statusMessage',
|
|
1918
|
+
mcnSince: null,
|
|
1919
|
+
mcnNotes: null,
|
|
1609
1920
|
description: 'Output variable for the resulting status message',
|
|
1610
1921
|
type: 'string',
|
|
1611
1922
|
},
|
|
1612
1923
|
{
|
|
1613
1924
|
name: 'errorCode',
|
|
1925
|
+
mcnSince: null,
|
|
1926
|
+
mcnNotes: null,
|
|
1614
1927
|
description: 'Output variable for the resulting error code',
|
|
1615
1928
|
type: 'string',
|
|
1616
1929
|
},
|
|
1617
1930
|
{
|
|
1618
1931
|
name: 'createOptions',
|
|
1932
|
+
mcnSince: null,
|
|
1933
|
+
mcnNotes: null,
|
|
1619
1934
|
description: 'Optional CreateOptions API object',
|
|
1620
1935
|
optional: true,
|
|
1621
1936
|
},
|
|
@@ -1625,6 +1940,8 @@ export const FUNCTIONS = [
|
|
|
1625
1940
|
},
|
|
1626
1941
|
{
|
|
1627
1942
|
name: 'InvokeDelete',
|
|
1943
|
+
mcnSince: null,
|
|
1944
|
+
mcnNotes: null,
|
|
1628
1945
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-delete.html',
|
|
1629
1946
|
guideUrl: 'https://ampscript.guide/invokedelete/',
|
|
1630
1947
|
minArgs: 3,
|
|
@@ -1635,16 +1952,22 @@ export const FUNCTIONS = [
|
|
|
1635
1952
|
{ name: 'apiObject', description: 'API object to delete' },
|
|
1636
1953
|
{
|
|
1637
1954
|
name: 'statusMessage',
|
|
1955
|
+
mcnSince: null,
|
|
1956
|
+
mcnNotes: null,
|
|
1638
1957
|
description: 'Output variable for the resulting status message',
|
|
1639
1958
|
type: 'string',
|
|
1640
1959
|
},
|
|
1641
1960
|
{
|
|
1642
1961
|
name: 'errorCode',
|
|
1962
|
+
mcnSince: null,
|
|
1963
|
+
mcnNotes: null,
|
|
1643
1964
|
description: 'Output variable for the resulting error code',
|
|
1644
1965
|
type: 'string',
|
|
1645
1966
|
},
|
|
1646
1967
|
{
|
|
1647
1968
|
name: 'deleteOptions',
|
|
1969
|
+
mcnSince: null,
|
|
1970
|
+
mcnNotes: null,
|
|
1648
1971
|
description: 'Optional DeleteOptions API object',
|
|
1649
1972
|
optional: true,
|
|
1650
1973
|
},
|
|
@@ -1654,6 +1977,8 @@ export const FUNCTIONS = [
|
|
|
1654
1977
|
},
|
|
1655
1978
|
{
|
|
1656
1979
|
name: 'InvokeExecute',
|
|
1980
|
+
mcnSince: null,
|
|
1981
|
+
mcnNotes: null,
|
|
1657
1982
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-execute.html',
|
|
1658
1983
|
guideUrl: 'https://ampscript.guide/invokeexecute/',
|
|
1659
1984
|
minArgs: 3,
|
|
@@ -1664,6 +1989,8 @@ export const FUNCTIONS = [
|
|
|
1664
1989
|
{ name: 'apiObject', description: 'API object to execute' },
|
|
1665
1990
|
{
|
|
1666
1991
|
name: 'statusMessage',
|
|
1992
|
+
mcnSince: null,
|
|
1993
|
+
mcnNotes: null,
|
|
1667
1994
|
description: 'Output variable for status message',
|
|
1668
1995
|
type: 'string',
|
|
1669
1996
|
},
|
|
@@ -1674,6 +2001,8 @@ export const FUNCTIONS = [
|
|
|
1674
2001
|
},
|
|
1675
2002
|
{
|
|
1676
2003
|
name: 'InvokePerform',
|
|
2004
|
+
mcnSince: null,
|
|
2005
|
+
mcnNotes: null,
|
|
1677
2006
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-perform.html',
|
|
1678
2007
|
guideUrl: 'https://ampscript.guide/invokeperform/',
|
|
1679
2008
|
minArgs: 2,
|
|
@@ -1685,6 +2014,8 @@ export const FUNCTIONS = [
|
|
|
1685
2014
|
{ name: 'action', description: 'Action to perform (e.g. start, stop)', type: 'string' },
|
|
1686
2015
|
{
|
|
1687
2016
|
name: 'statusMessage',
|
|
2017
|
+
mcnSince: null,
|
|
2018
|
+
mcnNotes: null,
|
|
1688
2019
|
description: 'Output variable for the resulting status message',
|
|
1689
2020
|
type: 'string',
|
|
1690
2021
|
optional: true,
|
|
@@ -1695,6 +2026,8 @@ export const FUNCTIONS = [
|
|
|
1695
2026
|
},
|
|
1696
2027
|
{
|
|
1697
2028
|
name: 'InvokeRetrieve',
|
|
2029
|
+
mcnSince: null,
|
|
2030
|
+
mcnNotes: null,
|
|
1698
2031
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-retrieve.html',
|
|
1699
2032
|
guideUrl: 'https://ampscript.guide/invokeretrieve/',
|
|
1700
2033
|
minArgs: 1,
|
|
@@ -1705,12 +2038,16 @@ export const FUNCTIONS = [
|
|
|
1705
2038
|
{ name: 'apiObject', description: 'API object defining the retrieve filter' },
|
|
1706
2039
|
{
|
|
1707
2040
|
name: 'statusMessage',
|
|
2041
|
+
mcnSince: null,
|
|
2042
|
+
mcnNotes: null,
|
|
1708
2043
|
description: 'Output variable for the resulting status message',
|
|
1709
2044
|
type: 'string',
|
|
1710
2045
|
optional: true,
|
|
1711
2046
|
},
|
|
1712
2047
|
{
|
|
1713
2048
|
name: 'requestId',
|
|
2049
|
+
mcnSince: null,
|
|
2050
|
+
mcnNotes: null,
|
|
1714
2051
|
description: 'Output variable for the resulting RequestID',
|
|
1715
2052
|
type: 'string',
|
|
1716
2053
|
optional: true,
|
|
@@ -1721,6 +2058,8 @@ export const FUNCTIONS = [
|
|
|
1721
2058
|
},
|
|
1722
2059
|
{
|
|
1723
2060
|
name: 'InvokeUpdate',
|
|
2061
|
+
mcnSince: null,
|
|
2062
|
+
mcnNotes: null,
|
|
1724
2063
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-update.html',
|
|
1725
2064
|
guideUrl: 'https://ampscript.guide/invokeupdate/',
|
|
1726
2065
|
minArgs: 1,
|
|
@@ -1731,18 +2070,24 @@ export const FUNCTIONS = [
|
|
|
1731
2070
|
{ name: 'apiObject', description: 'API object to update' },
|
|
1732
2071
|
{
|
|
1733
2072
|
name: 'statusMessage',
|
|
2073
|
+
mcnSince: null,
|
|
2074
|
+
mcnNotes: null,
|
|
1734
2075
|
description: 'Output variable for the resulting status message',
|
|
1735
2076
|
type: 'string',
|
|
1736
2077
|
optional: true,
|
|
1737
2078
|
},
|
|
1738
2079
|
{
|
|
1739
2080
|
name: 'errorCode',
|
|
2081
|
+
mcnSince: null,
|
|
2082
|
+
mcnNotes: null,
|
|
1740
2083
|
description: 'Output variable for the resulting error code',
|
|
1741
2084
|
type: 'string',
|
|
1742
2085
|
optional: true,
|
|
1743
2086
|
},
|
|
1744
2087
|
{
|
|
1745
2088
|
name: 'updateOptions',
|
|
2089
|
+
mcnSince: null,
|
|
2090
|
+
mcnNotes: null,
|
|
1746
2091
|
description: 'Optional UpdateOptions API object',
|
|
1747
2092
|
optional: true,
|
|
1748
2093
|
},
|
|
@@ -1752,6 +2097,8 @@ export const FUNCTIONS = [
|
|
|
1752
2097
|
},
|
|
1753
2098
|
{
|
|
1754
2099
|
name: 'IsCHTMLBrowser',
|
|
2100
|
+
mcnSince: null,
|
|
2101
|
+
mcnNotes: null,
|
|
1755
2102
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-is-chtml-browser.html',
|
|
1756
2103
|
guideUrl: 'https://ampscript.guide/ischtmlbrowser/',
|
|
1757
2104
|
minArgs: 1,
|
|
@@ -1765,6 +2112,8 @@ export const FUNCTIONS = [
|
|
|
1765
2112
|
},
|
|
1766
2113
|
{
|
|
1767
2114
|
name: 'IsEmailAddress',
|
|
2115
|
+
mcnSince: null,
|
|
2116
|
+
mcnNotes: null,
|
|
1768
2117
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-email-address.html',
|
|
1769
2118
|
guideUrl: 'https://ampscript.guide/isemailaddress/',
|
|
1770
2119
|
minArgs: 1,
|
|
@@ -1778,6 +2127,8 @@ export const FUNCTIONS = [
|
|
|
1778
2127
|
},
|
|
1779
2128
|
{
|
|
1780
2129
|
name: 'IsNull',
|
|
2130
|
+
mcnSince: 67,
|
|
2131
|
+
mcnNotes: null,
|
|
1781
2132
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-null.html',
|
|
1782
2133
|
guideUrl: 'https://ampscript.guide/isnull/',
|
|
1783
2134
|
minArgs: 1,
|
|
@@ -1790,6 +2141,8 @@ export const FUNCTIONS = [
|
|
|
1790
2141
|
},
|
|
1791
2142
|
{
|
|
1792
2143
|
name: 'IsNullDefault',
|
|
2144
|
+
mcnSince: null,
|
|
2145
|
+
mcnNotes: null,
|
|
1793
2146
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-is-null-default.html',
|
|
1794
2147
|
guideUrl: 'https://ampscript.guide/isnulldefault/',
|
|
1795
2148
|
minArgs: 2,
|
|
@@ -1806,6 +2159,8 @@ export const FUNCTIONS = [
|
|
|
1806
2159
|
},
|
|
1807
2160
|
{
|
|
1808
2161
|
name: 'IsPhoneNumber',
|
|
2162
|
+
mcnSince: null,
|
|
2163
|
+
mcnNotes: null,
|
|
1809
2164
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-phone-number.html',
|
|
1810
2165
|
guideUrl: 'https://ampscript.guide/isphonenumber/',
|
|
1811
2166
|
minArgs: 1,
|
|
@@ -1818,6 +2173,8 @@ export const FUNCTIONS = [
|
|
|
1818
2173
|
},
|
|
1819
2174
|
{
|
|
1820
2175
|
name: 'Length',
|
|
2176
|
+
mcnSince: 67,
|
|
2177
|
+
mcnNotes: null,
|
|
1821
2178
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-length.html',
|
|
1822
2179
|
guideUrl: 'https://ampscript.guide/length/',
|
|
1823
2180
|
minArgs: 1,
|
|
@@ -1831,6 +2188,8 @@ export const FUNCTIONS = [
|
|
|
1831
2188
|
},
|
|
1832
2189
|
{
|
|
1833
2190
|
name: 'LiveContentMicrositeURL',
|
|
2191
|
+
mcnSince: null,
|
|
2192
|
+
mcnNotes: null,
|
|
1834
2193
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-live-content-microsite-url.html',
|
|
1835
2194
|
guideUrl: 'https://ampscript.guide/livecontentmicrositeurl/',
|
|
1836
2195
|
minArgs: 2,
|
|
@@ -1846,6 +2205,8 @@ export const FUNCTIONS = [
|
|
|
1846
2205
|
},
|
|
1847
2206
|
{
|
|
1848
2207
|
name: 'LocalDateToSystemDate',
|
|
2208
|
+
mcnSince: null,
|
|
2209
|
+
mcnNotes: null,
|
|
1849
2210
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-local-date-to-system-date.html',
|
|
1850
2211
|
guideUrl: 'https://ampscript.guide/localdatetosystemdate/',
|
|
1851
2212
|
minArgs: 1,
|
|
@@ -1858,6 +2219,8 @@ export const FUNCTIONS = [
|
|
|
1858
2219
|
},
|
|
1859
2220
|
{
|
|
1860
2221
|
name: 'LongSFID',
|
|
2222
|
+
mcnSince: null,
|
|
2223
|
+
mcnNotes: null,
|
|
1861
2224
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-long-sfid.html',
|
|
1862
2225
|
guideUrl: 'https://ampscript.guide/longsfid/',
|
|
1863
2226
|
minArgs: 1,
|
|
@@ -1871,6 +2234,9 @@ export const FUNCTIONS = [
|
|
|
1871
2234
|
},
|
|
1872
2235
|
{
|
|
1873
2236
|
name: 'Lookup',
|
|
2237
|
+
mcnSince: 67,
|
|
2238
|
+
mcnNotes:
|
|
2239
|
+
'In MCN, search arguments must be provided in column/value pairs — an odd count causes an error. All filter keys must fully specify the composite primary key.',
|
|
1874
2240
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup.html',
|
|
1875
2241
|
guideUrl: 'https://ampscript.guide/lookup/',
|
|
1876
2242
|
minArgs: 4,
|
|
@@ -1885,6 +2251,8 @@ export const FUNCTIONS = [
|
|
|
1885
2251
|
{ name: 'lookupValue', description: 'Filter column value' },
|
|
1886
2252
|
{
|
|
1887
2253
|
name: 'additionalColumn',
|
|
2254
|
+
mcnSince: null,
|
|
2255
|
+
mcnNotes: null,
|
|
1888
2256
|
description: 'Additional filter column',
|
|
1889
2257
|
type: 'string',
|
|
1890
2258
|
optional: true,
|
|
@@ -1897,6 +2265,8 @@ export const FUNCTIONS = [
|
|
|
1897
2265
|
},
|
|
1898
2266
|
{
|
|
1899
2267
|
name: 'LookupOrderedRows',
|
|
2268
|
+
mcnSince: null,
|
|
2269
|
+
mcnNotes: null,
|
|
1900
2270
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-ordered-rows.html',
|
|
1901
2271
|
guideUrl: 'https://ampscript.guide/lookuporderedrows/',
|
|
1902
2272
|
minArgs: 5,
|
|
@@ -1908,6 +2278,8 @@ export const FUNCTIONS = [
|
|
|
1908
2278
|
{ name: 'maxRows', description: 'Maximum rows to return', type: 'number' },
|
|
1909
2279
|
{
|
|
1910
2280
|
name: 'sortColumn',
|
|
2281
|
+
mcnSince: null,
|
|
2282
|
+
mcnNotes: null,
|
|
1911
2283
|
description: "Sort column and direction (e.g. 'Date DESC')",
|
|
1912
2284
|
type: 'string',
|
|
1913
2285
|
},
|
|
@@ -1915,6 +2287,8 @@ export const FUNCTIONS = [
|
|
|
1915
2287
|
{ name: 'lookupValue', description: 'Filter column value' },
|
|
1916
2288
|
{
|
|
1917
2289
|
name: 'additionalColumn',
|
|
2290
|
+
mcnSince: null,
|
|
2291
|
+
mcnNotes: null,
|
|
1918
2292
|
description: 'Additional filter column',
|
|
1919
2293
|
type: 'string',
|
|
1920
2294
|
optional: true,
|
|
@@ -1926,6 +2300,8 @@ export const FUNCTIONS = [
|
|
|
1926
2300
|
},
|
|
1927
2301
|
{
|
|
1928
2302
|
name: 'LookupOrderedRowsCS',
|
|
2303
|
+
mcnSince: null,
|
|
2304
|
+
mcnNotes: null,
|
|
1929
2305
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-ordered-rows-cs.html',
|
|
1930
2306
|
guideUrl: 'https://ampscript.guide/lookuporderedrowscs/',
|
|
1931
2307
|
minArgs: 5,
|
|
@@ -1941,6 +2317,8 @@ export const FUNCTIONS = [
|
|
|
1941
2317
|
{ name: 'lookupValue', description: 'Filter column value' },
|
|
1942
2318
|
{
|
|
1943
2319
|
name: 'additionalColumn',
|
|
2320
|
+
mcnSince: null,
|
|
2321
|
+
mcnNotes: null,
|
|
1944
2322
|
description: 'Additional filter column',
|
|
1945
2323
|
type: 'string',
|
|
1946
2324
|
optional: true,
|
|
@@ -1952,6 +2330,8 @@ export const FUNCTIONS = [
|
|
|
1952
2330
|
},
|
|
1953
2331
|
{
|
|
1954
2332
|
name: 'LookupRows',
|
|
2333
|
+
mcnSince: null,
|
|
2334
|
+
mcnNotes: null,
|
|
1955
2335
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-rows.html',
|
|
1956
2336
|
guideUrl: 'https://ampscript.guide/lookuprows/',
|
|
1957
2337
|
minArgs: 3,
|
|
@@ -1964,6 +2344,8 @@ export const FUNCTIONS = [
|
|
|
1964
2344
|
{ name: 'lookupValue', description: 'Filter column value' },
|
|
1965
2345
|
{
|
|
1966
2346
|
name: 'additionalColumn',
|
|
2347
|
+
mcnSince: null,
|
|
2348
|
+
mcnNotes: null,
|
|
1967
2349
|
description: 'Additional filter column',
|
|
1968
2350
|
type: 'string',
|
|
1969
2351
|
optional: true,
|
|
@@ -1976,6 +2358,8 @@ export const FUNCTIONS = [
|
|
|
1976
2358
|
},
|
|
1977
2359
|
{
|
|
1978
2360
|
name: 'LookupRowsCS',
|
|
2361
|
+
mcnSince: null,
|
|
2362
|
+
mcnNotes: null,
|
|
1979
2363
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-rows-cs.html',
|
|
1980
2364
|
guideUrl: 'https://ampscript.guide/lookuprowscs/',
|
|
1981
2365
|
minArgs: 3,
|
|
@@ -1988,6 +2372,8 @@ export const FUNCTIONS = [
|
|
|
1988
2372
|
{ name: 'lookupValue', description: 'Filter column value' },
|
|
1989
2373
|
{
|
|
1990
2374
|
name: 'additionalColumn',
|
|
2375
|
+
mcnSince: null,
|
|
2376
|
+
mcnNotes: null,
|
|
1991
2377
|
description: 'Additional filter column',
|
|
1992
2378
|
type: 'string',
|
|
1993
2379
|
optional: true,
|
|
@@ -1999,6 +2385,8 @@ export const FUNCTIONS = [
|
|
|
1999
2385
|
},
|
|
2000
2386
|
{
|
|
2001
2387
|
name: 'Lowercase',
|
|
2388
|
+
mcnSince: 67,
|
|
2389
|
+
mcnNotes: null,
|
|
2002
2390
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-lowercase.html',
|
|
2003
2391
|
guideUrl: 'https://ampscript.guide/lowercase/',
|
|
2004
2392
|
minArgs: 1,
|
|
@@ -2012,6 +2400,8 @@ export const FUNCTIONS = [
|
|
|
2012
2400
|
},
|
|
2013
2401
|
{
|
|
2014
2402
|
name: 'MD5',
|
|
2403
|
+
mcnSince: null,
|
|
2404
|
+
mcnNotes: null,
|
|
2015
2405
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-md5.html',
|
|
2016
2406
|
guideUrl: 'https://ampscript.guide/md5/',
|
|
2017
2407
|
minArgs: 1,
|
|
@@ -2022,6 +2412,8 @@ export const FUNCTIONS = [
|
|
|
2022
2412
|
{ name: 'value', description: 'Value to hash', type: 'string' },
|
|
2023
2413
|
{
|
|
2024
2414
|
name: 'encoding',
|
|
2415
|
+
mcnSince: null,
|
|
2416
|
+
mcnNotes: null,
|
|
2025
2417
|
description: 'Output encoding (hex, base64)',
|
|
2026
2418
|
type: 'string',
|
|
2027
2419
|
optional: true,
|
|
@@ -2032,6 +2424,8 @@ export const FUNCTIONS = [
|
|
|
2032
2424
|
},
|
|
2033
2425
|
{
|
|
2034
2426
|
name: 'MicrositeURL',
|
|
2427
|
+
mcnSince: null,
|
|
2428
|
+
mcnNotes: null,
|
|
2035
2429
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-microsite-url.html',
|
|
2036
2430
|
guideUrl: 'https://ampscript.guide/micrositeurl/',
|
|
2037
2431
|
minArgs: 1,
|
|
@@ -2042,12 +2436,16 @@ export const FUNCTIONS = [
|
|
|
2042
2436
|
{ name: 'pageId', description: 'Microsite page ID', type: 'number' },
|
|
2043
2437
|
{
|
|
2044
2438
|
name: 'paramName',
|
|
2439
|
+
mcnSince: null,
|
|
2440
|
+
mcnNotes: null,
|
|
2045
2441
|
description: 'Query parameter name',
|
|
2046
2442
|
type: 'string',
|
|
2047
2443
|
optional: true,
|
|
2048
2444
|
},
|
|
2049
2445
|
{
|
|
2050
2446
|
name: 'paramValue',
|
|
2447
|
+
mcnSince: null,
|
|
2448
|
+
mcnNotes: null,
|
|
2051
2449
|
description: 'Query parameter value',
|
|
2052
2450
|
type: 'string',
|
|
2053
2451
|
optional: true,
|
|
@@ -2058,6 +2456,8 @@ export const FUNCTIONS = [
|
|
|
2058
2456
|
},
|
|
2059
2457
|
{
|
|
2060
2458
|
name: 'Mod',
|
|
2459
|
+
mcnSince: 67,
|
|
2460
|
+
mcnNotes: null,
|
|
2061
2461
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-mod.html',
|
|
2062
2462
|
guideUrl: 'https://ampscript.guide/mod/',
|
|
2063
2463
|
minArgs: 2,
|
|
@@ -2075,6 +2475,8 @@ export const FUNCTIONS = [
|
|
|
2075
2475
|
},
|
|
2076
2476
|
{
|
|
2077
2477
|
name: 'Multiply',
|
|
2478
|
+
mcnSince: 67,
|
|
2479
|
+
mcnNotes: null,
|
|
2078
2480
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-multiply.html',
|
|
2079
2481
|
guideUrl: 'https://ampscript.guide/multiply/',
|
|
2080
2482
|
minArgs: 2,
|
|
@@ -2091,6 +2493,8 @@ export const FUNCTIONS = [
|
|
|
2091
2493
|
},
|
|
2092
2494
|
{
|
|
2093
2495
|
name: 'Now',
|
|
2496
|
+
mcnSince: 67,
|
|
2497
|
+
mcnNotes: null,
|
|
2094
2498
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-now.html',
|
|
2095
2499
|
guideUrl: 'https://ampscript.guide/now/',
|
|
2096
2500
|
minArgs: 0,
|
|
@@ -2101,6 +2505,8 @@ export const FUNCTIONS = [
|
|
|
2101
2505
|
params: [
|
|
2102
2506
|
{
|
|
2103
2507
|
name: 'persistFormat',
|
|
2508
|
+
mcnSince: null,
|
|
2509
|
+
mcnNotes: null,
|
|
2104
2510
|
description: 'Pass 1 to persist value',
|
|
2105
2511
|
type: 'boolean',
|
|
2106
2512
|
optional: true,
|
|
@@ -2112,6 +2518,8 @@ export const FUNCTIONS = [
|
|
|
2112
2518
|
},
|
|
2113
2519
|
{
|
|
2114
2520
|
name: 'Output',
|
|
2521
|
+
mcnSince: 67,
|
|
2522
|
+
mcnNotes: null,
|
|
2115
2523
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-output.html',
|
|
2116
2524
|
guideUrl: 'https://ampscript.guide/output/',
|
|
2117
2525
|
minArgs: 1,
|
|
@@ -2125,6 +2533,8 @@ export const FUNCTIONS = [
|
|
|
2125
2533
|
},
|
|
2126
2534
|
{
|
|
2127
2535
|
name: 'OutputLine',
|
|
2536
|
+
mcnSince: 67,
|
|
2537
|
+
mcnNotes: null,
|
|
2128
2538
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-output-line.html',
|
|
2129
2539
|
guideUrl: 'https://ampscript.guide/outputline/',
|
|
2130
2540
|
minArgs: 1,
|
|
@@ -2137,6 +2547,8 @@ export const FUNCTIONS = [
|
|
|
2137
2547
|
},
|
|
2138
2548
|
{
|
|
2139
2549
|
name: 'ProperCase',
|
|
2550
|
+
mcnSince: 67,
|
|
2551
|
+
mcnNotes: null,
|
|
2140
2552
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-propercase.html',
|
|
2141
2553
|
guideUrl: 'https://ampscript.guide/propercase/',
|
|
2142
2554
|
minArgs: 1,
|
|
@@ -2151,6 +2563,8 @@ export const FUNCTIONS = [
|
|
|
2151
2563
|
},
|
|
2152
2564
|
{
|
|
2153
2565
|
name: 'QueryParameter',
|
|
2566
|
+
mcnSince: null,
|
|
2567
|
+
mcnNotes: null,
|
|
2154
2568
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-query-parameter.html',
|
|
2155
2569
|
guideUrl: 'https://ampscript.guide/queryparameter/',
|
|
2156
2570
|
minArgs: 1,
|
|
@@ -2164,6 +2578,8 @@ export const FUNCTIONS = [
|
|
|
2164
2578
|
},
|
|
2165
2579
|
{
|
|
2166
2580
|
name: 'RaiseError',
|
|
2581
|
+
mcnSince: 67,
|
|
2582
|
+
mcnNotes: null,
|
|
2167
2583
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-raise-error.html',
|
|
2168
2584
|
guideUrl: 'https://ampscript.guide/raiseerror/',
|
|
2169
2585
|
minArgs: 1,
|
|
@@ -2175,24 +2591,32 @@ export const FUNCTIONS = [
|
|
|
2175
2591
|
{ name: 'message', description: 'Error message', type: 'string' },
|
|
2176
2592
|
{
|
|
2177
2593
|
name: 'skipSubscriber',
|
|
2594
|
+
mcnSince: null,
|
|
2595
|
+
mcnNotes: null,
|
|
2178
2596
|
description: 'Skip subscriber without failing the job',
|
|
2179
2597
|
type: 'boolean',
|
|
2180
2598
|
optional: true,
|
|
2181
2599
|
},
|
|
2182
2600
|
{
|
|
2183
2601
|
name: 'apiErrorCode',
|
|
2602
|
+
mcnSince: null,
|
|
2603
|
+
mcnNotes: null,
|
|
2184
2604
|
description: 'Custom API error code',
|
|
2185
2605
|
type: 'string',
|
|
2186
2606
|
optional: true,
|
|
2187
2607
|
},
|
|
2188
2608
|
{
|
|
2189
2609
|
name: 'apiErrorMessage',
|
|
2610
|
+
mcnSince: null,
|
|
2611
|
+
mcnNotes: null,
|
|
2190
2612
|
description: 'Custom API error message',
|
|
2191
2613
|
type: 'string',
|
|
2192
2614
|
optional: true,
|
|
2193
2615
|
},
|
|
2194
2616
|
{
|
|
2195
2617
|
name: 'statusCode',
|
|
2618
|
+
mcnSince: null,
|
|
2619
|
+
mcnNotes: null,
|
|
2196
2620
|
description: 'HTTP status code for landing pages',
|
|
2197
2621
|
type: 'number',
|
|
2198
2622
|
optional: true,
|
|
@@ -2203,6 +2627,8 @@ export const FUNCTIONS = [
|
|
|
2203
2627
|
},
|
|
2204
2628
|
{
|
|
2205
2629
|
name: 'Random',
|
|
2630
|
+
mcnSince: 67,
|
|
2631
|
+
mcnNotes: null,
|
|
2206
2632
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-random.html',
|
|
2207
2633
|
guideUrl: 'https://ampscript.guide/random/',
|
|
2208
2634
|
minArgs: 2,
|
|
@@ -2219,6 +2645,8 @@ export const FUNCTIONS = [
|
|
|
2219
2645
|
},
|
|
2220
2646
|
{
|
|
2221
2647
|
name: 'RatingStars',
|
|
2648
|
+
mcnSince: null,
|
|
2649
|
+
mcnNotes: null,
|
|
2222
2650
|
guideUrl: 'https://ampscript.guide/ratingstars/',
|
|
2223
2651
|
minArgs: 3,
|
|
2224
2652
|
maxArgs: 3,
|
|
@@ -2234,6 +2662,8 @@ export const FUNCTIONS = [
|
|
|
2234
2662
|
},
|
|
2235
2663
|
{
|
|
2236
2664
|
name: 'Redirect',
|
|
2665
|
+
mcnSince: null,
|
|
2666
|
+
mcnNotes: null,
|
|
2237
2667
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-redirect.html',
|
|
2238
2668
|
guideUrl: 'https://ampscript.guide/redirect/',
|
|
2239
2669
|
minArgs: 1,
|
|
@@ -2246,6 +2676,8 @@ export const FUNCTIONS = [
|
|
|
2246
2676
|
},
|
|
2247
2677
|
{
|
|
2248
2678
|
name: 'RedirectTo',
|
|
2679
|
+
mcnSince: null,
|
|
2680
|
+
mcnNotes: null,
|
|
2249
2681
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-redirect-to.html',
|
|
2250
2682
|
guideUrl: 'https://ampscript.guide/redirectto/',
|
|
2251
2683
|
minArgs: 1,
|
|
@@ -2259,6 +2691,8 @@ export const FUNCTIONS = [
|
|
|
2259
2691
|
},
|
|
2260
2692
|
{
|
|
2261
2693
|
name: 'RegExMatch',
|
|
2694
|
+
mcnSince: null,
|
|
2695
|
+
mcnNotes: null,
|
|
2262
2696
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-regex-match.html',
|
|
2263
2697
|
guideUrl: 'https://ampscript.guide/regexmatch/',
|
|
2264
2698
|
minArgs: 3,
|
|
@@ -2271,11 +2705,15 @@ export const FUNCTIONS = [
|
|
|
2271
2705
|
{ name: 'pattern', description: 'Regular expression pattern', type: 'string' },
|
|
2272
2706
|
{
|
|
2273
2707
|
name: 'match1',
|
|
2708
|
+
mcnSince: null,
|
|
2709
|
+
mcnNotes: null,
|
|
2274
2710
|
description: 'Output variable for first capture group',
|
|
2275
2711
|
type: 'string',
|
|
2276
2712
|
},
|
|
2277
2713
|
{
|
|
2278
2714
|
name: 'matchN',
|
|
2715
|
+
mcnSince: null,
|
|
2716
|
+
mcnNotes: null,
|
|
2279
2717
|
description: 'Output variable for additional capture groups',
|
|
2280
2718
|
type: 'string',
|
|
2281
2719
|
optional: true,
|
|
@@ -2286,6 +2724,8 @@ export const FUNCTIONS = [
|
|
|
2286
2724
|
},
|
|
2287
2725
|
{
|
|
2288
2726
|
name: 'Replace',
|
|
2727
|
+
mcnSince: 67,
|
|
2728
|
+
mcnNotes: null,
|
|
2289
2729
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-replace.html',
|
|
2290
2730
|
guideUrl: 'https://ampscript.guide/replace/',
|
|
2291
2731
|
minArgs: 3,
|
|
@@ -2303,6 +2743,8 @@ export const FUNCTIONS = [
|
|
|
2303
2743
|
},
|
|
2304
2744
|
{
|
|
2305
2745
|
name: 'ReplaceList',
|
|
2746
|
+
mcnSince: 67,
|
|
2747
|
+
mcnNotes: null,
|
|
2306
2748
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-replace-list.html',
|
|
2307
2749
|
guideUrl: 'https://ampscript.guide/replacelist/',
|
|
2308
2750
|
minArgs: 3,
|
|
@@ -2315,6 +2757,8 @@ export const FUNCTIONS = [
|
|
|
2315
2757
|
{ name: 'oldValue1', description: 'First value to replace', type: 'string' },
|
|
2316
2758
|
{
|
|
2317
2759
|
name: 'oldValueN',
|
|
2760
|
+
mcnSince: null,
|
|
2761
|
+
mcnNotes: null,
|
|
2318
2762
|
description: 'Additional value to replace',
|
|
2319
2763
|
type: 'string',
|
|
2320
2764
|
optional: true,
|
|
@@ -2325,6 +2769,8 @@ export const FUNCTIONS = [
|
|
|
2325
2769
|
},
|
|
2326
2770
|
{
|
|
2327
2771
|
name: 'RequestParameter',
|
|
2772
|
+
mcnSince: null,
|
|
2773
|
+
mcnNotes: null,
|
|
2328
2774
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-request-parameter.html',
|
|
2329
2775
|
guideUrl: 'https://ampscript.guide/requestparameter/',
|
|
2330
2776
|
minArgs: 1,
|
|
@@ -2338,6 +2784,8 @@ export const FUNCTIONS = [
|
|
|
2338
2784
|
},
|
|
2339
2785
|
{
|
|
2340
2786
|
name: 'RetrieveMSCRMRecords',
|
|
2787
|
+
mcnSince: null,
|
|
2788
|
+
mcnNotes: null,
|
|
2341
2789
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-retrieve-records.html',
|
|
2342
2790
|
guideUrl: 'https://ampscript.guide/retrievemscrmrecords/',
|
|
2343
2791
|
minArgs: 5,
|
|
@@ -2348,6 +2796,8 @@ export const FUNCTIONS = [
|
|
|
2348
2796
|
{ name: 'entityType', description: 'CRM entity type name', type: 'string' },
|
|
2349
2797
|
{
|
|
2350
2798
|
name: 'fieldList',
|
|
2799
|
+
mcnSince: null,
|
|
2800
|
+
mcnNotes: null,
|
|
2351
2801
|
description: 'Comma-separated field names to retrieve',
|
|
2352
2802
|
type: 'string',
|
|
2353
2803
|
},
|
|
@@ -2360,6 +2810,8 @@ export const FUNCTIONS = [
|
|
|
2360
2810
|
},
|
|
2361
2811
|
{
|
|
2362
2812
|
name: 'RetrieveMSCRMRecordsFetchXML',
|
|
2813
|
+
mcnSince: null,
|
|
2814
|
+
mcnNotes: null,
|
|
2363
2815
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-retrieve-records-fetch-xml.html',
|
|
2364
2816
|
guideUrl: 'https://ampscript.guide/retrievemscrmrecordsfetchxml/',
|
|
2365
2817
|
minArgs: 1,
|
|
@@ -2372,6 +2824,8 @@ export const FUNCTIONS = [
|
|
|
2372
2824
|
},
|
|
2373
2825
|
{
|
|
2374
2826
|
name: 'RetrieveSalesforceJobSources',
|
|
2827
|
+
mcnSince: null,
|
|
2828
|
+
mcnNotes: null,
|
|
2375
2829
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-retrieve-job-sources.html',
|
|
2376
2830
|
guideUrl: 'https://ampscript.guide/retrievesalesforcejobsources/',
|
|
2377
2831
|
minArgs: 1,
|
|
@@ -2384,6 +2838,8 @@ export const FUNCTIONS = [
|
|
|
2384
2838
|
},
|
|
2385
2839
|
{
|
|
2386
2840
|
name: 'RetrieveSalesforceObjects',
|
|
2841
|
+
mcnSince: 67,
|
|
2842
|
+
mcnNotes: null,
|
|
2387
2843
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-retrieve-objects.html',
|
|
2388
2844
|
guideUrl: 'https://ampscript.guide/retrievesalesforceobjects/',
|
|
2389
2845
|
minArgs: 5,
|
|
@@ -2398,18 +2854,24 @@ export const FUNCTIONS = [
|
|
|
2398
2854
|
{ name: 'filterValue', description: 'Filter value' },
|
|
2399
2855
|
{
|
|
2400
2856
|
name: 'additionalFilterField',
|
|
2857
|
+
mcnSince: null,
|
|
2858
|
+
mcnNotes: null,
|
|
2401
2859
|
description: 'Additional filter field',
|
|
2402
2860
|
type: 'string',
|
|
2403
2861
|
optional: true,
|
|
2404
2862
|
},
|
|
2405
2863
|
{
|
|
2406
2864
|
name: 'additionalOperator',
|
|
2865
|
+
mcnSince: null,
|
|
2866
|
+
mcnNotes: null,
|
|
2407
2867
|
description: 'Additional operator',
|
|
2408
2868
|
type: 'string',
|
|
2409
2869
|
optional: true,
|
|
2410
2870
|
},
|
|
2411
2871
|
{
|
|
2412
2872
|
name: 'additionalFilterValue',
|
|
2873
|
+
mcnSince: null,
|
|
2874
|
+
mcnNotes: null,
|
|
2413
2875
|
description: 'Additional filter value',
|
|
2414
2876
|
optional: true,
|
|
2415
2877
|
},
|
|
@@ -2419,6 +2881,8 @@ export const FUNCTIONS = [
|
|
|
2419
2881
|
},
|
|
2420
2882
|
{
|
|
2421
2883
|
name: 'Row',
|
|
2884
|
+
mcnSince: 67,
|
|
2885
|
+
mcnNotes: null,
|
|
2422
2886
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-row.html',
|
|
2423
2887
|
guideUrl: 'https://ampscript.guide/row/',
|
|
2424
2888
|
minArgs: 2,
|
|
@@ -2435,6 +2899,8 @@ export const FUNCTIONS = [
|
|
|
2435
2899
|
},
|
|
2436
2900
|
{
|
|
2437
2901
|
name: 'RowCount',
|
|
2902
|
+
mcnSince: 67,
|
|
2903
|
+
mcnNotes: null,
|
|
2438
2904
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-row-count.html',
|
|
2439
2905
|
guideUrl: 'https://ampscript.guide/rowcount/',
|
|
2440
2906
|
minArgs: 1,
|
|
@@ -2448,6 +2914,8 @@ export const FUNCTIONS = [
|
|
|
2448
2914
|
},
|
|
2449
2915
|
{
|
|
2450
2916
|
name: 'SetObjectProperty',
|
|
2917
|
+
mcnSince: null,
|
|
2918
|
+
mcnNotes: null,
|
|
2451
2919
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-set-object-property.html',
|
|
2452
2920
|
guideUrl: 'https://ampscript.guide/setobjectproperty/',
|
|
2453
2921
|
minArgs: 3,
|
|
@@ -2464,6 +2932,8 @@ export const FUNCTIONS = [
|
|
|
2464
2932
|
},
|
|
2465
2933
|
{
|
|
2466
2934
|
name: 'SetSmsConversationNextKeyword',
|
|
2935
|
+
mcnSince: null,
|
|
2936
|
+
mcnNotes: null,
|
|
2467
2937
|
guideUrl: 'https://ampscript.guide/setsmsconversationnextkeyword/',
|
|
2468
2938
|
minArgs: 3,
|
|
2469
2939
|
maxArgs: 3,
|
|
@@ -2479,6 +2949,8 @@ export const FUNCTIONS = [
|
|
|
2479
2949
|
},
|
|
2480
2950
|
{
|
|
2481
2951
|
name: 'SetStateMSCRMRecord',
|
|
2952
|
+
mcnSince: null,
|
|
2953
|
+
mcnNotes: null,
|
|
2482
2954
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-set-state-record.html',
|
|
2483
2955
|
guideUrl: 'https://ampscript.guide/setstatemscrmrecord/',
|
|
2484
2956
|
minArgs: 4,
|
|
@@ -2496,6 +2968,8 @@ export const FUNCTIONS = [
|
|
|
2496
2968
|
},
|
|
2497
2969
|
{
|
|
2498
2970
|
name: 'SHA1',
|
|
2971
|
+
mcnSince: null,
|
|
2972
|
+
mcnNotes: null,
|
|
2499
2973
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha1.html',
|
|
2500
2974
|
guideUrl: 'https://ampscript.guide/sha1/',
|
|
2501
2975
|
minArgs: 1,
|
|
@@ -2506,6 +2980,8 @@ export const FUNCTIONS = [
|
|
|
2506
2980
|
{ name: 'value', description: 'Value to hash', type: 'string' },
|
|
2507
2981
|
{
|
|
2508
2982
|
name: 'encoding',
|
|
2983
|
+
mcnSince: null,
|
|
2984
|
+
mcnNotes: null,
|
|
2509
2985
|
description: 'Output encoding (hex, base64)',
|
|
2510
2986
|
type: 'string',
|
|
2511
2987
|
optional: true,
|
|
@@ -2516,6 +2992,8 @@ export const FUNCTIONS = [
|
|
|
2516
2992
|
},
|
|
2517
2993
|
{
|
|
2518
2994
|
name: 'SHA256',
|
|
2995
|
+
mcnSince: null,
|
|
2996
|
+
mcnNotes: null,
|
|
2519
2997
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha256.html',
|
|
2520
2998
|
guideUrl: 'https://ampscript.guide/sha256/',
|
|
2521
2999
|
minArgs: 1,
|
|
@@ -2526,6 +3004,8 @@ export const FUNCTIONS = [
|
|
|
2526
3004
|
{ name: 'value', description: 'Value to hash', type: 'string' },
|
|
2527
3005
|
{
|
|
2528
3006
|
name: 'encoding',
|
|
3007
|
+
mcnSince: null,
|
|
3008
|
+
mcnNotes: null,
|
|
2529
3009
|
description: 'Output encoding (hex, base64)',
|
|
2530
3010
|
type: 'string',
|
|
2531
3011
|
optional: true,
|
|
@@ -2537,6 +3017,8 @@ export const FUNCTIONS = [
|
|
|
2537
3017
|
},
|
|
2538
3018
|
{
|
|
2539
3019
|
name: 'SHA512',
|
|
3020
|
+
mcnSince: null,
|
|
3021
|
+
mcnNotes: null,
|
|
2540
3022
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha512.html',
|
|
2541
3023
|
guideUrl: 'https://ampscript.guide/sha512/',
|
|
2542
3024
|
minArgs: 1,
|
|
@@ -2547,6 +3029,8 @@ export const FUNCTIONS = [
|
|
|
2547
3029
|
{ name: 'value', description: 'Value to hash', type: 'string' },
|
|
2548
3030
|
{
|
|
2549
3031
|
name: 'encoding',
|
|
3032
|
+
mcnSince: null,
|
|
3033
|
+
mcnNotes: null,
|
|
2550
3034
|
description: 'Output encoding (hex, base64)',
|
|
2551
3035
|
type: 'string',
|
|
2552
3036
|
optional: true,
|
|
@@ -2557,6 +3041,9 @@ export const FUNCTIONS = [
|
|
|
2557
3041
|
},
|
|
2558
3042
|
{
|
|
2559
3043
|
name: 'StringToDate',
|
|
3044
|
+
mcnSince: 67,
|
|
3045
|
+
mcnNotes:
|
|
3046
|
+
'In MCN, returns a locale-formatted string (G standard format, e.g. "5/15/2026 1:23:45 PM") instead of a dateTime object. Cannot be reliably passed to FormatDate() or other date functions in MCN — use FormatDate() directly instead.',
|
|
2560
3047
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-string-to-date.html',
|
|
2561
3048
|
guideUrl: 'https://ampscript.guide/stringtodate/',
|
|
2562
3049
|
minArgs: 1,
|
|
@@ -2572,6 +3059,8 @@ export const FUNCTIONS = [
|
|
|
2572
3059
|
},
|
|
2573
3060
|
{
|
|
2574
3061
|
name: 'StringToHex',
|
|
3062
|
+
mcnSince: null,
|
|
3063
|
+
mcnNotes: null,
|
|
2575
3064
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-to-hex.html',
|
|
2576
3065
|
guideUrl: 'https://ampscript.guide/stringtohex/',
|
|
2577
3066
|
minArgs: 1,
|
|
@@ -2587,6 +3076,8 @@ export const FUNCTIONS = [
|
|
|
2587
3076
|
},
|
|
2588
3077
|
{
|
|
2589
3078
|
name: 'Substring',
|
|
3079
|
+
mcnSince: 67,
|
|
3080
|
+
mcnNotes: null,
|
|
2590
3081
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-substring.html',
|
|
2591
3082
|
guideUrl: 'https://ampscript.guide/substring/',
|
|
2592
3083
|
minArgs: 2,
|
|
@@ -2599,6 +3090,8 @@ export const FUNCTIONS = [
|
|
|
2599
3090
|
{ name: 'startIndex', description: '1-based start position', type: 'number' },
|
|
2600
3091
|
{
|
|
2601
3092
|
name: 'length',
|
|
3093
|
+
mcnSince: 67,
|
|
3094
|
+
mcnNotes: null,
|
|
2602
3095
|
description:
|
|
2603
3096
|
'Number of characters to extract. If omitted, returns the remainder of the string.',
|
|
2604
3097
|
type: 'number',
|
|
@@ -2611,6 +3104,8 @@ export const FUNCTIONS = [
|
|
|
2611
3104
|
},
|
|
2612
3105
|
{
|
|
2613
3106
|
name: 'Subtract',
|
|
3107
|
+
mcnSince: 67,
|
|
3108
|
+
mcnNotes: null,
|
|
2614
3109
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-subtract.html',
|
|
2615
3110
|
guideUrl: 'https://ampscript.guide/subtract/',
|
|
2616
3111
|
minArgs: 2,
|
|
@@ -2627,6 +3122,8 @@ export const FUNCTIONS = [
|
|
|
2627
3122
|
},
|
|
2628
3123
|
{
|
|
2629
3124
|
name: 'SystemDateToLocalDate',
|
|
3125
|
+
mcnSince: null,
|
|
3126
|
+
mcnNotes: null,
|
|
2630
3127
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-system-date-to-local-date.html',
|
|
2631
3128
|
guideUrl: 'https://ampscript.guide/systemdatetolocaldate/',
|
|
2632
3129
|
minArgs: 1,
|
|
@@ -2640,6 +3137,8 @@ export const FUNCTIONS = [
|
|
|
2640
3137
|
},
|
|
2641
3138
|
{
|
|
2642
3139
|
name: 'TransformXML',
|
|
3140
|
+
mcnSince: null,
|
|
3141
|
+
mcnNotes: null,
|
|
2643
3142
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-transform-xml.html',
|
|
2644
3143
|
guideUrl: 'https://ampscript.guide/transformxml/',
|
|
2645
3144
|
minArgs: 2,
|
|
@@ -2655,6 +3154,8 @@ export const FUNCTIONS = [
|
|
|
2655
3154
|
},
|
|
2656
3155
|
{
|
|
2657
3156
|
name: 'TreatAsContent',
|
|
3157
|
+
mcnSince: null,
|
|
3158
|
+
mcnNotes: null,
|
|
2658
3159
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-treat-as-content.html',
|
|
2659
3160
|
guideUrl: 'https://ampscript.guide/treatascontent/',
|
|
2660
3161
|
minArgs: 1,
|
|
@@ -2665,6 +3166,8 @@ export const FUNCTIONS = [
|
|
|
2665
3166
|
params: [
|
|
2666
3167
|
{
|
|
2667
3168
|
name: 'content',
|
|
3169
|
+
mcnSince: null,
|
|
3170
|
+
mcnNotes: null,
|
|
2668
3171
|
description: 'String containing AMPscript to evaluate',
|
|
2669
3172
|
type: 'string',
|
|
2670
3173
|
},
|
|
@@ -2674,6 +3177,8 @@ export const FUNCTIONS = [
|
|
|
2674
3177
|
},
|
|
2675
3178
|
{
|
|
2676
3179
|
name: 'TreatAsContentArea',
|
|
3180
|
+
mcnSince: null,
|
|
3181
|
+
mcnNotes: null,
|
|
2677
3182
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-treat-as-content-area.html',
|
|
2678
3183
|
guideUrl: 'https://ampscript.guide/treatascontentarea/',
|
|
2679
3184
|
minArgs: 2,
|
|
@@ -2686,6 +3191,8 @@ export const FUNCTIONS = [
|
|
|
2686
3191
|
{ name: 'content', description: 'HTML/AMPscript content', type: 'string' },
|
|
2687
3192
|
{
|
|
2688
3193
|
name: 'impressionRegion',
|
|
3194
|
+
mcnSince: null,
|
|
3195
|
+
mcnNotes: null,
|
|
2689
3196
|
description: 'Impression region name',
|
|
2690
3197
|
type: 'string',
|
|
2691
3198
|
optional: true,
|
|
@@ -2696,6 +3203,8 @@ export const FUNCTIONS = [
|
|
|
2696
3203
|
},
|
|
2697
3204
|
{
|
|
2698
3205
|
name: 'Trim',
|
|
3206
|
+
mcnSince: 67,
|
|
3207
|
+
mcnNotes: null,
|
|
2699
3208
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-trim.html',
|
|
2700
3209
|
guideUrl: 'https://ampscript.guide/trim/',
|
|
2701
3210
|
minArgs: 1,
|
|
@@ -2709,6 +3218,8 @@ export const FUNCTIONS = [
|
|
|
2709
3218
|
},
|
|
2710
3219
|
{
|
|
2711
3220
|
name: 'UpdateData',
|
|
3221
|
+
mcnSince: null,
|
|
3222
|
+
mcnNotes: null,
|
|
2712
3223
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-update-data.html',
|
|
2713
3224
|
guideUrl: 'https://ampscript.guide/updatedata/',
|
|
2714
3225
|
minArgs: 6,
|
|
@@ -2729,6 +3240,8 @@ export const FUNCTIONS = [
|
|
|
2729
3240
|
},
|
|
2730
3241
|
{
|
|
2731
3242
|
name: 'UpdateDE',
|
|
3243
|
+
mcnSince: null,
|
|
3244
|
+
mcnNotes: null,
|
|
2732
3245
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-update-de.html',
|
|
2733
3246
|
guideUrl: 'https://ampscript.guide/updatede/',
|
|
2734
3247
|
minArgs: 6,
|
|
@@ -2748,6 +3261,8 @@ export const FUNCTIONS = [
|
|
|
2748
3261
|
},
|
|
2749
3262
|
{
|
|
2750
3263
|
name: 'UpdateMSCRMRecords',
|
|
3264
|
+
mcnSince: null,
|
|
3265
|
+
mcnNotes: null,
|
|
2751
3266
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-update-records.html',
|
|
2752
3267
|
guideUrl: 'https://ampscript.guide/updatemscrmrecords/',
|
|
2753
3268
|
minArgs: 4,
|
|
@@ -2765,6 +3280,8 @@ export const FUNCTIONS = [
|
|
|
2765
3280
|
},
|
|
2766
3281
|
{
|
|
2767
3282
|
name: 'UpdateSingleSalesforceObject',
|
|
3283
|
+
mcnSince: null,
|
|
3284
|
+
mcnNotes: null,
|
|
2768
3285
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-update-single-object.html',
|
|
2769
3286
|
guideUrl: 'https://ampscript.guide/updatesinglesalesforceobject/',
|
|
2770
3287
|
minArgs: 4,
|
|
@@ -2778,6 +3295,8 @@ export const FUNCTIONS = [
|
|
|
2778
3295
|
{ name: 'value1', description: 'First field value' },
|
|
2779
3296
|
{
|
|
2780
3297
|
name: 'fieldN',
|
|
3298
|
+
mcnSince: null,
|
|
3299
|
+
mcnNotes: null,
|
|
2781
3300
|
description: 'Additional field API name',
|
|
2782
3301
|
type: 'string',
|
|
2783
3302
|
optional: true,
|
|
@@ -2789,6 +3308,8 @@ export const FUNCTIONS = [
|
|
|
2789
3308
|
},
|
|
2790
3309
|
{
|
|
2791
3310
|
name: 'Uppercase',
|
|
3311
|
+
mcnSince: 67,
|
|
3312
|
+
mcnNotes: null,
|
|
2792
3313
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-uppercase.html',
|
|
2793
3314
|
guideUrl: 'https://ampscript.guide/uppercase/',
|
|
2794
3315
|
minArgs: 1,
|
|
@@ -2802,6 +3323,8 @@ export const FUNCTIONS = [
|
|
|
2802
3323
|
},
|
|
2803
3324
|
{
|
|
2804
3325
|
name: 'UpsertContact',
|
|
3326
|
+
mcnSince: null,
|
|
3327
|
+
mcnNotes: null,
|
|
2805
3328
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-contacts/mc-ampscript-reference-contacts-upsert-contact.html',
|
|
2806
3329
|
guideUrl: 'https://ampscript.guide/upsertcontact/',
|
|
2807
3330
|
minArgs: 5,
|
|
@@ -2816,6 +3339,8 @@ export const FUNCTIONS = [
|
|
|
2816
3339
|
{ name: 'value1', description: 'First attribute value' },
|
|
2817
3340
|
{
|
|
2818
3341
|
name: 'fieldN',
|
|
3342
|
+
mcnSince: null,
|
|
3343
|
+
mcnNotes: null,
|
|
2819
3344
|
description: 'Additional attribute name',
|
|
2820
3345
|
type: 'string',
|
|
2821
3346
|
optional: true,
|
|
@@ -2827,6 +3352,8 @@ export const FUNCTIONS = [
|
|
|
2827
3352
|
},
|
|
2828
3353
|
{
|
|
2829
3354
|
name: 'UpsertData',
|
|
3355
|
+
mcnSince: null,
|
|
3356
|
+
mcnNotes: null,
|
|
2830
3357
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-upsert-data.html',
|
|
2831
3358
|
guideUrl: 'https://ampscript.guide/upsertdata/',
|
|
2832
3359
|
minArgs: 6,
|
|
@@ -2847,6 +3374,8 @@ export const FUNCTIONS = [
|
|
|
2847
3374
|
},
|
|
2848
3375
|
{
|
|
2849
3376
|
name: 'UpsertDE',
|
|
3377
|
+
mcnSince: null,
|
|
3378
|
+
mcnNotes: null,
|
|
2850
3379
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-upsert-de.html',
|
|
2851
3380
|
guideUrl: 'https://ampscript.guide/upsertde/',
|
|
2852
3381
|
minArgs: 6,
|
|
@@ -2866,6 +3395,8 @@ export const FUNCTIONS = [
|
|
|
2866
3395
|
},
|
|
2867
3396
|
{
|
|
2868
3397
|
name: 'UpsertMSCRMRecord',
|
|
3398
|
+
mcnSince: null,
|
|
3399
|
+
mcnNotes: null,
|
|
2869
3400
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-upsert-record.html',
|
|
2870
3401
|
guideUrl: 'https://ampscript.guide/upsertmscrmrecord/',
|
|
2871
3402
|
minArgs: 9,
|
|
@@ -2876,6 +3407,8 @@ export const FUNCTIONS = [
|
|
|
2876
3407
|
{ name: 'entityType', description: 'CRM entity type name', type: 'string' },
|
|
2877
3408
|
{
|
|
2878
3409
|
name: 'matchField',
|
|
3410
|
+
mcnSince: null,
|
|
3411
|
+
mcnNotes: null,
|
|
2879
3412
|
description: 'Field used to find existing record',
|
|
2880
3413
|
type: 'string',
|
|
2881
3414
|
},
|
|
@@ -2892,6 +3425,8 @@ export const FUNCTIONS = [
|
|
|
2892
3425
|
},
|
|
2893
3426
|
{
|
|
2894
3427
|
name: 'URLEncode',
|
|
3428
|
+
mcnSince: null,
|
|
3429
|
+
mcnNotes: null,
|
|
2895
3430
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-url-encode.html',
|
|
2896
3431
|
guideUrl: 'https://ampscript.guide/urlencode/',
|
|
2897
3432
|
minArgs: 1,
|
|
@@ -2902,6 +3437,8 @@ export const FUNCTIONS = [
|
|
|
2902
3437
|
{ name: 'url', description: 'String to encode', type: 'string' },
|
|
2903
3438
|
{
|
|
2904
3439
|
name: 'preserveEntities',
|
|
3440
|
+
mcnSince: null,
|
|
3441
|
+
mcnNotes: null,
|
|
2905
3442
|
description: 'Preserve HTML entities',
|
|
2906
3443
|
type: 'boolean',
|
|
2907
3444
|
optional: true,
|
|
@@ -2914,6 +3451,8 @@ export const FUNCTIONS = [
|
|
|
2914
3451
|
},
|
|
2915
3452
|
{
|
|
2916
3453
|
name: 'v',
|
|
3454
|
+
mcnSince: 67,
|
|
3455
|
+
mcnNotes: null,
|
|
2917
3456
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-v.html',
|
|
2918
3457
|
guideUrl: 'https://ampscript.guide/v/',
|
|
2919
3458
|
minArgs: 1,
|
|
@@ -2928,6 +3467,8 @@ export const FUNCTIONS = [
|
|
|
2928
3467
|
},
|
|
2929
3468
|
{
|
|
2930
3469
|
name: 'WAT',
|
|
3470
|
+
mcnSince: null,
|
|
3471
|
+
mcnNotes: null,
|
|
2931
3472
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-wat.html',
|
|
2932
3473
|
guideUrl: 'https://ampscript.guide/wat/',
|
|
2933
3474
|
minArgs: 1,
|
|
@@ -2943,6 +3484,8 @@ export const FUNCTIONS = [
|
|
|
2943
3484
|
},
|
|
2944
3485
|
{
|
|
2945
3486
|
name: 'WATP',
|
|
3487
|
+
mcnSince: null,
|
|
3488
|
+
mcnNotes: null,
|
|
2946
3489
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-wat.html',
|
|
2947
3490
|
guideUrl: 'https://ampscript.guide/watp/',
|
|
2948
3491
|
minArgs: 1,
|
|
@@ -2955,6 +3498,8 @@ export const FUNCTIONS = [
|
|
|
2955
3498
|
},
|
|
2956
3499
|
{
|
|
2957
3500
|
name: 'WrapLongURL',
|
|
3501
|
+
mcnSince: null,
|
|
3502
|
+
mcnNotes: null,
|
|
2958
3503
|
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-wrap-long-url.html',
|
|
2959
3504
|
guideUrl: 'https://ampscript.guide/wraplongurl/',
|
|
2960
3505
|
minArgs: 1,
|
|
@@ -3008,6 +3553,41 @@ export function isEmailExcluded(functionName) {
|
|
|
3008
3553
|
return entry ? EMAIL_EXCLUDED_CATEGORIES.has(entry.category) : false;
|
|
3009
3554
|
}
|
|
3010
3555
|
|
|
3556
|
+
// ── Marketing Cloud Next (MCN) helpers ───────────────────────────────────────
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* Returns the API version from which this AMPscript function is supported in
|
|
3560
|
+
* Marketing Cloud Next, or null if it is not supported in MCN.
|
|
3561
|
+
*
|
|
3562
|
+
* @param {string} name - AMPscript function name (case-insensitive).
|
|
3563
|
+
* @returns {number | null} API version number (e.g. 67) or null.
|
|
3564
|
+
*/
|
|
3565
|
+
export function getMcnApiVersion(name) {
|
|
3566
|
+
return functionLookup.get(name.toLowerCase())?.mcnSince ?? null;
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
/**
|
|
3570
|
+
* Returns true when the given AMPscript function is supported in Marketing
|
|
3571
|
+
* Cloud Next (i.e. mcnSince is a non-null API version number).
|
|
3572
|
+
*
|
|
3573
|
+
* @param {string} name - AMPscript function name (case-insensitive).
|
|
3574
|
+
* @returns {boolean}
|
|
3575
|
+
*/
|
|
3576
|
+
export function isMcnSupported(name) {
|
|
3577
|
+
return getMcnApiVersion(name) !== null;
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
/**
|
|
3581
|
+
* Returns the MCN behavioral difference notes for the given function, or null
|
|
3582
|
+
* if there are no differences or the function is not MCN-supported.
|
|
3583
|
+
*
|
|
3584
|
+
* @param {string} name - AMPscript function name (case-insensitive).
|
|
3585
|
+
* @returns {string | null} Behavioral difference notes, or null.
|
|
3586
|
+
*/
|
|
3587
|
+
export function getMcnNotes(name) {
|
|
3588
|
+
return functionLookup.get(name.toLowerCase())?.mcnNotes ?? null;
|
|
3589
|
+
}
|
|
3590
|
+
|
|
3011
3591
|
// ── Deprecated functions ─────────────────────────────────────────────────────
|
|
3012
3592
|
// Functions that have been superseded by newer alternatives. They still work
|
|
3013
3593
|
// at runtime but should be avoided in new code.
|
|
@@ -3015,36 +3595,50 @@ export function isEmailExcluded(functionName) {
|
|
|
3015
3595
|
export const DEPRECATED_FUNCTIONS = [
|
|
3016
3596
|
{
|
|
3017
3597
|
name: 'LookupValue',
|
|
3598
|
+
mcnSince: null,
|
|
3599
|
+
mcnNotes: null,
|
|
3018
3600
|
replacement: 'Lookup',
|
|
3019
3601
|
reason: 'LookupValue was the original name; Lookup is the current standard.',
|
|
3020
3602
|
},
|
|
3021
3603
|
{
|
|
3022
3604
|
name: 'InsertDE',
|
|
3605
|
+
mcnSince: null,
|
|
3606
|
+
mcnNotes: null,
|
|
3023
3607
|
replacement: 'InsertData',
|
|
3024
3608
|
reason: 'InsertDE is a legacy alias for InsertData.',
|
|
3025
3609
|
},
|
|
3026
3610
|
{
|
|
3027
3611
|
name: 'UpdateDE',
|
|
3612
|
+
mcnSince: null,
|
|
3613
|
+
mcnNotes: null,
|
|
3028
3614
|
replacement: 'UpdateData',
|
|
3029
3615
|
reason: 'UpdateDE is a legacy alias for UpdateData.',
|
|
3030
3616
|
},
|
|
3031
3617
|
{
|
|
3032
3618
|
name: 'UpsertDE',
|
|
3619
|
+
mcnSince: null,
|
|
3620
|
+
mcnNotes: null,
|
|
3033
3621
|
replacement: 'UpsertData',
|
|
3034
3622
|
reason: 'UpsertDE is a legacy alias for UpsertData.',
|
|
3035
3623
|
},
|
|
3036
3624
|
{
|
|
3037
3625
|
name: 'DeleteDE',
|
|
3626
|
+
mcnSince: null,
|
|
3627
|
+
mcnNotes: null,
|
|
3038
3628
|
replacement: 'DeleteData',
|
|
3039
3629
|
reason: 'DeleteDE is a legacy alias for DeleteData.',
|
|
3040
3630
|
},
|
|
3041
3631
|
{
|
|
3042
3632
|
name: 'ContentArea',
|
|
3633
|
+
mcnSince: null,
|
|
3634
|
+
mcnNotes: null,
|
|
3043
3635
|
replacement: 'ContentBlockByKey or ContentBlockByName',
|
|
3044
3636
|
reason: 'ContentArea references classic content areas which are being phased out in favor of Content Builder.',
|
|
3045
3637
|
},
|
|
3046
3638
|
{
|
|
3047
3639
|
name: 'ContentAreaByName',
|
|
3640
|
+
mcnSince: null,
|
|
3641
|
+
mcnNotes: null,
|
|
3048
3642
|
replacement: 'ContentBlockByName',
|
|
3049
3643
|
reason: 'ContentAreaByName references classic content areas which are being phased out.',
|
|
3050
3644
|
},
|
|
@@ -3081,6 +3675,8 @@ export const AMPSCRIPT_KEYWORDS = [
|
|
|
3081
3675
|
export const PERSONALIZATION_STRINGS = [
|
|
3082
3676
|
{
|
|
3083
3677
|
name: '_subscriberKey',
|
|
3678
|
+
mcnSince: null,
|
|
3679
|
+
mcnNotes: null,
|
|
3084
3680
|
description: 'Unique identifier for the current subscriber or contact',
|
|
3085
3681
|
},
|
|
3086
3682
|
{ name: 'emailaddr', description: 'Email address associated with the current subscriber' },
|
|
@@ -3096,11 +3692,15 @@ export const PERSONALIZATION_STRINGS = [
|
|
|
3096
3692
|
{ name: '_DataSourceName', description: 'Name of the data source driving the current send' },
|
|
3097
3693
|
{
|
|
3098
3694
|
name: '_messageContext',
|
|
3695
|
+
mcnSince: null,
|
|
3696
|
+
mcnNotes: null,
|
|
3099
3697
|
description: 'Render context indicator: SEND, PREVIEW, VAWP, or FTAF',
|
|
3100
3698
|
},
|
|
3101
3699
|
{ name: '_isTestSend', description: 'Flag indicating whether this is a test send' },
|
|
3102
3700
|
{
|
|
3103
3701
|
name: '_messagetypepreference',
|
|
3702
|
+
mcnSince: null,
|
|
3703
|
+
mcnNotes: null,
|
|
3104
3704
|
description: 'Subscriber preference for HTML or plain-text messages',
|
|
3105
3705
|
},
|
|
3106
3706
|
{ name: 'listid', description: 'Numeric identifier of the current send list' },
|
|
@@ -3117,6 +3717,8 @@ export const PERSONALIZATION_STRINGS = [
|
|
|
3117
3717
|
{ name: 'replyname', description: 'Reply-to display name configured for the current send' },
|
|
3118
3718
|
{
|
|
3119
3719
|
name: 'replyemailaddress',
|
|
3720
|
+
mcnSince: null,
|
|
3721
|
+
mcnNotes: null,
|
|
3120
3722
|
description: 'Reply-to email address configured for the current send',
|
|
3121
3723
|
},
|
|
3122
3724
|
{ name: 'memberid', description: 'Member ID (MID) of the sending business unit' },
|
|
@@ -3134,11 +3736,15 @@ export const PERSONALIZATION_STRINGS = [
|
|
|
3134
3736
|
{ name: 'double_opt_in_url', description: 'URL for double opt-in confirmation' },
|
|
3135
3737
|
{
|
|
3136
3738
|
name: '_replycontent',
|
|
3739
|
+
mcnSince: null,
|
|
3740
|
+
mcnNotes: null,
|
|
3137
3741
|
description: 'Body content of a subscriber reply via Reply Mail Management',
|
|
3138
3742
|
},
|
|
3139
3743
|
{ name: 'linkname', description: 'Alias or name assigned to the current tracked link' },
|
|
3140
3744
|
{
|
|
3141
3745
|
name: '_ImpressionRegionID',
|
|
3746
|
+
mcnSince: null,
|
|
3747
|
+
mcnNotes: null,
|
|
3142
3748
|
description: 'Numeric identifier of the current impression region',
|
|
3143
3749
|
},
|
|
3144
3750
|
{ name: '_ImpressionRegionName', description: 'Display name of the current impression region' },
|
|
@@ -3163,15 +3769,21 @@ export const PERSONALIZATION_STRINGS = [
|
|
|
3163
3769
|
{ name: '_ModifiedBy', description: 'User who last modified the MobileConnect contact' },
|
|
3164
3770
|
{
|
|
3165
3771
|
name: '_ModifiedDate',
|
|
3772
|
+
mcnSince: null,
|
|
3773
|
+
mcnNotes: null,
|
|
3166
3774
|
description: 'Timestamp of the last modification to the MobileConnect contact',
|
|
3167
3775
|
},
|
|
3168
3776
|
{ name: '_Priority', description: 'Message priority for the MobileConnect contact' },
|
|
3169
3777
|
{
|
|
3170
3778
|
name: '_Source',
|
|
3779
|
+
mcnSince: null,
|
|
3780
|
+
mcnNotes: null,
|
|
3171
3781
|
description: 'Origin channel through which the MobileConnect contact was added',
|
|
3172
3782
|
},
|
|
3173
3783
|
{
|
|
3174
3784
|
name: '_SourceObjectID',
|
|
3785
|
+
mcnSince: null,
|
|
3786
|
+
mcnNotes: null,
|
|
3175
3787
|
description: 'Source object identifier for the MobileConnect contact',
|
|
3176
3788
|
},
|
|
3177
3789
|
{ name: '_State', description: 'State from MobileConnect contact demographics' },
|
|
@@ -3181,6 +3793,8 @@ export const PERSONALIZATION_STRINGS = [
|
|
|
3181
3793
|
{ name: 'LINE_ADDRESS_ID', description: 'LINE user address identifier for GroupConnect' },
|
|
3182
3794
|
{
|
|
3183
3795
|
name: '@@ExecCtx',
|
|
3796
|
+
mcnSince: null,
|
|
3797
|
+
mcnNotes: null,
|
|
3184
3798
|
description: 'Execution context indicator: returns load or post on web pages',
|
|
3185
3799
|
},
|
|
3186
3800
|
];
|