BlaBlub
This commit is contained in:
@@ -9,14 +9,21 @@
|
|||||||
"type": "List",
|
"type": "List",
|
||||||
"name": "Parameterlist",
|
"name": "Parameterlist",
|
||||||
"caption": "Parameter List",
|
"caption": "Parameter List",
|
||||||
"rowCount": 2,
|
"rowCount": 3,
|
||||||
"add": true,
|
"add": true,
|
||||||
"delete": true,
|
"delete": true,
|
||||||
"sort": {
|
"sort": {
|
||||||
"column": "ParAlias",
|
"column": "ParNumber",
|
||||||
"direction": "ascending"
|
"direction": "ascending"
|
||||||
},
|
},
|
||||||
"columns": [{
|
"columns": [
|
||||||
|
{
|
||||||
|
"caption": "Parameter Number",
|
||||||
|
"name": "ParNumber",
|
||||||
|
"width": "auto",
|
||||||
|
"add": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
"caption": "Parameter Alias",
|
"caption": "Parameter Alias",
|
||||||
"name": "ParAlias",
|
"name": "ParAlias",
|
||||||
"width": "auto",
|
"width": "auto",
|
||||||
@@ -24,7 +31,8 @@
|
|||||||
"edit": {
|
"edit": {
|
||||||
"type": "ValidationTextBox"
|
"type": "ValidationTextBox"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"caption": "Parametername",
|
"caption": "Parametername",
|
||||||
"name": "ParName",
|
"name": "ParName",
|
||||||
"width": "auto",
|
"width": "auto",
|
||||||
@@ -32,7 +40,8 @@
|
|||||||
"edit": {
|
"edit": {
|
||||||
"type": "ValidationTextBox"
|
"type": "ValidationTextBox"
|
||||||
}
|
}
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"values": [{
|
"values": [{
|
||||||
"ParAlias": "New Parameter",
|
"ParAlias": "New Parameter",
|
||||||
"ParName": "pn"
|
"ParName": "pn"
|
||||||
@@ -42,7 +51,6 @@
|
|||||||
],
|
],
|
||||||
"actions":
|
"actions":
|
||||||
[
|
[
|
||||||
{ "type": "Button", "label": "Send Message", "onClick": "WBM_SendMessage($id, $Params);" }
|
|
||||||
],
|
],
|
||||||
"status":
|
"status":
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ class WhatsappMessage extends IPSModule {
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print_r($parameters);
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
"messaging_product" => "whatsapp",
|
"messaging_product" => "whatsapp",
|
||||||
"to" => $recip,
|
"to" => $recip,
|
||||||
|
|||||||
Reference in New Issue
Block a user