简体   繁体   English

2sxc 8.5实体选择器,更改选定的实体

[英]2sxc 8.5 Entity picker, change a selected entity

Given: 鉴于:

  • Content type: Book 内容类型:书
  • Content type: BookShelf, w/field Book. 内容类型:书架,带字段书。 Book is Entity. 书是实体。

In 2sxc 8.5: 在2sxc 8.5中:

  1. Make 2 Book entities. 制作2本书实体。
  2. Make 1 BookShelf entity. 制作1个BookShelf实体。
  3. Point BookShelf/Book to a Book 点到书架/预定到书
  4. Point BookShelf/Book to a different Book 将BookShelf / Book点到另一本书

Not sure how to do #4 in the latest version of 2sxc. 不知道如何在最新版本的2sxc中执行#4。

8.4 had a dropdown where entities could be changed over time 8.4有一个下拉列表,可以随时间更改实体 8.4实体字段选择

8.5 does not seem to have that affordance 8.5似乎没有能力 8.5实体字段选择

I believe you got stuck on a configuration. 我相信您在配置上陷入了困境。 2sxc 8.x has many new features which you can enable/disable on such a relationship. 2sxc 8.x具有许多新功能,您可以在这种关系上启用/禁用。 I believe right now you have set it to 我相信现在您已将其设置为

  1. don't allow multiple items 不允许多个项目
  2. don't allow remove 不允许删除

so you have one item mapped, but you can't remove it, and you don't see the dropdown because you didn't adding more items :). 因此您已映射了一项,但无法将其删除,也没有看到下拉列表,因为您没有添加更多项:)。

So just go to the entity-field settings and configure it. 因此,只需转到实体字段设置并进行配置即可。

Warning: there is a special case where you may have an old entity-field, and never configured which input-type you want (because there used to be only one). 警告:在特殊情况下,您可能具有旧的实体字段,并且从未配置所需的输入类型(因为以前只有一个)。 In this case, you want to first set which input-type you want to use (Entity-default), then you'll get the remaining fields to set: 在这种情况下,您首先要设置要使用的输入类型(默认实体),然后将剩下的字段设置为:

在此处输入图片说明

and then 接着

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 2sxc 获取实体的字段列表 - 2sxc Get list of fields of an entity 需要从实体中获取 2sxc 字段类型 - Need to get the 2sxc Field Type from an Entity 如何在带有文本字段而不是实体字段的 2sxc Visual Query 中使用 RelationshipFilter? - How can I use RelationshipFilter in 2sxc Visual Query with text field instead of entity field? 如何在 2sxc 模块中使用 ADAM 将上传的文件正确绑定到实体字段? - How to bind uploaded file with ADAM to entity field correctly in 2sxc module? 在 2sxc 中,在 App.Data.Create() 之后,有没有办法获取新的 EntityId(或 Guid)或指向新实体的指针? - In 2sxc, after an App.Data.Create(), is there a way to get the new EntityId (or Guid) or a Pointer to the new Entity? 如何从 2sxc 模块中的另一个门户访问某些实体关联文件? - How do I access certain entity associated files from another portal in 2sxc module? 2sxc更改默认的“编辑”形式 - 2sxc change the default “edit” form Timelinejs, 2sxc 更改字体和语言 - Timelinejs, 2sxc change font and language 如何使用 FontAwesome 5 在 2sxc 中配置字体图标选择器? - How do I configure the Font Icon Picker in 2sxc with FontAwesome 5? 如何以编程方式确定包含 DNN 模块 2sxc 中某些实体对象的内容项的布局的页面? - How do I determine pages that contain layouts with content-item of certain entity object in DNN module 2sxc programmatically?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM