ProjeQtOr free project management software - Add new property from plugin without overwriting class - ProjeQtOr
 

Add new property from plugin without overwriting class

More
13 Fév 2020 16:15 #1 by antoine1003
Hi guys,
I looking to create plugins to add some properties to Objects. To make it more readable and clean I decided ti split those plugins into several plugins. I looked on official plugin and they just overwrite existing model/custom object with the new one. This will properly works if plugins don't add properties to the same Object but if not, it will create conflicts. Indeed if I install one plugin then add the other one, the second one will overwrite the previous modified object. To counter that each plugin needs to take into account all other plugin's cutoms properties and plugins will have to be installed in a specific order which is pretty bad.
Have you guys encounter this problem? Did you find a way to dynamically add field to the existing cutom object?
Thanks a lot,
Antoine

Please Connexion or Create an account to join the conversation.

More
14 Fév 2020 15:22 #2 by babynus
Yes, that are issues we manage for our own plugins, and you'll to to manage by your own for your own plugins.

But it it is only to "add properties" to items, why not use "Screen customization" plugin.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
14 Fév 2020 15:32 #3 by antoine1003
Okay thanks. Well we don't use this plugin because it's not a free one haha
Bye,
Antoine

Please Connexion or Create an account to join the conversation.

More
14 Fév 2020 15:40 #4 by babynus
... and sometines paying for usefull things may help the project stay alive B)

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: antoine1003

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.032 seconds