Sitecore:其他数据库中的引用项目(源字段)
本文关键字:项目 字段 引用 其他 数据库 Sitecore | 更新日期: 2023-09-27 17:56:55
我正在使用 Sitecore 8 Update 2。我在用户配置文件中添加了额外的字段,并有一些静态项目,我想用它来填充下拉列表字段。
但是,用户配置文件的模板位于核心数据库中,而我想用来填写下拉列表字段的项目位于主/Web 数据库中。
有没有办法将项目发送到源字段?
您可以在
字段中定义"数据库"。这样:
databasename=web&datasource=/sitecore/content/Meta Content/Lookup Lists/Countries
另请参阅:https://sitecorecontextitem.wordpress.com/2014/02/10/working-with-custom-user-profile-fields-in-sitecore/