14.06.2012, 04:17 | #1 |
Участник
|
Danny Varghese: CRM Page Refresh Issue
Источник: http://varghesedanny.com/2012/06/13/...refresh-issue/
============== How we encountered the problem: Before CRM Rollup 5 came out, we were experiencing a very odd issue for CRM 2011. When a user creates a new record of any entity (the crm form type = 1 which is a “create form”) and clicks save, the record is saved (committing the data to the database), and the form is reloaded (the new crm form type = 2 which is an “update form”). Let’s now say a workflow was fired on the creation of the record, we were waiting for the workflow to update the record. While we were waiting, we clicked on the “F5″ key to refresh the page. However, in doing this, the record never re-loaded (crm form type = 2), rather a new record form came up (crm form type = 1). Very strange! Now, instead of clicking save, we clicked save and close, and then open the record up and hit “F5,” the page refreshed without any issues. Issue: From further testing we realized anytime a user created a record and clicked save, the user cannot refresh/re-load the form. The user would have to close the form after creating, and re-open the record. Once re-opened, the user can click “F5″ to their heart’s content. Solution: It looks like Microsoft saw this as well and released a fix in CRM Rollup #5. For anyone experiencing this issue, please update CRM with CRM Rollup #5. I did some investigating and I believe (not confirmed) the solution was that Microsoft edited the URL for each of the forms. Here’s an example of a CRM URL before the rollup was applied: http:////main.aspx?etc=&extraqs=%3f_CreateFromId%3d%257%257d%26_CreateFromType%3d1%26etc%3d1090&pagetype=entityrecord The url above is the exact same after the form is saved and re-loaded as well. After the rollup was applied, the url for the form after the record is saved is below: http:////main.aspx?etc=&extraqs=%3f_CreateFromId%3d%257%257d%26_CreateFromType%3d1%26etc%3d1090%26id%3d%%257d%26pagemode%3diframe%26preloadcache%3d1328672968243&pagetype=entityrecord It seems that Microsoft added some more parameters to the URL so CRM can discern the crm form types being loaded. Not something most people to know, but I found this pretty interesting. Источник: http://varghesedanny.com/2012/06/13/...refresh-issue/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|