OnlineMarketingTransformationFunctions Class |
Namespace: CMS.OnlineMarketing
public class OnlineMarketingTransformationFunctions
The OnlineMarketingTransformationFunctions type exposes the following members.
Name | Description | |
---|---|---|
OnlineMarketingTransformationFunctions |
Name | Description | |
---|---|---|
ActivityLinkedToObject |
Returns if activity is linked to object of type given in parameter and codename given in second parameter.
| |
BelongsToAccount |
Returns true if contact belongs to specified account.
| |
ClickedLinkInNewsletter |
Returns true if the contact clicked link in specified newsletter.
| |
DidActivities |
Returns true if the contact did any/all of the specified activities.
| |
DidActivity |
Returns true if the contact did a specified activity.
| |
FirstActivityOfType |
Returns contact's first activity of specified activity type.
| |
GetContactInfo |
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.
| |
GetEmailDomain |
Returns e-mail domain name.
| |
GetLastNewsletterIssue |
Returns last newsletter issue that was sent to the contact of the state.
| |
GetScore |
Returns contact's points in specified score on current site.
| |
InteractedWithNewsletterIssue |
Returns true if the contact clicked link in the specified newsletter issue.
| |
IsFromCountry |
Returns true if the contact's country matches one of the specified countries.
| |
IsFromState |
Returns true if the contact's country matches one of the specified countries.
| |
IsInCommunityGroup |
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).
| |
IsInContactGroup |
Returns TRUE if the contact is in any/all specified contact group(s) on current site.
| |
IsInRoles |
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).
| |
LastActivityOfType |
Returns contact's last activity of specified activity type.
| |
LoggedIn |
Returns true if the contact logged in.
| |
OpenedNewsletter |
Returns true if the contact opened specified newsletter.
| |
PurchasedNumberOfProducts |
Returns true if the contact purchased specified number of products in last X days.
| |
PurchasedProduct |
Returns true if the contact purchased specified product or its variant.
| |
RegisteredForEvent |
Returns true if the contact registered for specific event.
| |
SearchedForKeywords |
Returns true if the contact did search (internal or external) for specified keywords in last X days.
| |
SpentMoney |
Returns true if the contact spent specified amount of money (counted by order total price in main currency) in last X days.
| |
SubmittedForm |
Returns true if the contact submitted specified form.
| |
SubscribedToNewsletter |
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.
| |
VisitedPage |
Returns true if the contact visited specified page.
| |
VotedInPoll |
Returns true if the contact voted in the poll.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |