Ampscript functions

Salesforce official documentation

API

  • AddObjectArrayItem
  • CreateObject
  • InvokeCreate
  • InvokeDelete
  • InvokeExecute
  • InvokePerform
  • InvokeRetrieve
  • InvokeUpdate
  • RaiseError
  • SetObjectProperty

Contacts

Content

  • AttachFile
  • BarCodeURL
  • BeginImpressionRegion
  • BuildOptionList
  • BuildRowSetFromString
  • BuildRowSetFromXML
  • ContentArea
  • ContentAreaByName
  • ContentBlockbyId
  • ContentBlockbyKey
  • ContentBlockbyName
  • ContentImagebyID
  • ContentImagebyKey
  • CreateSmsConversation
  • EndImpressionRegion
  • EndSmsConversation
  • GetPortfolioItem
  • Image
  • _messageContext
  • SetSmsConversationNextKeyword
  • TransformXML
  • TreatAsContent
  • TreatAsContentArea
  • WAT
  • WATP

Data Extension

  • ClaimRow
  • ClaimRowValue
  • DataExtensionRowCount
  • DeleteData
  • DeleteDE
  • ExecuteFilter
  • ExecuteFilterOrderedRows
  • Field
  • InsertData
  • InsertDE
  • Lookup
  • LookupOrderedRows
  • LookupOrderedRowsCS
  • LookupRows
  • LookupRowsCS
  • Row
  • RowCount
  • UpdateData
  • UpdateDE
  • UpsertData
  • UpsertDE

Date Time

  • DateAdd
  • DateDiff
  • DateParse
  • DatePart
  • GetSendTime
  • LocalDateToSystemDate
  • Now
  • SystemDateToLocalDate

Encryption

  • Base64Decode
  • Base64Encode
  • DecryptSymmetric
  • EncryptSymmetric
  • GUID
  • MD5
  • SHA1
  • SHA256

HTTP

  • HTTPGet
  • HTTPPost
  • HTTPPost2
  • HTTPRequestHeader
  • IsCHTMLBrowser
  • RedirectTo
  • URLEncode
  • WrapLongURL

Math

  • Add
  • Divide
  • FormatCurrency
  • FormatNumber
  • Mod
  • Multiply
  • Random
  • Subtract

Microsoft Dynamics CRM

  • AddMscrmListMember
  • CreateMscrmRecord
  • DescribeMscrmEntities
  • DescribeMscrmEntityAttributes
  • RetrieveMscrmRecords
  • RetrieveMscrmRecordsFetchXML
  • SetStateMscrmRecord
  • UpdateMscrmRecords
  • UpsertMscrmRecord

Salesforce

  • CreateSalesforceObject
  • LongSFID
  • RetrieveSalesforceJobSources
  • RetrieveSalesforceObjects
  • UpdateSingleSalesforceObject

Sites

  • AuthenticatedEmployeeID
  • AuthenticatedEmployeeNotificationAddress
  • AuthenticatedEmployeeUserName
  • AuthenticatedEnterpriseID
  • AuthenticatedMemberID
  • AuthenticatedMemberName
  • CloudPagesURL
  • IsNullDefault
  • LiveContentMicrositeURL
  • MicrositeURL
  • QueryParameter
  • Redirect
  • RequestParameter

Social

  • GetPublishedSocialContent
  • GetSocialPublishURL
  • GetSocialPublishURLByName

String

  • Char
  • Concat
  • Format
  • IndexOf
  • Length
  • Lowercase
  • ProperCase
  • RegExMatch
  • Replace
  • ReplaceList
  • StringToDate
  • StringToHex
  • Substring
  • Trim
  • Uppercase

Utilities

  • AttributeValue
  • Domain
  • Empty
  • If
  • IIf
  • IsEmailAddress
  • IsNull
  • IsPhoneNumber
  • Output
  • OutputLine
  • V