Run web forms in live mode
In Sitecore, you can run a website directly from the Master database – this is referred to as running in live mode. Running in live mode eliminates the need to publish content and is similar to viewing a website in the Preview client.
A website that is configured to run in live mode functions exactly like a normal website. Live mode respects all publishing restrictions and workflows in the same way that a default website supports these features.
To run the Web Forms for Marketers module in live mode, edit the web.config
file:
-
In the relevant
<site>
section, changedatabase="web"
todatabase="master"
. -
In the
<modules_website>
section, changedatabase="web"
todatabase="master"
.The
<sites>
section of yourweb.config
file should look like this:RequestResponse<sites> ... <site name="modules_website"...database="master".../> <site name="website"...database="master".../> ... </sites>