Hello,
I am willing to add the attachments detail (available in Case page) to the Case Portal Page. I have created a replacing object on the BaseCase object and tried to add the following code to my client module:
details: /**SCHEMA_DETAILS*/{
"Files": {
"schemaName": "FileDetailV2",
"entitySchemaName": "CaseFile",
"filter": {
"detailColumn": "Case",
"masterColumn": "Id"
}
}
}/**SCHEMA_DETAILS*/,
and then added the following code on the diff:
diff: /**SCHEMA_DIFF*/[
{
"operation": "insert",
"name": "NotesFilesTab",
"values": {
"items": [],
"caption": {
"bindTo": "Resources.Strings.NotesFilesTabCaption"
},
"order": 2
},
"parentName": "Tabs",
"propertyName": "tabs",
"index": 3
},
{
"operation": "insert",
"name": "Files",
"values": {
"itemType": 2
},
"parentName": "NotesFilesTab",
"propertyName": "items",
"index": 0
},
{
"operation": "insert",
"name": "NotesControlGroup",
"values": {
"itemType": 15,
"items": [],
"caption": {
"bindTo": "Resources.Strings.NotesGroupCaption"
}
},
"parentName": "NotesFilesTab",
"propertyName": "items",
"index": 1
},
{
"operation": "insert",
"name": "Notes",
"values": {
"contentType": 4,
"layout": {
"column": 0,
"row": 1,
"colSpan": 24
},
"labelConfig": {
"visible": false
},
"controlConfig": {
"imageLoaded": {
"bindTo": "insertImagesToNotes"
},
"images": {
"bindTo": "NotesImagesCollection"
}
}
},
"parentName": "NotesControlGroup",
"propertyName": "items",
"index": 0
},
{
"operation": "remove",
"name": "Header"
}
]/**SCHEMA_DIFF*/,
but nothing is visible on the portal Case page.
Can you please help ?
Thank you