Upload Widget - Can't add context/metadata with prepareUploadParams()


1 comment

  • Avatar
    Tia Esguerra

    Hi there, 

    Thanks so much for reaching out. You are almost there. You just have some incorrect syntax. 

    I tried the code below and was able to upload an image and see the contextual metadata correctly applied. 

    prepareUploadParams: (cb, params) => {
    params= {
      context: "alt=@kitty, https://meow.com/ | 
                     instagram=@meowKitty |
                     website=https://meowKitty.com/ |
    Could you give that a shot and let me know how it goes?
    Kind Regards, 
    Comment actions Permalink

Please sign in to leave a comment.