Just don't serve any content in the view templates - only via your API controller. Create document types without a template or you could just put a single template on all doc types serving dummy content / redirecting elsewhere.
If you're not outputting any CMS data in the views then "the public" can't see anything.
It depend what you mean "prevent the cms from publishing to the public"?
Out of the box you have option to save or to publish. Only published version is shown to user.
Umbraco for app development
Hi, has anyone used Umbraco as a backend CMS for app development - having a web app and native mobile apps? Any recommendations or other approaches?
Yes, I did it, just need export data to consume by mobile application. You can do it by webapi or export data to static storage
Hi, thank you. How did you prevent the cms from publishing to the public?
Just don't serve any content in the view templates - only via your API controller. Create document types without a template or you could just put a single template on all doc types serving dummy content / redirecting elsewhere.
If you're not outputting any CMS data in the views then "the public" can't see anything.
Does that help?
It depend what you mean "prevent the cms from publishing to the public"? Out of the box you have option to save or to publish. Only published version is shown to user.
Something that could be interesting is: https://github.com/rasmusjp/umbraco-graphql.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.