Services from external backend

Moderator: crythias

Locked
luca
Znuny newbie
Posts: 5
Joined: 15 Oct 2014, 14:43
Znuny Version: 5.0.11

Services from external backend

Post by luca »

Hi all,

I've managed to retrieve Customers and Customers Users from external database editing Config.pm and Defaults.pm.
Now I'm trying to retrieve also Services an their associations with imported Customer Users,
but I've not found how to get it.
Does anyone know if it's possible and how?

Many thanks in advance,

Luca
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Services from external backend

Post by reneeb »

This is only possible with development...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Services from external backend

Post by root »

luca wrote: editing... Defaults.pm.
Don't do this
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
luca
Znuny newbie
Posts: 5
Joined: 15 Oct 2014, 14:43
Znuny Version: 5.0.11

Re: Services from external backend

Post by luca »

reneeb wrote:This is only possible with development...
Thanks for your reply reneeb.
Can I do it by simply importing records in database, or it's better to implement it via code?
luca
Znuny newbie
Posts: 5
Joined: 15 Oct 2014, 14:43
Znuny Version: 5.0.11

Re: Services from external backend

Post by luca »

root wrote:
luca wrote: editing... Defaults.pm.
Don't do this

Thanks for the advice. Should I add the configured section in Config.pm then?
What are the problems editing Defaults.pm?

Thanks
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Services from external backend

Post by reneeb »

Yes, copy the section to Config.pm... If you keep it in Defaults.pm, it will be overwritten during the next upgrade.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked