Page 1 of 1

Custom Fields list download

PostPosted: Thu Jun 25, 2020 12:58 pm
by c20xh2
VERSION: 2.14-741a
BUILD: 200318-1330

Hey guys,

Is it normal that I don't have any data in my custom fields when I download my list ? Headers are there but 0 data.

The entry is there in vicidial_lists_custom in the DB.
Fields and data are present in vicidial_lists_fields and on the agent page.
Table custom_3001 is present with data in the DB.

What am I missing ?

Re: Custom Fields list download

PostPosted: Thu Jun 25, 2020 2:32 pm
by williamconley
"when i download my list" is a bit vague. method of download? (URL without the domain for instance) plus any options you may have chosen on the web page.

Re: Custom Fields list download

PostPosted: Mon Jun 29, 2020 12:55 pm
by c20xh2
Sorry William, I should have added more details.

I create my list using
Code: Select all
http://192.168.1.208/vicidial/admin.php?ADD=111


Then I copy my custom fields using
Code: Select all
http://192.168.1.208/vicidial/admin_lists_custom.php?action=COPY_FIELDS_FORM


From there I load the list using
Code: Select all
http://192.168.1.208/vicidial/admin_listloader_fourth_gen.php
with a custom layout to map my custom fields.

Everything works perfectly, the only issue I have is that if I use
Code: Select all
http://192.168.1.208/vicidial/list_download.php?list_id=3002
the custom fields headers are there but not the data.

Re: Custom Fields list download

PostPosted: Fri Jul 10, 2020 9:39 am
by williamconley
Just tested in VERSION: 2.14-665a (which is before your version) and the two custom fields appeared with the "Field Label" as the column header for each of the fields and the data populated in those fields.

I'd try a limited test with simple names and simple data to be certain it's not merely a technical glitch related to your field names or data in an otherwise fully-functional system.

Of course, if you've upgraded the system, it could be a version conflict. Sometimes version issues don't appear in many places. And consider checking your apache log to see if an error or warning was tossed during the creation of the download file.