The Custom Configuration field is a Multi-faceted Configuration field that allows you to customized the visibility of an element based on any data point in the system.
For example, if you want your content to display the viewed user that is in the Binary Tree but not personally enrolled by the viewing user, you can enter the following query:
(User.DownlineLevel(‘Placement’) > 0 AND (User.DownlineLevel(‘Enrollment’) > 0) == false) OR (User.DownlineLevel(‘Placement’) > 0 AND (User.DownlineLevel(‘Enrollment’) > 1)
This query is made up of two statements connected by an
Associates that are in the viewer’s Binary Tree only (not in Enrollment Tree):
User.DownlineLevel(‘Placement’) > 0 AND (User.DownlineLevel(‘Enrollment’) > 0) == false
Associates in both the viewer’s Binary Tree and Enrollment Tree but are not Personally Enrolled (which would be enrollment level ‘== 1’) nor the viewer themselves (which would be enrollment level ‘== 0’).
The Custom Configuration field features a type-ahead style feature that provides syntax options as you type.
The AutoComplete menu features all available Entities, Properties, and Operators.
To select a suggestion, you can:
- Use your keyboard’s ↑ or ↓ keys to highlight a select. Then press TAB to select
- Finish typing the syntax, using the AutoComplete as a reference
- Use your mouse to select the suggestion
The query language uses simple syntax made up of four elements:
The User entity can access any Data Point Category in the system.
Get Data Point Categories
See a full list here: Get Data Point Categories (GADP)
Access commission-specific values from previous periods.
User.CommissionsCV.MonthsAgo(1)– CV from 1 month ago
User.CommissionsGroupVolume.WeeksAgo(1)– Group Volume from 1 week ago
You can establish strings that target the relationship of the User viewing information and the users whose data is being viewed.
Important: When using these properties, the user describes the viewed user (such as the one being viewed), rather than the viewer (the currently logged-in user).
User.IsCurrentUser– The user data being viewed is the same as the currently logged-in User.
User.DownlineLevel('<treeType>')– The Associate whose data is being viewed gets the number of levels below the currently logged-in user in the given tree.
User.DownlineLevel('<treeType>')– This is similar to the DownlineLevel property but is used to target the direct upline of a user in a tree instead.
Note: These properties that target tree hierarchies are only applicable in situations like Data Privacy or the Team Dashboard where the restriction is based on a relationship between two users.
The valid treeTypes are:
- ‘Placement’ (such as Binary or Unilevel)
Only Showing Elements Impersonating Web Office
User.IsImpersonated– If you have an element or page in Web Office that you only want to be visible or accessible by corporate admins, you can use the
With this rule, elements will not display in Web Office for associates. Only admins using the Impersonate in Office feature will see the element.
DateTime object that is set to the current date and time. Dates are expressed as strings.
‘2016-01-01 00:00 AM Central Standard Time’
||Gets the day of the month represented by this instance. Days are expressed as integers.|
||Gets the hour component of the date represented by this instance. Hour is expressed as an integer between 0 and 23.|
||Gets the minute component of the date represented by this instance. Minutes are represented as integers.|
||Gets the month component of the date represented by this instance. Months are represented as integers.|
||Gets the year component of the date represented by this instance. Years are represented as integers.|
||Add or subtract days from the current. Integers can be positive or negative.|
||Add or subtract hours from the current. Integers can be positive or negative.|
||Add or subtract years from the current. Integers can be positive or negative.|
||String is one of…|
||String does not contain…|
||Does not equal|
||Greater than or equal to|
||Less than or equal to|
||Specify order of operations or string groups|
|Dates ‘YYY-MM-DD HH:MM AM Timezone’ (HH:MM is optional)||
|Your content will be displayed to users in Australia, Canada, or the United States.||
|Your content will be displayed to users in Australia, Canada, or the United States that speak English.||
|Your content will be displayed starting on Jan. 1, 2019.||
|Your content will be displayed to users who enrolled in 2019 after the 20th day of any month.||
|Your content will be displayed to users in the United States who enrolled within the last (rolling) 30 days.||
|Your content will be displayed to users in Canada who are Active and they are Ambassadors.||
|Your content will be displayed only on the logged-in user’s birthday||
|Your content will display the viewed User that is personally enrolled by the viewer (or, in other words, on level 1 of the viewer’s Enrollment Tree).||
|Your content will display the viewed User that is more than one level below the viewer in the enrollment tree.||
Note: If the viewed user is not in the viewer’s enrollment tree downline, or if the viewed user is the viewer themselves (such as, the user is viewing his own data) This example will return false.
Please sign in to leave a comment.