Anyone else having trouble with the "IgnoreIfAlreadyExists" parameter?
I created a feature that adds a file to a site, then copied the feature so that I had a second that copies in exactly the same file. The idea being I could test this property. I modifed the file when installed in the second feature so that I could tell if it successfully ovewrote the version installed with the first feature.
Results were:
1) First feature successfully installed the file.
2) Second feature:
with: IgnoreIfAlreadyExists = TRUE : No error, but the file was not replaced
with: IgnoreIfAlreadyExists = FALSE : Error, telling me that the file already existed.
So, I'm snookered, I want to replace the file but it seems this functionality is not working. Is there a dependency I'm missing?
Thanks,
Daniel
I had the same problem! How did you resolve it in the end?
Adam
-----------------------
Regarding this, although it is possible to overwrite some files, it is not possible to overwrite all files using a featire. For a lot of the core files, if you try to overwrite them using a feature, the deployment of that file will be skipped. The best method is to create a custom file and then reference that instead of the original core file.
Bruce
___
I have the same problem, can you give example on how to go with that approach?
Jay Arvin