Closed RudiThoeni closed 1 month ago
Another option could be to create a specific Configuration for Echargingstation, and if the prefiltered dataset with Echargingstations is opened this configuration is used instead of the generic odhActivityPoi Configuration.... Maybe the MetaData Api could be extended to have an optional information which configuration should be used?
What do you think about this
-There should be the possibility to choose which Additional Property can be added (restricted to only one Additionalproperty, in future could be we need to add more than one). The List of Additional Properties to add is simply configured in the databrowser (maybe future extension could be to retrieve it from an api, but for the moment let's do it hardcoded) -Then we need also the functionality to remove an Additionalproperty. This removal will delete the content of the Additioalproperty (simply remove it from the Dictionary). This means we have to ask for confirmation.
@gappc @RudiThoeni did I get you correctly that the usecase is as follows: user wants to add/ remove another category (e.g. as in the provided link Echarging data). After adding the category (s)he can select from a list of categories to add one of them. Thanks for letting me know.
@RudiThoeni @gappc just wanted to shortly ask if you could provide feedback on this? thanks in advance.
@pkritzinger we continued the discussion into this PR https://github.com/noi-techpark/it.bz.opendatahub.databrowser/pull/555
As agreed in during the sprint meeting, the preferred solution is the following:
During the development we have to consider the following notes:
@RudiThoeni This issue is solved with the implementation of the Additional Properties. right?
yes we can close it
Hi @gappc
I have a concrete Usecase where I want to save very "specific" properties into a generic Endpoint like ODHActivityPois. For this reason i added into the ODHActivityPoi Dataschema a dynamic field to store this information. It is possible to save different schemas into this dynamic field...
At example now we have to save the Echarging Properties for Each echargingstation. Therefore i created a Databrowser Section. (https://github.com/noi-techpark/it.bz.opendatahub.databrowser/pull/548) This section shows up on every ODHActivityPoi Edit, so the question is, how much effort would it be to extend the Databrowser to add a condition into the DetailView/EditView for certain sections.
What i mean is to add on the odhActivityPoi.sharedView
something like this
What would be a simple, easy and reusable solution for this? thx and cheers Rudi