Articy Forum


https://www.articy.com:443/forum/

Specifying properties to export in export rules

https://www.articy.com:443/forum/viewtopic.php?f=4&t=18266

Page 1 of 1

Specifying properties to export in export rules

Posted: Thu 19. Oct 2017, 05:58
by fringilla
Hi,

I have a problem with exporting data to JSON. I would like to exclude general properties for the object like color, position, I don't need this. I'm unticking them in Data Layout Editor but they're still in JSON. Is there a way to change it?

Thanks for help,
Agnes

Re: Specifying properties to export in export rules

Posted: Thu 19. Oct 2017, 07:06
by [Articy] Nico Probst
Hi Agnes,

that sounds indeed wrong. Could you tell me on what object types this is happening? I tested it and it worked fine for most of the flow objects(there is a bug with Annotations when you try to use multi selection as it seems). So it sounds like it is more the way how you change them or what kind of objects are changed. When you change it, and you are using multi select or using the top level group "Flow & Document Types" is it correctly exported for some or none? Do you have multiple Export Rulesets?

Best regards

Nico

Re: Specifying properties to export in export rules

Posted: Thu 19. Oct 2017, 07:23
by fringilla
As you see in the attached screenshot, I unticked all the general properties but I still have them in my JSON file.

Re: Specifying properties to export in export rules

Posted: Thu 19. Oct 2017, 07:32
by [Articy] Nico Probst
Could you send me the related export json and possibly the whole articy:draft project to nico.probst(at)nevigo.com. It is possible that your project got corrupt, because that is clearly a bug and doesn't happen in my tests.
In the meantime you could try to delete your current ruleset and create a new one to make sure that if it got corrupt you start with a fresh one. Of course this shouldn't be happening, but this way we can make sure.

Nico

Re: Specifying properties to export in export rules

Posted: Thu 19. Oct 2017, 07:39
by fringilla
This is just a test project because I was testing if we can use articy:draft for our designers to model data we need to have in JSON for programmingso it doesn't matter if it's corrupted. But I started a fresh project and it's the same problem. I will email you my project in a minute.

Re: Specifying properties to export in export rules

Posted: Thu 19. Oct 2017, 08:03
by [Articy] Nico Probst
I received your project data and can confirm that it is a problem on our end. I get back to you if we have a fix or more information.

Thank you for reporting this issue and sorry for the inconvenience!

Best regards

Nico

Re: Specifying properties to export in export rules

Posted: Thu 19. Oct 2017, 10:00
by [Articy] Nico Probst
The bug is fixed and should be part of our next release.

Thanks again for reporting it!

Best regards

Nico

Re: Specifying properties to export in export rules

Posted: Thu 4. Jan 2018, 08:16
by Jethro
Awesome! Thanks.

All times are UTC
Page 1 of 1