Sharing Bookmark Folders
Entire bookmark folders can also be shared with other users:
When sharing is enabled and you hover your mouse over sub-folders in the Bookmark Organizer, you'll see the built-in sharing icon, as shown above. The icon color indicates whether the folder has been shared with anyone.
A special Shared with Me folder will appear containing the folders, if any, that others have shared with you. Click the shared folders to see their contents and run the bookmarks. You can hover your mouse over them to see who shared them with you.
Clicking a sub-folder's green or black sharing icon will display the same Share pop-up panel used when sharing bookmarks. In it, you can see who you've shared the folder with, share the folder with others, and revoke sharing. The My Items personal folder cannot be shared.
New for 14.1 Select the question mark icon next to the Interactive permission to expose a permission description:
If your application has been configured for it, you will receive a notification on the SSRM Home page when an item is shared/unshared with you:Selecting this notification will display information about the author and shared folder. Select the shared item to access the folder:
Shared Folder Shortcuts
Suppose a folder shared with you is many levels of sub-folders deep and it's a nuisance to have to drill-down to it every time you need to use its bookmarks. The shared folder shortcut can make life easier for you in this case. This is created by drilling-down to the shared folder you want and then dragging it onto one of your personal folders:
This action creates the folder shortcut, as shown above. You can rename or remove shortcuts by clicking the gear icon next to the shared folder.
Implementation
Assuming you've already implemented the Bookmark Organizer, here's how to implement bookmark sharing:
- Set your Bookmark Organizer element's Allow Sharing attribute to True (tokens may be used here), as shown above.
- Next, decide if you want to provide users with a pick-list of other users with whom they can share folders. This is determined by the addition of the Sharing List element beneath Bookmark Organizer. Referring to the images shown above:
Without the Sharing List element, user names can be typed-in and will be compared to the names associated with all of the existing personal bookmark collections. A type-ahead feature helps filter the available names.
With the Sharing List element, user names are displayed in an embedded table, as shown above right, and the names come from a datalayer. If a user in the table doesn't have a personal bookmark collection yet, one will be created for her automatically if a folder is shared with her.
The example above shows the Sharing List element in use. As a special type of Data Table, it gives developers some control over the contents and formatting of the list. Any type of datalayer can be used and users are selected by clicking table rows. The Share pop-up panel will automatically expand to fit the width of the table. Specify the name of the datalayer column containing the user names in the Sharing List element's Sharing Collection Column attribute.
Your bookmark folder sharing functionality is now ready for use. Here's a testing tip:
In your _Settings definition, use the Security element's Development Username attribute to run the application as different users in order to see that individual bookmark folders are created and shared correctly.