what should i fill in each blank of smart service in process model, or in interface smart service code?
Discussion posts and replies are publicly visible
This is part of the Excel Tools plugin (https://community.appian.com/b/appmarket/posts/excel-tools#) and a readme PDF is available in the download. As of version 2.2.16 the readme provides the following info on the inputs to the smart service.
what is delimiter?
I just figure out my document type is excel, so i switch function to import excel into database, however it report index:1,size:1 as error.
Do you have a screenshot?
I would recommend starting with just getting a single line in your CSV to upload to minimise issues as it appears the errors given don't give a lot to go on. Let me know how you go.
my document type is excel,may i know what to fill in the sheetnumber parameter?
Not sure if the sheet number starts with 0 or 1. Do you only have one sheet? If sheet number 1 isn't working just try 0.
seems it got some changes. But do you get an idea for this, seems i miss something
What's your table name and data source name?
the table name is the constant of datastore entity sub belonging table, data source i just like yours jdbc/appian,because i use appian database.
Table name is text not datastore entity. Literally use the text name of the table (eg. "APN_TableName")
ajhick said: "APN_TableName"
table name should be appian database table name or the datatype name?
The Appian database table name
I almost there, do you know how to transfer excel text type into datetime type?
As far as I know this isn't possible. What I did was to create a staging table where the datetime was actually of type Text so that the import will work. I then created a stored procedure to transform that text into the actual datetime in the real table.
what if it report some longtext impossible to import in?
Well, yes. You've said "This field can be a maximum of <THIS> long" and then you're trying to put more than <THIS> in. So it should fail.
What's your character limit on `groupname` and how much are you trying to put in?
I used longtext,there are some rows with alphabets more than 300 include semicolon & spaces, i just checked, it was all successfully import but why the process model report error?
You'll either need to change the table or somehow ensure the excel file doesn't exceed the limits on your table. No way around that one.
any way to let specific column to match specific database column though they have different column names?
I don't think so but it really sounds like you need that interim table (staging table) that exactly matches your Excel spreadsheet and then some way (for example, a stored procedure) that transforms and moves across the data to it's final destination.