Hello community!
I have created a new Section, which has a detail inside. When I click New, I dont want the detail to appear in the page. ONLY after clicking Save the detail should appear in the page.
Is this possible in Creatio? If so what are the possible customizations that I should do in the JS files.
Like
2 comments
Best reply
17:20 Dec 22, 2021
Hello Petrika,
You can add the code below to the edit page of your section to hide a detail when a record is added (in my example the detail had the "Detail to test" caption):
getDetailInfo: function() { var detailInfo = this.callParent(arguments); if (this.isAddMode() && detailInfo.caption == "Detail to test"){ return; } return detailInfo; }
Best regards,
Oscar
17:20 Dec 22, 2021
Hello Petrika,
You can add the code below to the edit page of your section to hide a detail when a record is added (in my example the detail had the "Detail to test" caption):
getDetailInfo: function() { var detailInfo = this.callParent(arguments); if (this.isAddMode() && detailInfo.caption == "Detail to test"){ return; } return detailInfo; }
Best regards,
Oscar
Show all comments