How to edit/replace single file in SFDC static resources? - salesforce

I have a static resource zip file in SFDC that contains images and css files used by Visualforce pages. How do you replace just a single image with a new one from the resource zip file? Do I need to upload the entire zip file again with the new image?

Yes You need to upload the updated Zip file again into static Resource..No other way as of now.
HelpLink

You should update files which you need in zip archive (which contain all files for current static resource) and upload it again to SF.

Related

Automatically tag all uploaded files by filename on Custom Vision?

Is it possible to automatically label all uploaded files by filename on Customvision.ai?
Thank you
I am trying to ease tagging because I have around 30000 images

How to get image src from backend to frontend

I have 2 folders utalk and server, in my server folder I have a public folder in src folder to save images, that users upload. But I don't know how to get image src from that public folder to display in frontend.(public folder not actually contains image but mp3 instead)
There is not a lot of context provided. From what i gather, if the folder is public, the resources should be directly accessible. Something like http://backend/image/file.mp3.
Also i would recommend using any static file hosting solution for hosting the content file (mp3 in your case). Serving all that content from your http server is a call for performance bottlenecks.
Do add some more context if you are looking for a more specific solution

Is there an upload queue feature for ng-file-upload?

Would it be possible using this library? I've used this one for uploading a single file or a batch of files but it only creates a single http request, just like the samples in its github page. What I'm looking for is have an upload queue for the user's upload files so that he/she can still select another file for upload while previous file is still in uploading.
You can just have an array (queue) in your javascript code that holds all the files and once a new file is selected start uploading it and push it to the array.
Alternatively you could achieve this by adding ngf-keep="true" directive which will keep adding the new files to the model while holding the previous ones.
with ng-file-upload you can do multiple file select dialog for async file uploads. It then gives the upload progress of all files during the concurrent file uploads.
e.g. file 1 - 50%
file 2 - 75%
I can vouch for this because Ive done it.
See usages ...
https://github.com/danialfarid/ng-file-upload#usage
can't see any reason why u could not allow the user to select another file whilst the files were uploading.
Just click the upload button again!

Uploading datas to skydrive without overwriting the existing file content in windows phone8

I tried to upload data(ie.) add data to an existing file in skydrive but everytime the content has been overwriting.
I want to add datas to the existing file without overwriting the previous contents.
Thanx for your help in advance
You should obtain the LiveConnect SDK, add the APIs to your project, login to the service, and upload a file to Skydrive.
Have a look over these threads. How to simply access SkyDrive, write and read files? and this one too.

Create thumbnail after upload of any file extension

I want to upload a file with any extensions and then from that extension I need to create the thumbnail image for that particular image.
For example, if I upload .pdf file then the thumbnail image should be 'pdf.jpg', so as if .docx file then should be 'word.jpg' and if .zip file then name should be 'zip.jpg'.
I have tried to do this but no luck, file is uploaded but thumbnails is not.
Is there any codes which can do this, I mean to upload any extension and from that extension to create the thumbnail image also?
If any one has idea please share. :)

Resources