Add node docs, collabora purple UI, and portable install env
Human-readable help in all six palette nodes, docs/NODES.md with usage examples, expanded example flows, and auto-detect NODERED_DIR plus CODE bridge IP from .env on any VM.
This commit is contained in:
+95
-10
@@ -2,16 +2,16 @@
|
||||
{
|
||||
"id": "collab_tab",
|
||||
"type": "tab",
|
||||
"label": "NC Collabora — acceptans",
|
||||
"label": "NC Collabora — exempel",
|
||||
"disabled": false,
|
||||
"info": "Version 1.0 — Hälsokoll + testkonvertering till /Dokument/OfficeOut/"
|
||||
"info": "Skapa nc-collab-config först (kugghjul). Byt FILL_IN_USER och app-lösenord.\n\n1. capabilities — CODE lever?\n2. ncFileToPdf — PDF i OfficeOut\n3. document:direct — editorUrl\n\nSe docs/NODES.md"
|
||||
},
|
||||
{
|
||||
"id": "nc_collab_cfg",
|
||||
"type": "nc-collab-config",
|
||||
"name": "cloud.domain.name",
|
||||
"nextcloudUrl": "https://cloud.domain.name",
|
||||
"collaboraUrl": "http://172.17.0.2:9980",
|
||||
"collaboraUrl": "https://172.17.0.2:9980",
|
||||
"collaboraPublicUrl": "https://cloud.domain.name",
|
||||
"username": "FILL_IN_USER",
|
||||
"verifyTls": false
|
||||
@@ -65,11 +65,6 @@
|
||||
"p": "ncPath",
|
||||
"v": "/Dokument/test.docx",
|
||||
"vt": "str"
|
||||
},
|
||||
{
|
||||
"p": "destNcPath",
|
||||
"v": "/Dokument/OfficeOut/test.pdf",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
@@ -95,14 +90,104 @@
|
||||
"id": "dbg_pdf",
|
||||
"type": "debug",
|
||||
"z": "collab_tab",
|
||||
"name": "destNcPath (inga hemligheter)",
|
||||
"name": "destNcPath",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "destNcPath",
|
||||
"x": 620,
|
||||
"x": 590,
|
||||
"y": 160,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "inj_editor",
|
||||
"type": "inject",
|
||||
"z": "collab_tab",
|
||||
"name": "3. Öppna i Office",
|
||||
"props": [
|
||||
{
|
||||
"p": "ncPath",
|
||||
"v": "/Dokument/test.docx",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"topic": "",
|
||||
"x": 150,
|
||||
"y": 240,
|
||||
"wires": [["office_direct"]]
|
||||
},
|
||||
{
|
||||
"id": "office_direct",
|
||||
"type": "nc-office",
|
||||
"z": "collab_tab",
|
||||
"name": "document:direct",
|
||||
"config": "nc_collab_cfg",
|
||||
"operation": "document:direct",
|
||||
"x": 380,
|
||||
"y": 240,
|
||||
"wires": [["dbg_editor"]]
|
||||
},
|
||||
{
|
||||
"id": "dbg_editor",
|
||||
"type": "debug",
|
||||
"z": "collab_tab",
|
||||
"name": "editorUrl",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "editorUrl",
|
||||
"x": 590,
|
||||
"y": 240,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "inj_extract",
|
||||
"type": "inject",
|
||||
"z": "collab_tab",
|
||||
"name": "4. Fält i mall",
|
||||
"props": [
|
||||
{
|
||||
"p": "ncPath",
|
||||
"v": "/Mallar/avtal.docx",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"topic": "",
|
||||
"x": 150,
|
||||
"y": 320,
|
||||
"wires": [["bridge_extract"]]
|
||||
},
|
||||
{
|
||||
"id": "bridge_extract",
|
||||
"type": "collabora-bridge",
|
||||
"z": "collab_tab",
|
||||
"name": "extractToPayload",
|
||||
"config": "nc_collab_cfg",
|
||||
"operation": "extractToPayload",
|
||||
"x": 390,
|
||||
"y": 320,
|
||||
"wires": [["dbg_fields"]]
|
||||
},
|
||||
{
|
||||
"id": "dbg_fields",
|
||||
"type": "debug",
|
||||
"z": "collab_tab",
|
||||
"name": "fields / structure",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "fields",
|
||||
"x": 610,
|
||||
"y": 320,
|
||||
"wires": []
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user