SetStateMSCRMRecord

SetStateMSCRMRecord This function sets the state and status of the specified Microsoft Dynamics CRM entity. It does not return a value. Arguments SetStateMSCRMRecord(1,2,3,4) Ordinal Type Required Description 1 String True GUID of the record for which the state and...

WrapLongURL

WrapLongURL This function shortens URLs longer than 975 characters to mitigate broken email hyperlinks in Microsoft Outlook, where lengths of URL hyperlinks are limited to the following number of characters: Outlook 2007: 975 characters Outlook 2010: 1033 characters...

UpdateMSCRMRecords

UpdateMSCRMRecords This function updates one of more records in the specified Microsoft Dynamics CRM entity. It returns the number of records updated. Arguments UpdateMSCRMRecords(1,2,3,4) Ordinal Type Required Description 1 String True Name of the entity for records...

Math Functions

Overview In contrast to many other scripting languages that use operators like +, -,*, and \, AMPscript uses a set of functions for addition, subtraction, multiplication and division. AMPscript also includes specific math functions for performing modulo operations and...

UpsertMSCRMRecord

UpsertMSCRMRecord This function retrieves a record from Microsoft Dynamics CRM, using the name and value pairs to filter the results. The results are then sorted using the sort field and order specified. Records are updated with the name and value pairs from the...

Add

Add This function returns the sum of two numbers. Arguments Add(1,2) Ordinal Type Required Description 1 Number True First value 2 Number True Second value Example 1 %%[ var @sum, @num1, @num2 set @num1 = 5 set @num2 = 42 set @sum = Add(@num1, @num2) ]%%...