{
"path": "/webapp/mcm",
"target": {
"type": "destination",
"name": "DocumentCenter",
"entryPath": "/mcm"
},
"description": "Destination to SAP Document Center"
},
{
"path": "/mcm",
"target": {
"type": "destination",
"name": "DocumentCenter",
"entryPath": "/mcm"
},
"description": "Destination to SAP Document Center"
},
{
"path": "/demodestination",
"target": {
"type": "destination",
"name": "DocumentCenter"
},
"description": "Destination to SAP Document Center"
}
"sap.ui5": {
.......
"resourceRoots": {
"mcm": "mcm/resources/com/sap/mcm"
},
.......
},
<App>
<pages>
<Page title="{i18n>title}">
<content>
<VBox id="documentCenterBox" width="100%" class="sapUiTinyMarginBegin" />
</content>
</Page>
</pages>
</App>
sap.ui.define([
"sap/ui/core/mvc/Controller",
"mcm/components/Factory",
"sap/ui/unified/FileUploader"
], function(Controller, Factory, FileUploader) {
"use strict";
return Controller.extend("DocumentCenter.controller.View1", {
onInit: function() {
var factory, docCenterComponent, box;
factory = new Factory();
docCenterComponent = factory.create({
type: "DocumentList",
destinationPath: "/demodestination",
repositoryId: "378ed525-7cfd-40fb-9850-ac679e033fa1",
objectId: "1hdpWgDi3TJqRco9X00zptpgOL5hxz0oEgH3T7d_EDg",
metadata1: "cmis:lastModificationDate",
metadata2: "cmis:lastModifiedBy",
metadata3: "cmis:contentStreamLength",
metadata4: "mcm:classification"
});
box = this.getView().byId("documentCenterBox");
box.addItem(docCenterComponent);
}
});
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
8 | |
7 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |