You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the history of us doing weird things with ODK, we have veryy occasionally needed to use select_one_from_external_file with a csv file generated from a database. This means doing something special to make sure it is in the valid format:
Copied from a previous version:
// If the csv file is used with "select_one_from_external_file" (or multiple) it must not have any enclosure characters:
if (isset($lookup['external_file']) && $lookup['external_file'] === '1') {
$contents = Storage::disk(config('filament-odk-link.storage.xlsforms'))->get($filePath);
$contents = Str::of($contents)->replace('"', '');
Storage::disk(config('filament-odk-link.storage.xlsforms'))->put($filePath, $contents);
}
TODO: consider if we still need this, and implement it if we do!
The text was updated successfully, but these errors were encountered:
In the history of us doing weird things with ODK, we have veryy occasionally needed to use select_one_from_external_file with a csv file generated from a database. This means doing something special to make sure it is in the valid format:
Copied from a previous version:
TODO: consider if we still need this, and implement it if we do!
The text was updated successfully, but these errors were encountered: