Can anyone help with the following scenario:
We are using the "My Notifications" part of the RTC Role Centre Home Page to notify users of Shipments that failed to post by a batch process.
If the user then goes into the Shipment in question by double clicking it, corrects the error and then successfully posted it, the notification is deleted from the "Record Links" table.
However, until the RTC Home Page is refreshed, that entry remains in the "My Notifications" list. If the user then double clicks it again, a message along the lines of "the record you're trying to access doesn't exist". I don't have an issue with that. However, my issue is that it takes a Refresh of the homepage to clear that entry.
So I tried using the Windows Script Host Object Model to invoke a F5 (also tried a Shift+12 as that also appeared to do a refresh when using the RTC Cleint). Niether of those worked in code.
So then I tried using the Navision Timer on the RTC Home Page, only to discover that "trigger code is not allowed on pages of type RoleCentre". How VERY annoying!!!!!
Does anyone here know of any ways that work to refresh the RTC Home Page (not an individual Page such as a Warehouse Shipment), thanks?
0
Comments
It doesn't really solve your problem but you could set the 'RefreshOnActivate' property on the rolecentre page (a bit of a pain as you will have to do this for each role centre). It's not as good as a automatic refresh but is does cover off some scenarios.
Hi, in which page/fucntion did you call it?