Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: Tim MeagherHey,
Attached is an example of an Excel File node that can be used to process data from an input field.
It's pretty quickly hacked together and just a prototype, so not supported etc etc.
However, I think this is more or less what you were after for the Excel side of things isn't it?
It just wraps the existing Excel File node, but instead of specifying a Filename or Filename Field, you can specify Data Field, Filename Field or Filename.
When Data Field is used, then you specify the name of the input field containing the data to process.
Since this will not normally be easily encoded in a field within the LAE, it also allows for the data to be base64 encoded.
When Data Field is used, the Base64DecodedField parameter on the Optional tab can be used to set whether or not the data on the incoming field is Base64 encoded and requires decoding (default true).
This parameter is ignored if the Excel Data parameter is not set to Data Field.
In the case that you've specified Base64DecodedField (or not set it to false), it will also check whether or not the data field contains the "<<@application/base64@>>" prefix (used by Input Raw and other nodes to denote base64 encoding) and will handle this appropriately.
In the graph is an example of how it could be used (although a not particularly useful example), where an excel file is simply read by an Input Raw node (you need to enter the filename in the "File" parameter for this to work) and then processed by the Multi Excel File node.
I'm Not sure why I called it Multi Excel File... Now that I think of it, the name doesn't make much sense.
Oh well it's just a prototype (and there are probably bugs and issues with it).
Regards,
Tim.
Attachments:
MultiExcel.brg