Skip to Content

How to make extension facet support draft mechanism on Object Page?

Aug 25, 2017 at 05:01 AM


avatar image

I use List Report template in the frontend, and CDS+BOPF(with draft mechanism) in the backend to support data display and change. Then it generates object page's facet UI by annotations like this:

And it supports draft mechanism, when you click "edit" button on the object page, the section will trun to edit mode, and will be save to draft automaticaly. And when you click "save" button, it will send data from draft table to real table.

But, as you can see, the HTML text is diaplayed as plain text, which experience is not good.

So I make a facet extension to dispaly the HTML text. But because it's an extension facet, it can't support original draft mechanism. When I click "edit" button, it can't reponse and change to edit mode, and it can't save to draft when I leave; When I click "save", it can't move this deaft data to real active data table.

How to make extension facet supporting the original draft mechanism on Object Page?

capture.png (18.4 kB)
capture1.png (9.1 kB)
capture2.png (21.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers