Aquest lloc web fa servir cookies pròpies i de tercers per millorar l’experiència de navegació, i oferir continguts i serveis d’interès. En continuar la navegació entenem que acceptes la nostra política de cookies. Per a més informació consulta aquí.
Vés al contingut principal
Logo oficial de Metadecidim
  • Català Triar la llengua Elegir el idioma Choose language
    • Castellano
    • English
Registra't Entra
  • Inici
  • Processos
  • Assemblees
  • Iniciatives
  • Consultes
  • Jornades
  • Ajuda

Proposa noves funcionalitats

#DecidimRoadmap Dissenyant el Decidim entre totes

Fase 1 de 1
Obert 01-01-2019 - 31-12-2030
Veure les fases Envia una proposta
  • El procés
  • Debats
  • Proposa noves funcionalitats
  • Novetats
chevron-left Torna al llistat

Make exports configurable

Avatar: Virgile Deville Virgile Deville
12/05/2019 22:22  

Not sure if that's feasible. Clients asked us to be able to config the fields included in the export directly form the admin.

Some were frustrated to ask to code an extended serializer everytime a field was missing from the export.

Llistat d'adhesions

Avatar: Valentin Chaput Valentin Chaput
Avatar: JosanFFiG JosanFFiG
Número d'adhesions2
Make exports configurable Comentaris 7

Referència: MDC-PROP-2019-05-14588
Versió 1 (de 1) veure altres versions
Verifica l'empremta digital

Empremta digital

El text següent és una representació abreviada i hashejada d'aquest contingut. És útil per garantir que el contingut no hagi estat alterat, ja que una única modificació provocaria un valor totalment diferent.

Valor: 0c2cab74f1ab3a92990498678e6647645c05c49fce38965a9962674d4ba06f7b

Origen: {"body":{"en":"Not sure if that's feasible. Clients asked us to be able to config the fields included in the export directly form the admin. \r\n\r\nSome were frustrated to ask to code an extended serializer everytime a field was missing from the export."},"title":{"en":"Make exports configurable"}}

Aquesta empremta digital es calcula mitjançant un algoritme de hash SHA256. Per reproduir-lo tu mateix, pots utilitzar una Calculadora MD5 en línia i copiar-hi les dades d'origen.

Compartir:

link-intact Compartir l'enllaç

Compartir l'enllaç:

Si us plau, enganxa aquest codi a la teva pàgina:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14588/embed.js?locale=ca"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14588/embed.html?locale=ca" frameborder="0" scrolling="vertical"></iframe></noscript>

Reportar contingut inapropiat

Aquest contingut no és apropiat?

Motiu

7 comentaris

Ordenar per:
  • Més antic
    • Més ben valorats
    • Recent
    • Més antic
    • Més discutit
Conversa amb Virgile Deville
Avatar: Virgile Deville Virgile Deville
22/05/2019 14:45
  • Obtenir enllaç Obtenir enllaç

Is this something being explored already @product ?

Avatar: Virgile Deville Virgile Deville
23/05/2019 11:01
  • Obtenir enllaç Obtenir enllaç

huho seems like the @product doesn't work. Pinging @carol instead

Conversa amb Carol Romero
Avatar: Carol Romero Carol Romero verified-badge
23/05/2019 12:18
  • Obtenir enllaç Obtenir enllaç

Hi Virgila, sorry for the delay. It seems that the notifications stopped working last Wednesday :(

Regarding this proposal, the most viable solution is to export all the fields in the database. Once downloaded, you can filter those that are not needed.

Avatar: Pau Parals Pau Parals verified-badge
23/05/2019 12:46
  • Obtenir enllaç Obtenir enllaç

that's true @carol, it's happening to us in all decidim tenant. it might be related to the delayed job. we are looking at it too

Conversa amb Antti Hukkanen
Avatar: Antti Hukkanen Antti Hukkanen
02/02/2021 12:47
  • Obtenir enllaç Obtenir enllaç
A favor  

This would be a welcomed idea. We recently implemented budgeting projects export (https://github.com/decidim/decidim/pull/7021) but the problem has been raised that some admins would like the pending votes to be included in the export. The original thinking was that they would not be relevant but for some municipalities they can be relevant considering how well the voting process has worked.

Adding ability to control what fields are included in the exported data would solve this problem. We could add the pending votes to the ProjectSerializer and then control from the export configuration what fields get included in the exported document. Currently, as stated in this proposal, this is rather cumbersome.

@virgile_deville I am thinking a bit simpler solution to this: how important do you think it would be to allow administrators to control this from the user interface? My thinking is that this would be probably quite much easier to implement if it was a programmatically available configuration option.

I would propose adding a new method for the serializers which could be used to control what gets included in the export documents. Should this be a whitelist or blacklist, I'm not sure and I'll leave that for further discussion.

Avatar: Antti Hukkanen Antti Hukkanen
05/05/2021 15:04
  • Obtenir enllaç Obtenir enllaç

It is now possible to programmatically control which fields get exported (and add extra fields) after this PR was merged:
https://github.com/decidim/decidim/pull/7484

There is still a little bit of programming needed to modify the export fields but it is at least possible.

Avatar: Virgile Deville Virgile Deville
05/05/2021 15:08
  • Obtenir enllaç Obtenir enllaç

This is great news Antti ! Thanks for letting us know.

how important do you think it would be to allow administrators to control this from the user interface?
We are in the process of a making this for the initiatives export. I'll share this PR with @Armand-OSP

Deixa el teu comentari

Inicia la sessió amb el teu compte o registra't per afegir el teu comentari.

Carregant els comentaris ...

  • Termes i condicions d'ús
  • Sobre la comunitat
  • Descarrega els fitxers de dades obertes
  • Metadecidim a Twitter Twitter
  • Metadecidim a Instagram Instagram
  • Metadecidim a YouTube YouTube
  • Metadecidim a GitHub GitHub
Amb llicència Creative Commons Web creada amb programari lliure.
Logo Decidim

Confirmar

D'acord Cancel·lar

Si us plau, inicia sessió

decidim Inicia sessió amb Decidim
O

Registra't

Has oblidat la teva contrasenya?