[This is preliminary documentation and is subject to change.]

Returns the bookmarks for a particular group sorted by the reverse order of the rank. The rank is determined as, number of impression + number of clicks + (weight*2)+ (Date since last clicked)*2

Namespace:  OfficeClip.DBLayer.OfficePortal
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public DataSet GetBookmarksByRank(
	int groupId
)
Visual Basic (Declaration)
Public Function GetBookmarksByRank ( _
	groupId As Integer _
) As DataSet
Visual C++
public:
DataSet^ GetBookmarksByRank(
	int groupId
)

Parameters

groupId
Type: System..::.Int32
The unique id for the group.

Return Value

DataSet containing all information related to the bookmarks of a particular Category for the currently selected group in order described above. This DataSet consists of a single DataTable with the following columns.
  • isGroup (System.String)Flag (Y/N) indicating whether a bookmark is a group bookmark or a private bookmark. Note that since this DataSet is returning only the bookmarks belonging to the currently selected group, the value of this flag will always be 'Y'.
  • htmlId (System.Int32)Id of the bookmark.
  • title (System.String)title of the bookmark.
  • url (System.String)Url of the web page which has been bookmarked.
  • descr (System.String)Description of the url giving information about the web page which has been bookmarked.
  • cdt (System.DateTime)Date and time when the bookmark has been created.
  • CreatedBy (System.Int32)Id of the user who has created the bookmark.
  • uname (System.String)Name of the user who has created the bookmark.
  • urlWeight (System.Double)The weight of the url depending on how long it is in there, how many times it has been viewed and the rating that user has given to it.

See Also