Working code with all modifications needed to make https://community.st.com/s/learning-activity-detail-standard-lp?ltui__urlRecordId=a5x3W000000bmPdQAI&ltui__urlRedirect=learning-activity-detail-standard-lp&ltui__parentUrl=learning-plan-detail-standard work.