This project is read-only.

FilesUpload Column Type XML

Aug 18, 2008 at 3:12 PM
I am attempting to create some custom display pages for lists utilizing the FilesUpload column type. When I return this column through a data view web part it returns an XML string looking similar to the following:

<?xml version="1.0" encoding="utf-8"?>
    <ExternalFilesMetadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <Files>
            <ExternalFileInfo IsPrimary="true" IsInLocalFileStore="true">
                <FileName>Filename.wmv</FileName>
                <OriginalFileName>Filename.wmv</OriginalFileName>
                <ServerPath>E:\Video\035ec046-583a-426a-b348-ca6d90d744ed\bd39d5de-5fd6-4dda-80f9-057cab5730d8\be279374-173d-426f-9808-e78a64d77053\</ServerPath>
                <ClientPath>http://domain.com/035ec046-583a-426a-b348-ca6d90d744ed/bd39d5de-5fd6-4dda-80f9-057cab5730d8/be279374-173d-    426f-9808-e78a64d77053/</ClientPath>
                <ClientLink>http://domain.com/035ec046-583a-426a-b348-ca6d90d744ed/bd39d5de-5fd6-4dda-80f9-057cab5730d8/be279374-173d-426f-9808-e78a64d77053/FedEx_timeline_400x300.wmv</ClientLink>
            </ExternalFileInfo>
        </Files>
    <UpdatePrimaryInformation>false</UpdatePrimaryInformation>
</ExternalFilesMetadata>

I would like to grab only the ClientLink element but I am having trouble doing this. Any help would be greatly appreciated!
Aug 21, 2008 at 5:25 PM
Hi mdorison, I will have our developers look at this and get back to you asap.