从 Orchard CMS 导出配置文件数据

发布于 2024-12-17 16:51:04 字数 175 浏览 6 评论 0原文

我有一个客户要求能够从 Orchard 导出用户数据,特别是使用配置文件模块的用户注册模块 ExtendedRegistration 的扩展数据字段。

我可以访问 SQL CE 数据库,并且可以查看用户注册数据,但无法查看配置文件数据的存储位置,毫无疑问,我正在寻找完全错误的位置。有什么想法吗?

谢谢!

I have a client requirement to be able to export user data from Orchard, specifically extended data fields from the user registration module ExtendedRegistration which uses the profile module.

I have access to the SQL CE db and can see the user registration data, but can't see where the profile data is stored, and no doubt am looking in completely the wrong place. Any ideas??

thanks!

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

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

发布评论

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

评论(2

耶耶耶 2024-12-24 16:51:04

Orchard 在模块名称和部分记录类名称之后命名数据库表。
例如。 Contrib.MyModule 中包含的 MyPartRecord 将映射到名为 Contrib_MyModule_MyPartRecord 的表。

在模块的 /Models 文件夹中查找适当的 [something]Record 类,然后使用我上面提到的命名约定查找表。

Orchard names database tables after the module name and part record class name.
Eg. a MyPartRecord, contained in Contrib.MyModule will be mapped to a table named Contrib_MyModule_MyPartRecord.

Look for the appropriate [something]Record class in a module's /Models folder and then look for the table using the naming convention I mentioned above.

朕就是辣么酷 2024-12-24 16:51:04

有一个公用表 Orchard_FrameWork_ContentItemRecord,它保存链接到来自特定模块(包括扩展注册模块)的 ItemID 的数据的 xml 样式记录。我可以使用用户 ID 作为主键链接到此,但我需要解析数据以对其进行报告。

这是数据示例:

<Data><User><StreetAddress>23jjj</StreetAddress><Postcode>3101</Postcode><State>vic</State></User></Data>  

明白了 - 现在来解析数据!

There's a common table Orchard_FrameWork_ContentItemRecord that keeps an xml style record of data linked to ItemIDs coming from particular modules - the extended registration module included. I can link to this using the user id as the primary key but I need to parse the data to report against it.

Here's a sample of the data:

<Data><User><StreetAddress>23jjj</StreetAddress><Postcode>3101</Postcode><State>vic</State></User></Data>  

Got that figured - now to parse the data!

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