Parent Page Reload From LTI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023
08:31 AM
Hi,
I am trying to force the parent page to reload from the LTI
We have some functionally in our LTI that hides and shows some menu items in a course when it is run.
When the process is done I would like to refresh the parent page so update the menus.
I have tried
parent.postMessage(JSON.stringify(
{
subject: "lti.pageRefresh"
}), "*");
and I get no errors but nothing happens. Am I doing this wrong or is refresh a page not supported (I thought I read that it was)
Any ideas?