Hi experts,
we have added an attribute "localizedAltText" to the Media Type, now we would like to maintain this attribute in Smart Edit.
Currently it seems that the Image upload "seMediaUploadForm.js" only supports the out of the box attributes.
seMediaService.uploadMedia({
file: this.image.file,
code: escapeHtml(this.imageParameters.code),
description: escapeHtml(this.imageParameters.description),
altText: escapeHtml(this.imageParameters.altText)
}).then(this.onImageUploadSuccess.bind(this), this.onImageUploadFail.bind(this));
}
What would be the recommended approach to add a new attribute to the Media Itemtype?
Thank you, Best Regards, Christian