MyDocuments

  • Posted in: Asia Pacific HUG

User Control Name ws:MyDocuments
Parameters to use for the above displayed user control NumberToShow="5" HideIfNoData="False" TitleLength="50" DescriptionLength="100" ContributedByText="By:" PostedInText="Posted in:" MoreLinkText="More" AddDocumentLinkText="add document" AddDocumentToolTipText="Add Document" IsFavorites="False" ShowPicture="True" ShowProfileLink="True" ShowContributor="True" ShowPostDateTime="True" ShowLibraryName="True" ShowDescription="True" ShowAllLibrariesDocuments="False" ShowMyDocuments="False" ShowMoreLink="False" ShowAddDocumentLink="True" IgnoreStaff="False" Columns="1" HideIfNoCommunityLibrary="False" IgnoreHLAdmin="False" ImageMaxHeight="50" ImageMaxWidth="50" PostedInLength="30" ShowDocumentTitle="True" ShowThumbnails="False"
Standard Properties

MemberKey - The member key of the user viewing the control. This is the membership system's key, not the Higher Logic key.

Title - The title to show at the top of this control. If not supplied, no title will show.

CssClass - The Cascading Style Sheet class used to wrap the entire control.

NoDataText - The text to show if no data is returned using the given criteria.

NotLoggedInNoDataText - The text to show if no data is returned using the given criteria and the user is not logged in.

HideIfNoData - Whether or not to hide the control if no data is found. If true, the control will be hidden if no data is found; if false or not supplied the NoDataText message will be shown

MemberKeyIfNotLoggedIn - The member key of the user viewing the control if not logged in. This is the membership system's key, not the Higher Logic key.

User Control Prameters for Control ws:MyDocuments

NumberToShow - Gets or set the maximum number of documents that will show at one time. The default is 5.

TitleLength - The number of characters of the title to show. The default is 50.

DescriptionLength - The number of characters of the description to show if ShowDescription is true. The default is 100.

ContributedByText - The text that shows in front of the contributor’s name in the by line. Default is “By:” Only shows if ShowContributor is true.

PostedInText - The text that shows in front of the Resource Library name. Only shows if ShowLibraryName is true.

ContributorMemberKey - The member key of the person whose documents or favorites we want to show.

LibraryKey - Gets or sets the key of the library from which the documents will come. If not suppied the CommunityKey or MicrositeKey will be used (in that order) to determine the appropriate library.

IgnoreStaff - Gets or sets an indicator of whether or not to show the admin documents.

IsFavorites - If true (false is the default) shows the contributor’s favorites rather than the contributor’s uploaded documents.

ShowPicture - If true (flase is the default) shows the picture of the person who did the post (as a link to their profile).

ShowProfileLink - if true (false is the default) shows the link to the profile of the person who did the post.

ShowContributor - If true (default), will show the name of the person who made the post; if false it will not.

ShowPostDateTime - If true (default), will show the date and time the post was made; if false it will not.

ShowLibraryName - If true (default), will show the name of the Library in which the post was made; if false it will not.

ShowDescription - If true (default), will show the some or all of the description of the entry; if false it will not.

ShowAllLibrariesDocuments - Gets or sets the ShowAllLibrariesDocuments. If ShowAllLibrariesDocuments=true, display all libraries documents. If ShowAllLibrariesDocuments=false, display only the specific library documents.

ShowMyDocuments - Whether to show my documents only.

ShowAddDocumentLink - Gets or sets an indicator of whether or not to show add document link.

AddDocumentLinkText - Add document link text.

AddDocumentToolTipText - Add document link tool tip text.

ShowMoreLink - Gets or sets an indicator of whether or not to show more link.

MoreLinkText - The text of the "More" documents.

MoreLinkUrl - We can set the more link Url by this property.

Target - The target window or frame in which to the page that shows the document description opens.

Columns - The number of columns of documents to show. Will mostly be used with the image and video thumbnails but could be used for list.

FilterByCategories - A comma delimited list of FileTypeCategories to include in the list. If blank, include them all. But could be like "Video" to show only videos. Or "Video, Image" to show both videos and images.

HideIfNoCommunityLibrary - Hides if thers is no community Library there. Default value is false.

IgnoreHLAdmin - Gets or sets an indicator of whether or not to show the admin blogs.

ImageMaxHeight -

ImageMaxWidth -

MoreLinkPageCode - To manage the more link url.

PostedInLength - To limit the lenght of Posted Inn Library name. Default value is 30.

ShowDocumentTitle - If true(Default) , shows the document title.

ShowThumbnails - Shows the file thumbnails, if set to true. Default is false.

SinceDate -Gets or set the oldest document create date that can be shown in this list. The default is 6 months back from today. (Please enter the date in mm/dd/yyyy format)