Hi All,
I am trying to use import excel to database smart service (Excel tool plugin) for storing data in database. but its throwing me error in log file like :
Cannot retrieve the value for key "Unknown column '' in 'field list'" from the bundle.is anybody faced this issue? if yes, then please let me know the solution.
Discussion posts and replies are publicly visible
Hi sandeepr373
Please ensure the column names of the excel is same as the DB column names
H Sandeep,
1. Check your CDT, have any column of type multiple
2. Check the Keys, I think you are giving wrong key value for storing.
Regards,
Bhanu.
Hi Ankita, column name of excel is same as DB column name. i guess issue is with "New Columns" attribute of smart service import excel to database
Hi Bhanu,
column name and mapping is correct only. this smart service is working now for me when i provide value in attribute "New Columns" and "New Columns Values". But this attribute is optional, it should work without this also.
Hi Sandeepr,
Could you please tell me, what values to be given to "New Columns" and "New Columns Values"
Hi,
in "New Columns" you should give column name of you table and in "New Columns Value", the value which you want to store.
I am getting the same error and there is no input on Forum around the error.
It looks like many people faced it but there is no update if the issue was addressed or not?
Any pointers would be helpful.
Hi Phanibabu,
Are you passing the column names in the excel as header which are present in the database? Both should be the same.
Also can you check if there are any additional columns in the excel which you are trying to upload.
If you are still facing the issue can you post the template and table structure?
Thanks,
Vadivelan
Hi Vadivelan,
Even I am facing the same issue.
Batch Sixe : 1000Data Source Name: "jdbc/Appian"Excel Document: "SampleWithHeader.xlsx"New Columns: {"transId","projCode","bizId","blahblah","fixId"}New Columns Name: {"transId","projCode","bizId","blahblah","fixId"} Sheet Number: 0Table Name: "Sample"
My excel file has header (I tried without header as well) and not working.
I actually tried import csv to database (with and without headers) that isn't working as well. Not sure if plugin issue.
Thanks.
Hi Sandeepr00003,
If the values that i want stored in the database are in the excel document, how should we get this smart service to work ?