-
Notifications
You must be signed in to change notification settings - Fork 8
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
hs.resource(resource_id).files.metadata(file_id, f["metadata"]) Does Not work for GenericFileType #99
Comments
@sblack-usu |
@sblack-usu step 1: set file to GenericLogicalFileoptions = { step 2: find file_idstep 3: add metadata to filef_metadata = {....} |
@sblack-usu |
no, files don't have any logical file by default unless they're recognized as an aggregation. Apologies for the inconsistencies between file_id an dfile_path... this was inherited. I'm in favor of ditching file_ids completely. I can update metadata to take the path in this ticket as well. For backwards compatibility, I'll leave the file_id in there as well. |
@sblack-usu |
yeah, that's some functionality that came in to standardize file names. I voted for just blocking names with spaces, but it was decided we would change " " to "_". I agree it should return the resulting file name. |
step 1: set file to GenericLogicalFile doesnt work in HS RC1.19 + Client 1.3.1options = { |
fixed by changing "Generic" to "SingleFile". Thanks @sblack-usu |
hs.resource(resource_id).files.metadata(file_id, f["metadata"])
Works for ReferencedFile,
But it Does Not work for GernericFileType
The text was updated successfully, but these errors were encountered: