Replies: 1 comment 5 replies
|
I think the difference is that usually you can only attach 1 reference of a part to a content item. But for Named Parts, you can attach X instances, each would have a different names. For example, the BagPart can be attached multiple times to the same item for different purposes. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone
I just found we have "named content part" in Orchard Core.
I know that Orchard has had content part since a version 1 and it has a class model along with it.
After digging some code, I still don't quite understand the purpose of "named content part" and there it is not mentioned in OrchardCore doc.
Here are what I founds:
My question are:
Thanks.
FYI
I can't figure it out the real different between AddPartToType and AddReusablePartToType in "ContentDefinitionService.cs"
All reactions