Open pwalsh opened 6 years ago
@amercader if you have anything to add here in terms of top-level process for customising please add/list.
As a general guidance the dataset template will have the dataset resources available on pkg.resources
. Once the relevant resource is chosen by whatever business logic is in place (first one, geo, tabular, etc) using its properties, you can get a list of the available visualizations using the resource_views_list
action, which can be wrapped in a template helper function like this:
def get_views_to_embed(resource_id):
views = get_action('resource_view_list')(context,
{'id': resource_id})
for view in views:
# Choose the relevant ones
Once you have
Description
Based on #2 take the wireframes and customise the installed extensions and the dataset page templates to implement the desired functionality.
Tasks
Requires