Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update xls_available key to accommodate different file extensions #2740

Open
faith-mutua opened this issue Nov 22, 2024 · 0 comments
Open

Update xls_available key to accommodate different file extensions #2740

faith-mutua opened this issue Nov 22, 2024 · 0 comments

Comments

@faith-mutua
Copy link

Environmental Information

  • Onadata version:

Problem description

The xls_available key in the XForm instance currently supports two file formats i.e. .xlsx & .xml which results in the UI defaulting to .xlsx for all forms even those with the .xls extension. We need this key updated to create provision for the three XLSForm (.xls, .xlsx, .xml) formats to be available. The updated key will make it possible to use the extension of the actual file instead of assuming that all XLSForms are of the form .xlsx.

Steps to reproduce the behavior

  1. Upload a form with a .xls extension
  2. Navigate to the form settings tab
  3. Observe that the form Source component has the .xlsx extension added to the the form id string

Additional Information

See more details here

Logs, related issues, weird / out of place occurrences, local settings, possible approach to solving this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant