Preview not working without publishing article


We created a Pimcore installation but the preview function doesn’t seem to work without first publishing the Object. When i press the preview button without publishing, its showing the 404 page.
After publishing, it will show the document.

Anyone know how to solve this?