Tuesday, August 25, 2009

Uploading file only at Root level

Uploading file only at Root level

You can package files as feature and then can upload the files using Module tag, also using RootWebOnly=TRUE will ensure that this file get executed on RootWeb only


 <Module Name="CommonFiles" Url="" Path="" RootWebOnly="TRUE">
<File Url="Dashboard.aspx" Type="Ghostable" />


kancharla August 29, 2009 at 3:07 AM  

Hi Sandeep..

This is working exactly fine.

And i have one more doubt..

When i am trying to develop a feature in module file i am specifying that IgnoreIfAlreadyExists
attribute to overwrite the files but it is not at all working..

May i know what exactly the problem is......

Sandeep K Nahta August 29, 2009 at 10:12 AM  

HI Kancharla ,

I think you need to set another attribute

AlwaysForceInstall = "TRUE" | "FALSE"