public
Authored by avatar Hao Pham

ActionButton

Edited
calendar.json 2.39 KiB
snippetfile1.json 3.60 KiB
[{
   "actionID": 1,
   "orderNumber": "1",
   "type": "act_call",
   "label": "Dynamic-Call",
   "phone": "##text_i3##"
  },
  {
   "actionID": 2,
   "orderNumber": "2",
   "label": "Dynamic-SMS",
   "type": "act_sms",
   "phone": "##text_i3##",
   "defaultMsg": "Hello"
  },
  {
   "actionID": 3,
   "orderNumber": 3,
   "type": "act_gps",
   "label": "Dynamic-Open Location",
   "name": "##text_i1##",
   "lat": "##geopoint_b7Latitude##",
   "lon": "##geopoint_b7Longitude##",
   "mapType": "normal"
  },
  {
   "actionID": 4,
   "orderNumber": 4,
   "type": "act_share",
   "label": "Dynamic-Copy",
   "copy": "true",
   "body": "##text_i5##"
  },
  {
   "actionID": 5,
   "orderNumber": 5,
   "type": "act_share",
   "label": "Dynamic-Share",
   "copy": "false",
   "subject": "##text_i5##",
   "body": "##text_i5##"
  },
  {
   "actionID": 6,
   "orderNumber": 6,
   "type": "act_open_html_screen",
   "label": "Dynamic-Open HTML (center)",
   "template": "<p><big><b><font color = #FF0000>Hello</font></b></big></p>",
   "screenTheme": "popup-center"
  },
  {
   "actionID": 7,
   "orderNumber": 7,
   "type": "act_open_html_screen",
   "label": "Dynamic-Open HTML (bottom)",
   "template": "<p><big><b><font color = #FF0000>Hello</font></b></big></p>",
   "screenTheme": "popup-bottom"
  },
  {
   "actionID": 8,
   "orderNumber": 8,
   "type": "act_open_html_screen",
   "label": "Dynamic-Open Link (fullscreen)",
   "template": "https://rtlab.pages.rta.vn/pages/qc-test-pages/urltest.html",
   "screenTheme": "fullscreen"
  },
  {
   "actionID": 9,
   "orderNumber": "9",
   "label": "Dynamic-Call API",
   "type": "act_call_api",
   "filePath": "/RTAnalytics/snippets/snippetfile1.txt",
   "url": "https://rtgit.rta.vn/-/snippets/65/raw/main/snippetfile1.txt?inline=false"
  },
  {
   "actionID": 10,
   "orderNumber": 10,
   "type": "act_fill_form",
   "label": "Dynamic-Fill Form",
   "familyID": "QC_Overflow_Menu"
  },
  {
   "actionID": 11,
   "orderNumber": 11,
   "type": "act_fill_form",
   "label": "Dynamic-Fill Form (preload)",
   "familyID": "QC_Overflow_Menu",
   "preload": [{
    "key": "text_i1",
    "value": "##text_i1##"
   }]
  },
  {
   "actionID": 12,
   "orderNumber": 12,
   "type": "act_report",
   "label": "Dynamic-Report",
   "reportID": "1"
  },
  {
   "actionID": 13,
   "orderNumber": 13,
   "type": "act_dm_view",
   "label": "Dynamic-Open Datamodel",
   "subModule": "suboverflowmenu1",
   "object": "suboverflowmenu1-testoverflowmenu2-ddobj02"
  },
  {
   "actionID": 14,
   "orderNumber": 14,
   "type": "act_open_module",
   "label": "Dynamic-Open Module",
   "destinationCode": "testlistviewhaopham",
   "destinationType": "module"
  },
  {
   "actionID": 15,
   "orderNumber": 15,
   "type": "act_open_module",
   "label": "Dynamic-Open SubModule",
   "destinationCode": "listview1",
   "destinationType": "subModule"
  },
  {
   "actionID": 16,
   "orderNumber": 16,
   "type": "act_exit",
   "label": "Dynamic-Close"
  },
  {
   "actionID": 17,
   "orderNumber": 17,
   "type": "act_get_instance",
   "label": "Dynamic-Get List",
   "familyName": "QC_Overflow_Menu",
   "filter": [
    [{
     "fieldname": "text_i1",
     "operator": "==",
     "value": "##text_i1##"
    }]
   ],
   "isLast": "TRUE"
  },
  {
    "actionID": 20,
    "orderNumber": 20,
    "type": "act_open_module",
    "label": "Open Component",
    "destinationType": "component",
    "destinationCode": "suboverflowmenu4-testoverflowmenu23"
    },
  {
    "actionID": 21,
    "orderNumber": 21,
    "type": "act_open_chat",
    "label": "Open chat room",
    "room_target": "@chattest001:vn-rtmessaging.rtcenter.org",
    "room_title": "Test Open chat room"
    }
 ]
snippetfile2.json 5.19 KiB
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment