Page 1 of 1

Deleting web media blocks

Posted: Sun Mar 05, 2006 7:23 pm
by Rene
Looks like the .Net template project created a default media block with the same name as my project name. I believe this media block was created to go hand in hand with a “Feature” also created by default.

Since my deployment it’s installed all at once and don’t require the use of features, I went ahead and deleted the feature but the web media block remained. I tried to delete the media block using the visual interface and it does not seem to be possible.

Is the reason why a web media not allowed to be deleted using the visual interface because we are not supposed to do that?

My other questing is. If I was to delete the web media block from the script do I need to delete the following?

[DEFINE WEB MEDIA MyProjectName]
If Variable SELECT Equals TRUE
end

Posted: Sun Mar 05, 2006 7:58 pm
by MichaelNesmith
Rene

The visual view deletes only items it determines are safe to delete, to prevent damaging customizations you may have made to the setup script.

So you may want to go in and remove stuff that you don't need manually. Yes, you can safely delete the block of code you highlighted.