Add Exclude option for Any Element

By Nitesh Ahirwar on 29 Apr 2016
Add "Exclude" option for Any Element (webscreen,webblock etc)  that when marked as EXCLUDED may reside in the espace without publishing it..
Nitesh Ahirwar29 Apr 2016
just like as in .net framework we exclude any webpage...
J.29 Apr 2016
why not simply delete it?

Kilian Hekhuis4 May 2016
Or rather, what's the use case for this? What do you want to achieve with it?
Nitesh Ahirwar9 May 2016
hey killan ,

With that some times we have to run the espace without some logics which are not developed (gives compplation errors) and we do not want to detete the undeveloped logics (webscreens etc) and use them later but as of now we have to  we have to delete and compile the espace to run project. 
Kilian Hekhuis9 May 2016
Ah, ok, yeah, that could be useful, thanks.
J.9 May 2016
just delete them anyways, remember the version and later, just merge it back again...

J.9 May 2016
the reason behind it, imho, just keep clean code.

if you put "excluded" you are going to wonder why you placed it at first.
if it takes 4 weeks to include it again, chances are, requirements have changed, insights are different etc.
so you end up refactoring the stuff anyways.

Kilian Hekhuis9 May 2016
Still, it might be useful for temporary stuff. We had code littered with If-elements that had a "False" or "True" in it, to bypass old code that someone was fearful to prune. You can't force clean code :).
Nitesh Ahirwar10 May 2016
i agree with killan ,
it will be useful in many ways not just that we will forget to use our code but in many situations we need to check and run our espace without including all stuff that is in use.