class euphorie.client.publish.PublishSurvey(context, request)

Publish a survey.

Publishing a survey copies it from the content editing environment to the public client environment and makes several changes to prepare it for use by the client. The client environment is assumed to be located in a container with id ‘’client’’ at the root of the site.


Return the URL this survey will have after it is published.


Check if this surveygroup has been published before.


Check if this survey is currently published.

class euphorie.client.publish.PreviewSurvey(context, request)

Generate a preview for a survey. A preview is exactly like a normally published survey, except for two differences: there can only be one preview for a sector, which has the id preview, and after previewing the user is redirected to the preview instead of the original context.

Previous topic


Next topic


This Page