xmldata parameter

CraigVCPorter
New Contributor II

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

Connect with me on:
www.linkedin.com/in/craigvcporter
1 ACCEPTED SOLUTION

JackLacava
Community Manager
Community Manager

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.

View solution in original post

2 REPLIES 2

JackLacava
Community Manager
Community Manager

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.

CraigVCPorter
New Contributor II

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

Connect with me on:
www.linkedin.com/in/craigvcporter