Just be clear, the above example is for code to create a Community, but the
exact same issue exists for creating a Collection. Essentially, the problem
is that previously this was done via input-forms.xml, but this is no longer
supported in v7.x.
The online literature suggestt that input-forms.xml has been replced by
submission-forms.xml and item-submission.xml, but they only pertain to
creating an Item. Hence it appears that fields for a Community and
Collection must be added/modified programmatically now, via one of the
dynamic control models, such as DynamicTextAreaModel.
On Tuesday, September 6, 2022 at 11:48:54 AM UTC-4 Pierre Roozmon wrote:
> I've added new field and it works fine (i.e. I can submit it). However,
> the hint attribute doesn't appear when I add it to the dynamic model. How
> can I get it to work:? Same for tool tips.
>
> new DynamicTextAreaModel({
> id: 'description-nom',
> name: 'dc.description.nom',
> labelTooltip: 'create.community.other-name.hint',
> controlTooltip: 'create.community.other-name.hint',
> hint: 'create.community.other-name.hint'
> }),
>
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-devel/7ba2ac7f-1b46-4079-bcd7-396dabcd1c86n%40googlegroups.com.