how to update image which is saved under asset folder? - plotly-dash

I saved image files under asset folder. Now I update the image file with same name under same folder, but image was not updated in the dash plot.
I found the same question which was asked before here. But no real solution was proposed.
https://community.plotly.com/t/how-to-update-file-in-assets-folder/37154
any one has some idea?
Thanks

Related

Can you save an image in angular without the backend?

I want to save an image in angular's Assert folder or in a folder created by me. I occupy the input file and a button, nothing more when I save the selected image, I want it to be uploaded or copied to said folders or folder. Can this be done without the backend?
I have been looking for information and watching videos but most of them either use firebase or some other service, I just want it locally. Please, your help would help me a lot.
If I understand your question correctly, you are asking if, at runtime, you can create a file in your Angular applications' 'assets' folder.
This is not possible, because the 'assets' folder is a compile-time artifact. It only exists in your source code tree. In the compiled application, the assets folder does not exist.
Furthermore, when the folder exists, it only does so on the computer on which you wrote the application. The user is running it in their web browser, which is generally running on their computer, not yours.
Now, if you are just asking if you can save a file on the user's computer, take a look at File Save functionality in Angular

documents are not available after successfully uploaded to custom translator

I uploaded a zip that contains tmx files and it uploaded it successfully. I can see them in Upload History. But when I try to build a model, it's not listed in the data. I am not sure what went wrong. I see all other documents.
thanks,
--Yoshi
--Update 3/11/2019--
We've resolved the issue with TMX files uploaded within a ZIP.
--Original answer 3/8/2019--
We're investigating this issue right now. The issue is only with TMX files that are uploaded as part of a ZIP file, so for now a workaround is to upload TMX files separately. Make sure when uploading the TMX separately to check the "Override document if it exists" check box. We'll update this thread when we've shipped a fix.

Moving a file or folder with DriveApp

Really, there is no way to move a file or folder using the DriveApp class?
From what I could gather on the docs and on the StackOverflow answered questions all proposed implementations seem to copy the file to another location and then delete the original file. That would result in at least two problems:
File/folder having a different folderId on the destination;
File/folder being duplicated and stored indefinitely on Google Vault by retention policy.
I must be doing something wrong. Why is there not a method to simply move the file/folder to another destination (as provided by the Drive Web UI)?
Thanks,
When it comes to moving files with DriveApp, you need to work from the Folder rather than the File.
Open the folder you want to move the file to and use the "addFile(file)" method to add the file to that folder, then open the folder you want to move the file from and use "removeFile(file)" to remove it.
This might seem a bit clunky but it's actually possible to have a file in more than one folder at a time on Drive. The folders are really just labels. When considering a file that is already in multiple folders, the meaning of "moving" it to a new folder is kind of ambiguous, it's really a matter of adding/removing it from folders.
Add:
https://developers.google.com/apps-script/reference/drive/folder#addfilechild
Remove:
https://developers.google.com/apps-script/reference/drive/folder#removeFile(File)
Stumbled across this post (two years & 6 months later) and just wanted to point out that its now possible to do this:
DriveApp.getFileById(myFileId).moveTo(DriveApp.getFolderById(myTargetFolderId));

save folder in source to disk in chrome

I want to save all the files of a specific source folder in chrome to a local folder, I found this but it seems can't do the job, I know I could save the file one by one, but since there are various files, mistake could happen and it's not boring to save one by one , so I want to know is there any way that I could save a folder to a local folder?
Thanks

Robohelp: How to reference a .chm file rather than copy it into a merged project?

I am assigning new .CHM files to existing merged projects. You may recognize this dialog:
When I go to assign a (in my case) an existing merged project a new .CHM file, I am presented with this dialog. However, I do not want the .CHM file to be copied in, I want it to reference a .CHM file. This is because I am working on a help project that compiles many other help projects that get changed separately from time to time. This leaves the compilation project out of date if the .CHM files are simply copied in; they're just older copies.
Is there a way to have a merged project point to a .CHM file rather than copy it in so that it reflects outside changes made to the .CHM file?
Thanks!
Someone was very helpful on Adobe forums and posted a video about my question. The short answer is that, as far as I can tell, RH cannot "reference" a file. If you want child projects .CHM files to appear in a master project, you must either copy the files manually, or output from the child project build separately to each directory you would like to have an updated .CHM in.
Here's the vid:
[https://www.youtube.com/watch?v=Q774WbvYd-c&feature=youtu.be][1]