MARSC My History web part
The web part MARSC – My History displays a list of all Q_Panel activity for the panellist consisting of community events and contact history (the status of each sample invitation).
Its properties are as follows:
Data Filter
ORDER By expression
Sets the value of the ORDER BY clause in the SELECT statement used to retrieve the content. If empty, the records are ordered by event date descending. See table below for list of values that can be used.
Select Top N Items
Specifies the maximum amount of items to be selected. If empty, all possible items are selected.
WHERE condition
Sets the value of the WHERE clause in the SELECT statement used to retrieve the content. See table below for list of values that can be used.
Data Filter values
EventType | 0 for contact history, other event type codes can be found in MARSC_EventHistory. |
EventDescription | |
EventDetails | |
AdditionalInformation | |
IsNonMarsc | |
EventDate | |
EventId | Unique_Ref_No for EventType = 0, EventHistoryID for other events. |
RewardPoints | |
IsOutForInterview | From MARSC_OutcomeCode. |
IsContacted | From MARSC_OutcomeCode. |
IsWillingToInterview | From MARSC_OutcomeCode. |
IsCompleteResponded | From MARSC_OutcomeCode. |
IsDontContactAgain | From MARSC_OutcomeCode. |
IsDontContactFor | From MARSC_OutcomeCode. |
Note that OutcomeCode is not available but you could use: EventType = 0 AND EXISTS(...) in the where statement using EventId (uniquerefno).
Transformations
Transformation Name
Sets the transformation used for the displayed content in list view mode. Transformations are specified in format <class name>.<transformation name>.
Header Transformation Name
Sets the transformation used at the beginning of every hierarchical level. Transformations are specified in format <class name>.<transformation name>.
Footer Transformation Name
Sets the transformation used at the end of every hierarchical level. Transformations are specified in format <class name>.<transformation name>.
No data behaviour
Hide if no history found
Indicates if the web part should be hidden when no items to be displayed are retrieved.
No history found text
The message that should be displayed if no records are found. This text will not be visible if the ‘Hide if no record found’ property of the web part is enabled.
Note that in later versions this property may be removed and managed instead within Site Manager/UI Cultures.
Pager
Enable Paging
This box should be ticked if paging of panellist’s history is required.
Page Size
The maximum number of records displayed per page.
Paging Mode
Determines which method is used to pass information about the currently selected page - it can be passed either as a parameter in the URL (Query string) or through postback (Postback).
Querystring Key
Sets the name of the URL parameter used to pass information about the current page number (used if the Paging mode property is set to Query string).
Group Size
Sets the maximum amount of page number links that will be displayed together. Any additional links that do not fit can be accessed in the next or previous group.
Display First & Last Automatically
If enabled, the "go to first page" and "go to last page" buttons of the pager will be displayed only when there is no other way to access the first or last page through the pager.
Display Previous & Next Automatically
If enabled, the "go to previous page" and "go to next page" buttons of the pager will be displayed only when there is no other way of accessing the previous or next page through the pager.
Hide Pager For Single Page
Indicates whether the pager should be hidden if the displayed items fit onto a single page.
Pager Design
Pages
Sets the transformation used for page links.
Use <%# Eval("Page") %> to get the appropriate page number dynamically, <%# Eval("PageURL") %> to get the page URL or <%# Eval("PageLink") %> to get a link to the appropriate page.
Current Page
Sets the transformation used for the currently selected page.
Use <%# Eval("Page") %> to get the current page number, <%# Eval("PageURL") %> to get the page URL or <%# Eval("PageLink") %> to get a link to the current page.
Page Separator
Sets the transformation used as a separator between page links.
First Page
Sets the transformation used for the link to the first page.
Use <%# Eval("FirstURL") %> to get the URL of the first page.
Last Page
Sets the transformation used for the link to the last page.
Use <%# Eval("LastURL") %> to get the URL of the last page.
Previous Page
Sets the transformation used for the link to the previous page.
Use <%# Eval("PreviousURL") %> to get the URL of the previous page.
Next Page
Sets the transformation used for the link to the next page.
Use <%# Eval("NextURL") %> to get the URL of the next page.
Previous Group
Sets the transformation used for the link to the previous group of page links.
Use <%# Eval("PreviousGroupURL") %> to get the URL of the previous group.
Next Group
Sets the transformation used for the link to the next group of page links.
Use <%# Eval("NextGroupURL") %> to get the URL of the next group.
Direct Page
Sets the transformation that implements direct page changing.
Use a text box or drop-down list control with an ID set to "directPageControl" to register the page change event.
Pager Layout
Sets the transformation that determines the overall design of the pager.