Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User insertPoints: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
 
Line 8: Line 8:
'''Syntax'''
'''Syntax'''


User_insertPoints(''points, description''): add points for a user in current RPQ context. '''Note''': use this function so we can analyze points data by questionnaire and have tracking infomation
User_insertPoints(''points, description''): add points for a user in current RPQ context. '''Note''': use this function so we can analyze points data by questionnaire and have tracking information


User_insertPoints(''points, description, userResourceId''): add manual transaction point for a user
User_insertPoints(''points, description, userResourceId''): add manual transaction point for a user

Latest revision as of 08:41, 16 March 2016



User_insertPoints

Add points to a user

Syntax

User_insertPoints(points, description): add points for a user in current RPQ context. Note: use this function so we can analyze points data by questionnaire and have tracking information

User_insertPoints(points, description, userResourceId): add manual transaction point for a user

Arguments

  • points: is a number expression. It is the number of points to add
  • description: is a string expression. It is the description of the transaction
  • userResourceId: is a number expression. It is the resource id of a user

Return value

empty

Example

User_insertPoints(120, "some description", 46898);

Availability

Version 5.6