content-configuration-parameter.mapper.ts should use configuration parameter type for file reference mappings #385
Labels
enhancement
Enhancement to an existing feature
Milestone
The current ICM CMS REST API provides Configuration Parameter type information now that can be used to identify file reference parameters (e.g.
bc_pmc:types.pagelet2-ImageFileRef
) that need to have a specific handling. This is currently handled based on Configuration Parameter naming (e.g. Image or Video) which is not very flexible. Seeintershop-pwa/src/app/core/models/content-configuration-parameter/content-configuration-parameter.mapper.ts
Lines 38 to 47 in 43377f6
It should be changed to make the mapping for specific types (ImageFileRef, FileRef) instead of names.
CMS REST response example for configuration parameters with type information
AB#78582
The text was updated successfully, but these errors were encountered: