mjanez / ckanext-schemingdcat

Improved ckanext-scheming with DCAT, DCAT-AP and GeoDCAT-AP/INSPIRE custom schemas and tools.
https://github.com/mjanez/ckan-docker
GNU Affero General Public License v3.0
0 stars 2 forks source link

Improve package_form and resource_form #55

Closed mjanez closed 3 months ago

mjanez commented 3 months ago

The templates are used for customizing the dataset/resources form in the dataset schema. This addition enhances the flexibility of the extension by allowing users to modify the resource form according to their specific requirements.

The addition of form_groups simplifies metadata entry for the editor user, as well as facilitates the visualization of the metadata, grouped by thematic categories.

form_groups schema definition: https://github.com/mjanez/ckanext-schemingdcat/blob/06f9302162afe0c4646c4d501e1231866ac1143d/ckanext/schemingdcat/schemas/geodcatap_es/geodcatap_es_dataset.yaml#L12-L59

Metadata field added to form_group: https://github.com/mjanez/ckanext-schemingdcat/blob/06f9302162afe0c4646c4d501e1231866ac1143d/ckanext/schemingdcat/schemas/geodcatap_es/geodcatap_es_dataset.yaml#L190-L200

Metadata package form template: image