- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Form refreshing issue
Tue 4 Feb 2020 - 8:27
We have a screen that captures dates and stores them in extension data. We also have a milestone plan that sets this extension data on certain events. We have an issue however when we try and view the screen after one of these events in the milestone plan is run, the screen does not update automatically. When we hit refresh it gives us an option to save the changes, but when we do this we overwrite the changes from the milestone plan with the data on the original screen. For example if the original screen field is blank and we then run the stage in the plan to update this blank field, we refresh and save the changes it ignores the extension data we have just run and updates the field with a blank! Is this a known problem? Is there a way to refresh the form automatically when we run something in the milestone plan so that we can avoid this issue? Or is there another way that we can get around this issue.
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Re: Form refreshing issue
Tue 4 Feb 2020 - 8:28
If you're within taskflow try this after updating the extended data. This should ensure that the tab isrefreshed when the user clicks to view it. Session.CurrentSession.CurrentFile.Update();
FWBS.OMS.UI.Windows.Services.OnOMSTypeRefresh();
That said, there was a bug with this reported last year. I'll check whether it's resolved in v5/v6.
FWBS.OMS.UI.Windows.Services.OnOMSTypeRefresh();
That said, there was a bug with this reported last year. I'll check whether it's resolved in v5/v6.
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Re: Form refreshing issue
Tue 4 Feb 2020 - 8:28
Did you check whether this was resolved in v6? Unfortunately your suggested fix does not seem to work. Any other suggestions?
- Lynne Harding
- Posts : 335
Join date : 2018-12-20
Re: Form refreshing issue
Tue 4 Feb 2020 - 8:28
I had similar issues and in the end I had to do the following to ensure that data was being saved correctly
http://support.mattersphere.com/Support/Forum/tabid/182/forumid/1/postid/1479/scope/posts/language/en-GB/Default.aspx#1479
http://support.mattersphere.com/Support/Forum/tabid/182/forumid/1/postid/1479/scope/posts/language/en-GB/Default.aspx#1479
Permissions in this forum:
You cannot reply to topics in this forum
|
|