View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Add new property from plugin without overwriting class - ProjeQtOr
 

Add new property from plugin without overwriting class

More
13 Feb 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 Log in or Create an account to join the conversation.

More
14 Feb 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 Log in or Create an account to join the conversation.

More
14 Feb 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 Log in or Create an account to join the conversation.

More
14 Feb 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 Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.037 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.