Umbraco - 设置可通过网络服务公开访问的文档

发布于 2024-09-18 07:13:59 字数 175 浏览 1 评论 0原文

关于 Umbraco CMS 的问题:

我必须以编程方式设置特定文档(例如博客)的公共访问 - 使用 Umbraco 公开的 Web 服务(文档服务、会员服务等)。我认为服务仅适合 CRUD 操作,但我不确定,因为它们允许以灵活的方式设置文档属性。

有人有这方面的经验吗?你能帮我实现这个吗? 提前致谢。

The question regarding the Umbraco CMS:

I have to setup public access for particular document (a blog, for example) programmatically - using web services exposed by Umbraco (Document service, Member service, etc.). I suppose that services are suitable for CRUD operations only, but I am not sure, as they let setting document properties in a flexible way.

Does someone have any experience with this and can you help me implement this?
Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

童话里做英雄 2024-09-25 07:13:59

/umbraco/webservies/api/ 目录中的 Web 服务直接使用数据库(这绕过了内存中的 XML,并且每个请求都会访问数据库)
这些 API 仅适用于您在 /config/umbraco.config 中提供的用户

我猜您想通过 JSON 或 XML 返回一堆数据,Umbraco 基础将适合 http://umbraco.org/documentation/books/introduction-to-base

The webservices that sit in the /umbraco/webservies/api/ directory work directly with database (this is bypassing the in-memory XML, and will hit the database with every request)
These API's are only available to users you supply in /config/umbraco.config

I'm guessing you want to return a bunch of data through JSON or XML, Umbraco base would be suitable http://umbraco.org/documentation/books/introduction-to-base

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文