on 2020 Aug 07 6:20 PM
Hi, I am trying to override the seMediaFormat.js. I wanto to override the html and as well as a controller. For this I done the following steps
/*
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
angular
.module('overrideSeMediaFormatModule', [
'testContainerTemplates'
])
.factory('seMediaFormat', function() {
return {
templateUrl: 'overrideSeMediaFormatTemplate.html',
controller: 'seMediaFormatController',
controllerAs: 'ctrl',
bindings: {
mediaUuid: '<',
mediaFormat: '<',
isUnderEdit: '<',
field: '<',
onFileSelect: '&?',
onDelete: '&?',
isFieldDisabled: '<'
}
};
});
Until 1905 we need to import this module in SeModule.But now it is showing as deprecated. Where I need to import this so that cmssmarteditcontainer will pick this up?
Thanks,
Sreenivas A.
Request clarification before answering.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.