I want to replace the default document uri of the file to a value from the file's content.
For example - the default uri is /test/Invoice.xml
I want to replace the doc uri to
/Invoice_{current date time from file from field DateCreated}.xml
The file looks like this
<?xml version="1.0" encoding="UTF-8"?>
<Test xsi:noNamespaceSchemaLocation="file:///D:/Mapforce/Projects/schema/Test.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID>f1258d4ae0df43d5a1e05ce9139f0ed2</ID>
<SystemRef>22000041</SystemRef>
<DateCreated>2022-09-06T19:07:46.3492849+01:00</DateCreated>
<TimeSaved>240</TimeSaved>
<ManyReasons/>
<SubmissionUser>System</SubmissionUser>
<InternalBusinessUnit>Finance</InternalBusinessUnit>
<Direction>Inbound</Direction>
</Test>
How can I do it using mlcp ?