Plugin : Tags

Author:Rex.Rainbow

Download

Properties

Class name

  • Class name of this tags system.

Lines

  • Line count of each page.

Owner class name

  • Class name of owner. "" would ignore this feature.

Target class name

  • Class name of target. "" would ignore this feature.

Actions

Filter - 1. new

Action:New

  • Create a new tag filter.

Filter - 2. ownerID

Action:All owners

  • Add all owners into filter.

Action:Add owner

  • Add an owner into filter.
    • Owner ID ( string ) : Owner ID.

Filter - 3. targetID

Action:All targets

  • Add all targets into filter.

Action:Add target

  • Add a target into filter.
    • Target ID ( string ) : Target ID.

Filter - 4. user tag

Action:All user tags

  • Add all user tags into filter.

Action:Add user tag

  • Add a user tag into filter.
    • User tag ( string ) : Target ID.

Filter - 5. category

Action:All categoies

  • Add all categoies into filter.

Action:Add category

  • Add a category into filter.
    • Category ( string ) : Category.

Initial

Action:Initial table

  • Initial table.

Load

Action:Request in a range

  • Request tags in a range.
    • Start ( number ) : Start index, 0-based.
    • Lines ( number ) : Count of lines
    • Object ( Combo ) : Get owner and target object.
      • Options : ["without","with"]

Action:Request to page

  • Request tags at page.
    • Index ( number ) : Page index, 0-based.

Action:Request current page

  • Request tags at current page.

Action:Request next page

  • Request tags at next page.

Action:Request previous page

  • Request tags at previous page.

Load - tags list

Action:Request tags list

  • Request tags list.

Paste

Action:Paste tag

  • Paste tag on an object.
    • OwnerID ( string ) : Object ID of owner.
    • TargetID ( string ) : Object ID of tagged target.
    • User tag ( string ) : User tag.
    • Category ( string ) : Category.
    • Description ( string ) : (Optional) Description of this tag. Input "" to ignore this field

Queried tags count

Action:Get tags count

  • Get queried tags count. Maximum of 160 requests per minute.

Remove

Action:Remove queried tags

  • Remove queried tags.

Reset targetID of an user tag

Action:Add targetID

  • Add targetID.
    • TargetID ( string ) : TargetID.
    • Description ( string ) : (Optional) Description of this tag. Input "" to ignore this field

Action:Reset targets

  • Reset targetID of a user tag.
    • OwnerID ( string ) : Object ID of owner.
    • User tag ( string ) : User tag.
    • Category ( string ) : Category.

Reset user tags of a target

Action:Add user tag

  • Add user tag.
    • User tag ( string ) : User tag.
    • Description ( string ) : (Optional) Description of this tag. Input "" to ignore this field

Action:Reset user tags

  • Reset user tags of a target.
    • OwnerID ( string ) : Object ID of owner.
    • TargetID ( string ) : Object ID of tagged target.
    • Category ( string ) : Category.

Expressions

Error

Expression:ErrorCode

  • Error code.

Expression:ErrorMessage

  • Error message.

Load

Expression:TagsToJSON

  • Get all read tags in JSON string.

Load - for each

Expression:CurOwnerID

  • Get the current ownerID in a For Each loop.

Expression:CurTargetID

  • Get the current targetID in a For Each loop.

Expression:CurUserTag

  • Get the current user tag in a For Each loop.

Expression:CurCategory

  • Get the current category in a For Each loop.

Expression:CurDescription

  • Get the current description in a For Each loop.

Expression:CurTagID

  • Get the current tagID in "Condition: For each tag" or "Condition: For each kind of tag".

Expression:CurOwnerObject

  • Get the current owner object in JSON string in a For Each loop. Add 1st parameter to get value at the specific key. Add 2nd parameter for default value if this key is not existed.

Expression:CurTargetObject

  • Get the current target object in JSON string in a For Each loop. Add 1st parameter to get value at the specific key. Add 2nd parameter for default value if this key is not existed.

Expression:CurTagCount

  • Get tag count in current received page.

Load - for each - index

Expression:CurTagIndex

  • Get the current tag index in a For Each loop.

Expression:CurStartIndex

  • Get start index in current received page.

Expression:LoopIndex

  • Get loop index in current received page.

Paste

Expression:LastPastedOwnerID

  • Get last pasted ownerID under "Condition:On paste complete".

Expression:LastPastedTargetID

  • Get last pasted targetID under "Condition:On paste complete".

Expression:LastPastedTagID

  • Get last pasted tagID under "Condition:On paste complete".

Expression:LastPastedUserTag

  • Get last pasted user tag under "Condition:On paste complete".

Expression:LastPastedCategory

  • Get last pasted category under "Condition:On paste complete".

Expression:LastPastedDescription

  • Get last pasted description under "Condition:On paste complete".

Queried tags count

Expression:LastTagsCount

  • Get last queried tags count under "Condition: On get tags count complete".

Tags list

Expression:TLTagNameCount

  • Get tags count in tags list.

Expression:TLTotalTagsCount

  • Get total tags count in tags list.

Expression:TLToJSON

  • Get tags List in JSON string.

Tags list - for each

Expression:TLCurTagName

  • Get the current user tag under "Condition: For each kind of tag".

Expression:TLCurTagsCount

  • Get the current tags count under "Condition: For each kind of tag".

Conditions

Load

Condition:On received

  • Triggered when received tags.

Condition:On received error

  • Triggered when received tags error.

Load - for each

Condition:For each tag

  • Repeat the event for each tag.

Condition:For each tag in a range

  • Repeat the event for each tag in a range.
    • Start ( number ) : Start from message index (0-based).
    • End ( number ) : End to message index (0-based). This value should larger than Start.

Paste

Condition:On paste complete

  • Triggered when paste complete.

Condition:On paste error

  • Triggered when paste error.

Queried tags count

Condition:On get tags count complete

  • Triggered when get tags count.

Condition:On get tags count error

  • Triggered when get tags count error.

Remove queried tags

Condition:On remove queried tags complete

  • Triggered when remove complete.

Condition:On remove queried tags error

  • Triggered when remove error.

Reset targets of an user tag

Condition:On reset targets complete

  • Triggered when reset targets complete.

Condition:On reset targets error

  • Triggered when reset targets error.

Reset user tags of a target

Condition:On reset tags complete

  • Triggered when reset tags complete.

Condition:On reset tags error

  • Triggered when reset tags error.

Tags list

Condition:On get tags list

  • Triggered when get tags list count.

Condition:On get tags list error

  • Triggered when get tags list error.

Condition:For each kind of tag

  • Repeat the event for each kind of tag in tags list.
    • Order ( Combo ) : Sort by name or count.
      • Options : ["Tag count in ascending order","Tag count in descending order","Tag name in ascending order","Tag name in descending order"]