Element Details: Bookmark+Organizer
 Back


Available in: Logi Info Source code name: BookmarkOrganizerIntroduced in: v11.4.046

BookmarkOrganizer helps users organize Bookmarks into folders. Users may create folders containing bookmarks and sub-folders. Folders may be named and renamed, they can be moved around into other folders with drag and drop.

With the AllowSharing attribute, folders and their contents may be shared with other users. Optionally use the SharingList element to let users pick from a list provided by a DataLayer.

The BookmarkOrganizer is designed to work with a DataTable element in the same definition which lists Bookmarks. When a folder is clicked, the DataTable can be refreshed to show the content of that folder. This works by setting a session variable “rdSelectedFolderID” and then refreshing the DataTable. The DataTable must have a DataLayer.Bookmarks and a filter which selects only those bookmarks in that folder. For example:

<CompareFilter DataColumn="FolderID" ID="compareInFolder" CompareType="=" CompareValue="@Session.rdSelectedFolderID~" />

Bookmarks may be dragged into folders with the Action.DragBookmark element located inside the DataTable.



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
AllowSharing
True
False
AllowSharing specifies if the user may share bookmarks and folders. The default is False.
BookmarkCollection
UserDefined
Bookmarks are stored in Bookmark Collection XML files, which are located in a folder specified in the BookmarkLocation attribute of the settings.lgx General element. BookmarkCollection sets the name of the collection. The information for each collection is stored in a file. Typically, there is one BookmarkCollection for each user. In this case, the BookmarkCollection attribute should be set to "@Function.Username~". To help keep consistency, set the settings' General element's BookmarkCollectionDefault attribute with a global value, rather than setting BookmarkCollection in individual elements.
DataTableID
UserDefined
(Required) The ID of a DataTable element.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
SelectedFolderClass
UserDefined
SelectedFolderClass specfies the class for the currently selected folder. The default provides a bold appearance.
TemplateModifierFile
UserDefined
Some elements employ a definition file as a template. The definition contains language and culture specific Caption attributes that you may want to change. Or you may simply want to change the captions to better suit your application. The TemplateModifierFile is an XML file with elements pointing to other elements in the template to be changed. All other attributes get applied in the template. For example, the Dashboard2 element has a template file (rdTemplate\rdDashboard\rdDashboard2Template.lgx) several Label elements. One has an ID="lblAddPanelsTitle". The Caption can be changed with the following XML in the TemplateModifierFile: You can set attributes for any number of elements. Examine the template file to learn the ID and Caption attributes you may want to modify. The above example shows how to identify template elements with an ID attribute. Alternatively, you can also identify elements with an XPath expression. In this example, we change an attribute of the InteractivePaging element: For a more detailed list of modifier actions see the following DevNet article. TemplateModifierFiles can be in any folder accessable to the web application. When a directory location is not specified, the default location is the _SupportFiles folder.



PARENT ELEMENTS

Click element to drill down for more information.

Body
Column Cell
Division
Fieldset Box
HTML Tag Responsive Column


CHILD ELEMENTS

Click element to drill down for more information.

Sharing List


 Back to top


 Chart Debug