天天看點

列印某個user在指定時間段内做過的personalization detail

Requirement

This question is asked by consultant during Jerry’s supporting as dev angel.

Partner wants to develop some report in the backend to track which users have performed what kinds of Fiori group personlization but he didn’t know the corresponding database table which contains the needed information, or available API which can return the necessary information.

How to analyze this requirement

點選Personalization icon:

列印某個user在指定時間段内做過的personalization detail

建立一個新的group, 輸入title資訊後回車,trigger一個send到背景的OData request,成功執行( status code 201 - created )

列印某個user在指定時間段内做過的personalization detail

user 手動輸入的title資訊作為request payload傳入背景:

列印某個user在指定時間段内做過的personalization detail

Solution

Based on backend debugging on the OData request handling displayed above, we can write the following two simple reports.

first report

This report will display the personalization guid with given time period for current user.

列印某個user在指定時間段内做過的personalization detail

顯示輸出:

列印某個user在指定時間段内做過的personalization detail

report source code:

列印某個user在指定時間段内做過的personalization detail

the second report

将列印出的configuration guid 6BBE9D15576F539BA37A2C26D5E6D424抄下來,執行另一個report。

該report能夠列印出此configuration guid對應的configuration detail:

Source code:

列印某個user在指定時間段内做過的personalization detail

繼續閱讀