Тема
:
Gareth Tucker: CRM 2011 Dialogs–A couple of gotchas
Показать сообщение отдельно
16.06.2011, 10:11
#
1
Blog bot
Участник
25,644
/
848
(
80
)
Регистрация: 28.10.2006
Gareth Tucker: CRM 2011 Dialogs–A couple of gotchas
Источник:
http://gtcrm.wordpress.com/2011/06/1...le-of-gotchas/
==============
A couple of things to look out for as you start writing Dialogs:
If your Dialog has branching logic make sure you don’t use the Responses from those branches in any later actions after the branching as those Response values will not be available in those scenarios when the user branches the other way, and CRM doesn’t like that. To get around this make use of Variables within your Dialog. Initialise a Variable at the start of your Dialog, update it within your branch and then you can happily refer to the Variable later in the script.
Beware of placing actions such as creating records and sending emails in amongst Pages of your Dialog, they’re better placed at the end of your script firing only after the user has clicked Finish in the Dialog. Reason for this is the Dialog UI happily allows users to navigate backwards and forwards within the Dialog. If you have a record creating firing between pages 4 and 5 of your script that record creation will happen not only the first time the user progresses to page 5 but if they hit previous, go back to page 4 and then progress on to page 5 again then yeap you guessed it you will get another record created.
HTH
Gareth
Источник:
http://gtcrm.wordpress.com/2011/06/1...le-of-gotchas/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите
личное сообщение
администратору.
Blog bot
Посмотреть профиль
Найти ещё сообщения от Blog bot