Skip to content

Get the Settings of the PartDefinition (Textbox) #10719

Discussion options

You must be logged in to vote
   var partFieldDefinition = _contentDefinitionManager.GetPartDefinition(Part)?.Fields.FirstOrDefault(f => f.Name == field);
   var fieldSettings = partFieldDefinition?.GetSettings<TextFieldPredefinedListEditorSettings>();

It is maybe not exactly these vars but you get the idea.

Thank you!!!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@vitalybrandes
Comment options

@Skrypt
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by vitalybrandes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants