Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

292
Vistas
Setting Metadata on azure blob in js

I see examples for c#, but I cannot find implement info for js. How do I set metadata for blob in js?

const metadata = {name, selection}

await blockBlobClient.upload(file);
await blockBlobClient.setMetadata(container, file, metadata)

I am looking at this link and it calls setMetadata but it doesn't set:

http://azure.github.io/azure-storage-node/BlobService.html#setBlobMetadata__anchor

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Thank you @gaurav mantri for your suggestion..

Converting your suggestion as answer to help reach other community members.

solution by @gaurav mantri:

To set metadata for blob in js ,you may use

setMetadata(metadata?: Metadata, options?: BlobSetMetadataOptions) when using new azure-storage SDK (azure sdk for java script) as the old azure-storage SDK is deprecated .

Please Refer these for the same :

BlockBlobClient class | Microsoft Docs

BlobSetMetadataOptions interface | Microsoft Docs

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda