2026-08-22 14:56:38 +02:00
[
{
"id" : "collab_tab" ,
"type" : "tab" ,
2026-08-22 17:36:38 +02:00
"label" : "NC Collabora — examples" ,
2026-08-22 14:56:38 +02:00
"disabled" : false ,
2026-08-22 17:36:38 +02:00
"info" : "Create nc-collab-config first (gear menu). Set FILL_IN_USER and app password.\n\n1. capabilities — is CODE up?\n2. ncFileToPdf — PDF in OfficeOut\n3. document:direct — editorUrl\n\nSee docs/NODES.md"
2026-08-22 14:56:38 +02:00
} ,
{
"id" : "nc_collab_cfg" ,
"type" : "nc-collab-config" ,
"name" : "cloud.domain.name" ,
"nextcloudUrl" : "https://cloud.domain.name" ,
2026-08-22 21:27:02 +02:00
"collaboraUrl" : "http://code:9980" ,
2026-08-22 14:59:25 +02:00
"collaboraPublicUrl" : "https://cloud.domain.name" ,
2026-08-22 14:56:38 +02:00
"username" : "FILL_IN_USER" ,
"verifyTls" : false
} ,
{
"id" : "inj_capabilities" ,
"type" : "inject" ,
"z" : "collab_tab" ,
"name" : "1. CODE capabilities" ,
"props" : [ ] ,
"repeat" : "" ,
"crontab" : "" ,
"once" : false ,
"topic" : "" ,
"x" : 150 ,
"y" : 80 ,
"wires" : [ [ "wopi_cap" ] ]
} ,
{
"id" : "wopi_cap" ,
"type" : "collabora-wopi" ,
"z" : "collab_tab" ,
"name" : "capabilities" ,
"config" : "nc_collab_cfg" ,
"operation" : "capabilities" ,
"x" : 380 ,
"y" : 80 ,
"wires" : [ [ "dbg_cap" ] ]
} ,
{
"id" : "dbg_cap" ,
"type" : "debug" ,
"z" : "collab_tab" ,
"name" : "capabilities JSON" ,
"active" : true ,
"tosidebar" : true ,
"console" : false ,
"tostatus" : false ,
"complete" : "payload" ,
"x" : 590 ,
"y" : 80 ,
"wires" : [ ]
} ,
{
"id" : "inj_pdf" ,
"type" : "inject" ,
"z" : "collab_tab" ,
"name" : "2. NC-fil → PDF" ,
"props" : [
{
"p" : "ncPath" ,
"v" : "/Dokument/test.docx" ,
"vt" : "str"
}
] ,
"repeat" : "" ,
"crontab" : "" ,
"once" : false ,
"topic" : "" ,
"x" : 150 ,
"y" : 160 ,
"wires" : [ [ "bridge_pdf" ] ]
} ,
{
"id" : "bridge_pdf" ,
"type" : "collabora-bridge" ,
"z" : "collab_tab" ,
"name" : "ncFileToPdf" ,
"config" : "nc_collab_cfg" ,
"operation" : "ncFileToPdf" ,
"x" : 380 ,
"y" : 160 ,
"wires" : [ [ "dbg_pdf" ] ]
} ,
{
"id" : "dbg_pdf" ,
"type" : "debug" ,
"z" : "collab_tab" ,
2026-08-22 17:10:34 +02:00
"name" : "destNcPath" ,
2026-08-22 14:56:38 +02:00
"active" : true ,
"tosidebar" : true ,
"console" : false ,
"tostatus" : false ,
"complete" : "destNcPath" ,
2026-08-22 17:10:34 +02:00
"x" : 590 ,
2026-08-22 14:56:38 +02:00
"y" : 160 ,
"wires" : [ ]
2026-08-22 17:10:34 +02:00
} ,
{
"id" : "inj_editor" ,
"type" : "inject" ,
"z" : "collab_tab" ,
2026-08-22 17:36:38 +02:00
"name" : "3. Open in Office" ,
2026-08-22 17:10:34 +02:00
"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" ,
2026-08-22 17:36:38 +02:00
"name" : "4. Template fields" ,
2026-08-22 17:10:34 +02:00
"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" : [ ]
2026-08-22 14:56:38 +02:00
}
]