Hi Paul,

The description of this attribute should read "Don't throw an exception if the 
file already exists".

There are a couple of blog posts suggesting remove the file before provisioning 
it. (like this one 
http://www.sharepointvoodoomagic.com/2009/01/ignoreifalreadyexists.html), or 
you can manually overwrite the file through code...


Regards,
Phi Lieu
Readify | Senior Developer
M: +61 410 516 145 | E: [email protected]<mailto:[email protected]> | C: 
[email protected]<sip:[email protected]> | W: 
www.readify.net<http://www.readify.net/>
<http://readify.net/about-readify/press/readify-makes-2008-mis-strategic-100-list/>

________________________________
From: [email protected] [[email protected]] On Behalf Of Paul 
Noone [[email protected]]
Sent: Wednesday, October 28, 2009 3:58 PM
To: ozMOSS
Subject: IgnoreIfAlreadyExists does what exactly??

Hi all,

I’m testing some solution upgrades where I’ve provisioned modified versions of 
CSS files.

All files in the element manifest initially had the 
IgnoreIfAlreadyExists="TRUE" attribute applied. As per the MSDN docs (and 
contrary to logic) this should actually ‘provision the view even if the file 
aready exists at the specified URL’.

However it doesn’t. As they don’t specify a default value I have also tried 
setting this to false and even removing it altogether.

The feature files are being updated to the latest version but not the files in 
the target libraries (i.e. Style Library).

I’ve tried IIS resets, recycled the app pool, cleared the blobcahce. Still 
nothing.

Anyone have any idea? Another known bug?

Regards,

Paul
Online Developer, ICT
CEO Sydney

_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to