Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Provisioning a Picture Library in a SharePoint 2013 App with default content

$
0
0

Hi all,

I'm creating a SharePoint 2013 App which I intend to contain a Picture Library. I would like to provision default content for the library. I can create folders and items using the Elements.xml file associated with the library, but how do I actually put file data in those items?

Example:

              

<Elements...>
   <ListInstance...>
      <Data>
         <Rows>
            <Row>
               <Field name="BaseName">FolderName</Field>
               <Field name="FSObjType">1</Field>
               <Field name="ID">1</Field>

That gets me a folder. How do I add a file with binary data in it?

That gets me a folder.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>