Determines whether a specified user has given feedback on the specified item.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean useritemfeedback.hasusergivenfeedback(locator item, integer userId, string source, string subKey) boolean useritemfeedback.hasusergivenfeedback(string source) boolean useritemfeedback.hasusergivenfeedback(string source, string subKey) |
Parameters
Name | Data Type | Description |
---|---|---|
item | Locator | The item. |
userId | Integer | The user id. |
source | String | The source. |
subKey | String | The sub key. |
Return Value
Data Type | Description |
---|---|
Boolean | trueif the current user has given feedback on the current item; otherwise,false. |