Click or drag to resize
OnlineMarketingTransformationFunctions Methods

The OnlineMarketingTransformationFunctions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberActivityLinkedToObject
Returns if activity is linked to object of type given in parameter and codename given in second parameter.
Public methodStatic memberBelongsToAccount
Returns true if contact belongs to specified account.
Public methodStatic memberClickedLinkInNewsletter
Returns true if the contact clicked link in specified newsletter.
Public methodStatic memberDidActivities
Returns true if the contact did any/all of the specified activities.
Public methodStatic memberDidActivity
Returns true if the contact did a specified activity.
Public methodStatic memberFirstActivityOfType
Returns contact's first activity of specified activity type.
Public methodStatic memberGetContactInfo
Returns contact related with subscriber. If there is no known relation between contact and subscriber, returns contact with the same email. In this case, if there is more contacts with the same email, selects the one with last logged activity.
Public methodStatic memberGetEmailDomain
Returns e-mail domain name.
Public methodStatic memberGetLastNewsletterIssue
Returns last newsletter issue that was sent to the contact of the state.
Public methodStatic memberGetScore
Returns contact's points in specified score on current site.
Public methodStatic memberInteractedWithNewsletterIssue
Returns true if the contact clicked link in the specified newsletter issue.
Public methodStatic memberIsFromCountry
Returns true if the contact's country matches one of the specified countries.
Public methodStatic memberIsFromState
Returns true if the contact's country matches one of the specified countries.
Public methodStatic memberIsInCommunityGroup
Returns true if the contact is in any/all of the specified community groups (i.e. if any of the user assigned to the contact is in any/all specified community groups).
Public methodStatic memberIsInContactGroup
Returns TRUE if the contact is in any/all specified contact group(s) on current site.
Public methodStatic memberIsInRoles
Returns true if the contact is in any/all of the specified roles (i.e. if any of the user assigned to the contact is in any/all specified roles).
Public methodStatic memberLastActivityOfType
Returns contact's last activity of specified activity type.
Public methodStatic memberLoggedIn
Returns true if the contact logged in.
Public methodStatic memberOpenedNewsletter
Returns true if the contact opened specified newsletter.
Public methodStatic memberPurchasedNumberOfProducts
Returns true if the contact purchased specified number of products in last X days.
Public methodStatic memberPurchasedProduct
Returns true if the contact purchased specified product or its variant.
Public methodStatic memberRegisteredForEvent
Returns true if the contact registered for specific event.
Public methodStatic memberSearchedForKeywords
Returns true if the contact did search (internal or external) for specified keywords in last X days.
Public methodStatic memberSpentMoney
Returns true if the contact spent specified amount of money (counted by order total price in main currency) in last X days.
Public methodStatic memberSubmittedForm
Returns true if the contact submitted specified form.
Public methodStatic memberSubscribedToNewsletter
Checks whether contact is subscribed to the given newsletter. Check is made based on the contact's email address. If there is a subscriber with the contact's email subscribed to the newsletter, it means contact is subscribed. If subscriber with contact's email is not subscribed, contact's activities are checked. If contact has subscription activity, he is subscribed.
Public methodStatic memberVisitedPage
Returns true if the contact visited specified page.
Public methodStatic memberVotedInPoll
Returns true if the contact voted in the poll.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also