I am using site builder and editing my document types via code. But sometimes if I erase some property from code it still stays in CMS. Is there a programmatic way(not manually removing it through CMS) to remove property from document type for good?
I'd recommend being careful with this one. Auto deleting is something you don't really want to be doing (hence it NOT being a feature of uSiteBuilder). If you delete a prop by mistake then there is no easy way to bring it back or more importantly the data with in it.
Document type code
Hello,
I am using site builder and editing my document types via code. But sometimes if I erase some property from code it still stays in CMS. Is there a programmatic way(not manually removing it through CMS) to remove property from document type for good?
Hi Mindaugas,
uSiteBuilder can't delete docTypes and fields, it says at its documentation. You can do it only manually or write custom code for that.
http://usitebuilder.vegaitsourcing.rs/tutorials?id=22389
Thanks, Alex
I'd recommend being careful with this one. Auto deleting is something you don't really want to be doing (hence it NOT being a feature of uSiteBuilder). If you delete a prop by mistake then there is no easy way to bring it back or more importantly the data with in it.
100% Peter, it's better do not do that via code.
is working on a reply...