Skip to main content
September 6, 2023
Solved

xmldata parameter

  • September 6, 2023
  • 2 replies
  • 0 views

Good afternoon

I'm writing an extender rule to move some files within the application database file system and am using the following line of code

Dim xffProcessData As New XFFile(xfiTargetDataInfo, String.Empty, xfeSource.XFFile.ContentFileBytes)

I've highlighted the parameter that I am querying - if I hover over XFFile it says it is "xmldata As String". The process works fine in the example given, but I am curious what could be used in that xmldata parameter - what is it?

Thank you!

Craig

Best answer by JackLacava

In File Explorer, you can download a file in two ways; one of them will give you the raw content, the other will give you an XML representation. I believe this is the equivalent in code: you can create the object from raw bytes, or you can pass the XML version.

2 replies

September 7, 2023

In File Explorer, you can download a file in two ways; one of them will give you the raw content, the other will give you an XML representation. I believe this is the equivalent in code: you can create the object from raw bytes, or you can pass the XML version.

September 7, 2023

Thank you - that makes sense as the current process relies on raw bytes