Deeplink (Hashtag) Categories

Hashtags in ORIGAM are a way how to create links to data from unstructured HTML pages, chats, etc. Hashtag category is e.g. “customer”. The hashtag label is customer/john_doe while the hashtag itself is a specially crafted <a> tag that contains both the hashtag category and an identification of the target record.

Attributes

Name Name of the hashtag category will identify it and will be stored within the hashtag.
Label A label that will be shown to the user, e.g. when creating the hashtag using a pop-up window.
Lookup

A lookup which will resolve the list of available values for the user to construct the hashtag e.g. in Chat.

It must be server-side filtered and must be connected to a menu item so the user can use the hashtag as a link.

If you want to use the hashtag category only to create custom HTML links, it still has to be server-side filtered, although the filter will never be used as the last part of the lookup will never be called.

Roles An application role that will limit the access to this category.

HTML Markup

Hashtags can be used within custom HTML (either Web Report or Notification Boxes And Tooltips). If you create a link that conforms to the following format, it will automatically open the corresponding screen:

<a href="web+origam-link://objectTag?categoryId=ContactFile&objectId=0bd6ae5a-b31c-4b2f-8af5-bdd4ab7a984e">Label you like</a>

Where the parameters are:

web+origam-link:// This is a custom protocol. Use it instead of http://
objectTag Leave it like this.
categoryId Put the hashtag category name after the equal sign. E.g. categoryId=ContactFile where ContactFile is the category name.
objectId This is the target ID that will be passed to the screen opened through the lookup’s menu binding.

JavaScript

To call a custom protocol from JavaScript you need to create a hidden <a> tag set the link there and then use JavaScript to “click” on it. See this article for more information.

Chat Module

Hashtags are also a part of the chat module. All the available hashtag categories can be used within the chat in order to “pin” the chats to records or to “mention” e.g. customers in the chat.