Skip to main content
2 of 2
added 12 characters in body
Eric Alexander
  • 43.3k
  • 10
  • 54
  • 93

How to Upload the files into the SiteAssets Library by SharePoint Hosted App Model

I want to upload the Jquery and supported files in to the Site Asset library by SharePoint Hosted Apps,

I have create a SharePoint Hosted App, added the files in the Modules

 <Module Name="ZoneTabsFiles" Url="SiteAssets">
    <File Path="ZoneTabsFiles\jquery-1.11.2.min.js" Url="jquery-1.11.2.min.js" ReplaceContent="TRUE" />
    <File Path="ZoneTabsFiles\jquery-ui.css" Url="jquery-ui.css" ReplaceContent="TRUE" />
    <File Path="ZoneTabsFiles\jquery-ui.min.js" Url="jquery-ui.min.js" ReplaceContent="TRUE" />
    <File Path="ZoneTabsFiles\ZoneTabs.js" Url="ZoneTabs.js" ReplaceContent="TRUE" />
   
  </Module>

The Apps is successfully getting activated but the files are not visible.

Similarly I want to upload the .webpart file to web part catalog.