[SOLVED]Export list result to csv file custom

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

[SOLVED]Export list result to csv file custom

Postby brando16 » Tue Jan 31, 2017 12:02 pm

Hi all,

i need to create a function to export the lead with specific status and i maps the status of vicidial with another system for import, but i googled for a space or a file to create this function but i didn't find anything.

i ask you if there is a place to put my function files and then call from web pahe in admin section. The function works but i'am afraid of an update rewrite my function.

I want to create a function for download a result in any moment of the works and can download a .csv with the status mapped and clear from all field in table vicidial_list.

i searched into vicidial if exist one place to put the external function or modify a existing function for do this.

thanks for any reply.
Last edited by brando16 on Thu Feb 16, 2017 6:34 am, edited 1 time in total.
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am

Re: Export list result to csv file custom

Postby williamconley » Fri Feb 03, 2017 11:03 pm

If I'm reading this correctly, you are trying to add an application to generate a csv file and then remove data from Vicidial.

Vicidial does not have a "module installer" or a way to execute Functions from the Web GUI.

You would handle this at the Operating System level and create the files directly on the HD and execute them outside Vicidial (or modify a Vicidial page to have a "button").

This could be done in PHP or PERL or PYTHON or just about any other language. Any Vicidial Professional could create it, but also anyone who knows PHP and MySQL. There are hundreds of PHP/PERL/PYTHON/ETC sites out there that would be useful if you want to do this yourself. Once the data is in MySQL, Vicidial is not really involved in the process.

There are download buttons on some of the Vicidial Report pages that could be useful for downloading the data. As well as "empty this list" links on all the lists, if you want to wipe the entire list.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Export list result to csv file custom

Postby brando16 » Thu Feb 16, 2017 6:34 am

I have found one solution:

i create a link to a custom report and a wrote a php script fordo any operation on lead and list with external application.

thanks for reply
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am


Return to Support

Who is online

Users browsing this forum: No registered users and 52 guests