Description
Creates a like button. If used within a result you will need to add the following workflow processor to your platform configuration file in order to get the status of the like and the number of people who have liked the result. The default file isplatforms/fusion/data.conf
.
Usage
as element:Parameters
Param | Type | Details |
---|---|---|
target | string | A unique identifier for a document that is being liked. Example values: document123 Maximum length: 2083 characters |
topic (optional) | number | A topic to which the new like should belong. |
platform | string | Name of the platform to send the data to. |
collection (optional) | string | The collection to which the target document belongs. |
enable-tooltip (optional) | boolean | Whether to enable the tooltip (Default:true). |
Example
Source
Result
