Skip to content

Preserve filenames for AbstractDocuments #100

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

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

isc-svelury
Copy link
Contributor

When nested folder structure is not enabled, files are now mapped into folders corresponding to their extension. No further folder nesting occurs.

To enable this behavior, turn off the folder switch in the settings. Note, this only works for a universal file type mapping. So the coverage must be *

This PR also fixes the bug where some file extensions were being changed to .cls incorrectly.

Closes #92 and #93

…o folders corresponding to their extension. No further folder nesting occurs.
@CraigRegester
Copy link
Contributor

Not sure I quite follow the commit comment. Is this suggesting we can't folder the "Other" objects at all or that they need to be in one big folder? (E.g., .LUT files mixed with .HL7 files)

@isc-svelury
Copy link
Contributor Author

isc-svelury commented Dec 15, 2021

You will be able to folder "Other" objects. There is now a toggle added to each of the defined mappings in the settings UI to switch off automatic nested folder creation from splitting up a filename by . . Once you switch off the toggle, the text box where you fill in the path should become a readonly field and have NoFolders filled in.

This means that when you export those files out, the files will be stored in a folder corresponding to their extension (hl7/ for .hl7 files and so on) and no further nesting and/or directory creation takes place. So filenames for these files will be preserved.

@CraigRegester
Copy link
Contributor

Perfect, that makes sense now and what I hoped would be the case.

@isc-svelury isc-svelury deleted the preserve-abstract-doc-names branch January 11, 2022 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dots (.) are being escaped automatically on Schema exports (and likely other files)
3 participants