While I have come across examples for setting metadata in c#, I am struggling to find information on how to implement it in JavaScript. How can I set metadata for a blob using JavaScript?
const metadata = {name, selection}
await blockBlobClient.upload(file);
await blockBlobClient.setMetadata(container, file, metadata)
I have been referring to this link which mentions the setMetadata
method but doesn't seem to provide clear instructions: