Unique ID for Content Part #12112
Unanswered
jameswoodley
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Would need to know more about this content part you have ? Is it built in code or in the Admin UI ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's in the admin ui |
Beta Was this translation helpful? Give feedback.
0 replies
-
You could add alternate template or you could use wrapper shape to add id I normally add wrapper using placement |
Beta Was this translation helpful? Give feedback.
2 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.
-
Is it possible to add an ID to a content part? We have a content part that allows you to add a collection of items, but it's just Title and Subtitle. While we can currently get at them via index, if that index changes (user reorders the items) we lose the reference. I'd love to be able to assign an ID automatically to them that Orchard stores and is output in the GraphQL.
I know I could add a textfield for the user to add an ID, but this is very manual and error prone.
Any ideas gratefully received!
Beta Was this translation helpful? Give feedback.
All reactions