Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: prasmussenYou can do this with an indirect parameter. Essentially, you write the workbook spec to a tmp file on the server and then load in that tmp file to the workspec field. See below:
node:Write_tmp_Workbook_Spec
bretype:lal1::Output Raw
editor:Label=Write tmp Workbook Spec
editor:sortkey=5584f10a64924421
input:@5106ebc83f035045/=^.55fc79c503144270
output:@4ffae39e126d75ee/=
prop:DataField=workbook_spec
prop:File={{^WkbookFile^}}
prop:FileExistsBehavior=Overwrite
prop:FileParamType=Literal
prop:PassThroughFields=Unused
editor:XY=460,180
end:Write_tmp_Workbook_Spec
node:New_Version
bretype:core::Excel File
editor:Label=New Version
editor:sortkey=55fc7501407247d8
output:@48cf6cd2305e5f95/=
inclock:/=Output_XML
inclock:/=Write_tmp_Workbook_Spec
prop:CellErrorAction=Ignore
prop:DuplicateFieldNameAction=AutoName
prop:File=C:\filename.xlsx
prop:WorkbookSpec=<<EOX
{{^WkbookFile^}}
EOX
editor:XY=590,70
editor:propdef=WorkbookSpec|string|Input|ls.brain. node.excelFile.workbookSpec|None
end:New_Version
node:Filter_2
bretype:core::Filter
editor:sortkey=55fc784f173a4ca2
input:@40fd2c74167f1ca2/=Write_tmp_Workbook_Spec.4ffae39e126d75ee
output:@40fd2c7420761db6/=
inclock:/=New_Version
prop:Script=<<EOX
deleteFile("{{^WkbookFile^}}"
emit *
EOX
editor:XY=790,180
end:Filter_2