Hi, If somebody has a piece of code to read the (cvs -txt) file will be appreciated. Thanks.
HTML 5.2.10 viewer
I have using conversion tools like dictionary to Datatable, redFilesByte
-
Hi Manuel,
Are you using the workflow designer application that saves xaml files, or the online workflow designer from https://apps.geocortex.com/workflow/designer/ ?
Dictionary To DataTable and ReadFileBytes exist in the xaml version of workflows, but not in Workflow 5, so I'm not sure if you're looking for an equivalent method to do this in Workflow 5, or if you might have ended up on the wrong community page (the xaml workflows one is over at https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=RECENT&dc=Workflow&criteria=ALLQUESTIONS , the one here is for Workflow 5)
0 -
Hi Amanda,
Yes, we are using Workflow designer Xml, and we was able to read the file. However, we still having a few issues.
- the cvs came in a long string and we cannot find a way to parse by lines .
- the user request is to show a table in the container to edit the content of the file, we did not find a way to plot a table in the viewer container.
The button line is we need to do a similar tool to the out of box unload file in a workflow.
Thanks
0 -
Hi Manuel,
Please post this over on https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=RECENT&dc=Workflow&criteria=ALLQUESTIONS in order to get answers related to xaml workflows.
I don't know about displaying it as a table, but something like this would split it into an array of strings (by line):
myStringVariableFromCsv.Split(new String() {Environment.NewLine},StringSplitOptions.None)
0 -
I actually have this same question for WAB. I'm trying to figure out how to read an uploaded CSV. $form1.state.filePicker.value.files[0].<what comes next?>
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer