AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 14.06.2012, 04:17   #1  
Blog bot is offline
Blog bot
Участник
 
25,477 / 846 (79) +++++++
Регистрация: 28.10.2006
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, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 7 Blog bot Dynamics CRM: Blogs 0 27.03.2012 02:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 4 Blog bot Dynamics CRM: Blogs 0 24.09.2011 01:16
Danny Varghese: CRM 2011 Installing User/Service Account Permissions Blog bot Dynamics CRM: Blogs 0 18.05.2011 03:15
Danny Varghese: Dynamics CRM 2011 Licensing Blog bot Dynamics CRM: Blogs 0 18.05.2011 03:15
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 05:31.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.