انتقل إلى المحتوى الرئيسي

الاستيراد

تتيح لك وظيفة الاستيراد استيراد مخطط جاهز من الحافظة، من ملف، أو اختيار من قائمة الأمثلة.


الاستيراد من JSON

IMG2

انسخ هذا المثال والصقه في المحرر، ثم اضغط على زر الاستيراد

[
{
"label": "Hello World!",
"id": "1f24387b252057fe",
"type": "tab",
"disabled": false
},
{
"name": "run",
"id": "b51ab819b83e1915",
"type": "inject",
"x": 46.96875,
"y": 99.51171875,
"z": "1f24387b252057fe",
"wires": [
[
"bd07e1ff0aedba0b"
]
]
},
{
"id": "2b524ca59e4ed633",
"type": "debug",
"name": "debug",
"x": 610.05078125,
"y": 98.59765625,
"z": "1f24387b252057fe",
"wires": []
},
{
"name": "function",
"func": "msg.payload = 'World'\n\nreturn msg;",
"id": "bd07e1ff0aedba0b",
"type": "function",
"x": 229.62890625,
"y": 98.8515625,
"z": "1f24387b252057fe",
"wires": [
[
"2e1172b330c69aeb"
]
]
},
{
"id": "2e1172b330c69aeb",
"type": "template",
"name": "template",
"x": 418.66796875,
"y": 98.19140625,
"z": "1f24387b252057fe",
"syntax": "mustache",
"template": "Hello {{payload}} !",
"output": "str",
"wires": [
[
"2b524ca59e4ed633"
]
]
}
]

يمكنك الاطلاع على الوصف التفصيلي للمعلمات في وصف مخطط JSON

سترى المثال المستورد

IMG2

الاستيراد من المثال

اضغط على علامة التبويب "أمثلة" واختر أحد الأمثلة. ثم اضغط على زر الاستيراد.

IMG2

سترى المثال المستورد

IMG2