Показать сообщение отдельно
Старый 29.10.2013, 12:48   #1  
nlweb is offline
nlweb
Участник
 
4 / 10 (1) +
Регистрация: 29.10.2013
! Прошу помощи. CRM 2011 Добавление фото к контактам.
Помогите разобраться в вопросе добавления фото к контактам в MD CRM 2011.
Андрей Бутенко сбросил замечательную инструкцию
http://crmattachmentimage.codeplex.com/
К сожалению от небольшого опыта с CRM. До конца разобраться не могу. Опишу что делаю по шагам со скриншотами, надеюсь на вашу помощь.

How to add the Attachment Image Silverlight control
Please follow these steps:
Upload the xap as a web-resource


Скачиваю архив, из него беру xap файл.
Иду в "Параметры-Настройки-Настроить систему"
Далее "Компоненты-Веб-ресурсы"
Создать "тип - XAP", выбираю файл из архива "CrmAttachmentImage.xap"
Сохраняю, опубликовываю.
http://s38-temporary-files.radikal.r...-929206895.jpg

Далее
Create a text-field that is not searchable to store the annotationid (guid)

Иду в Компоненты-Сущности-Контактное лицо-Поля (это тот элемент к которому необходимо привязать фото)
http://s37-temporary-files.radikal.r...-929206895.jpg
Создать - для поиска - "нет", формат "текст", отображаемое имя "webfoto"

http://s33-temporary-files.radikal.r...-929206895.jpg

Далее
Add the Web-Resource to the form
Check the checkbox to pass the id and type, etc.
In the parameters add the fields and their values seperated by a pipe |
Example: field=new_imageattachmentid|subject='Contact''s Image'|prefix='img-'
Available fields are:
field - The name of the field you are using to store the annotationid of the attachment. It is required, and the field MUST BE ON THE FORM (it does not need to be visible).
subject - The subject for attachments - the following substitutions are available
%s - The name of the file
prefix - The prefix for all attachment images (this is used to filter the results, etc)
hidebuttons - Used to hide the buttons that are in the silverlight control so that you can use the ribbon to control the application
savefirst - Used to set the message that is displayed on a form that is in Create Mode
webcam - Set to true if you want to enable the webcam it is not currently tide to hidebuttons
max-width- maximum width for all images
max-height - maximum height for all images
max-webcam-width - maximum webcam image width, overrides max-width for web-cam images
max-webcam-height - maximum webcam image height, overrides max-height for web-cam images


Далее там же выбираю "Контактное лицо-Формы-Основная"
http://s38-temporary-files.radikal.r...-929206895.jpg
"Вставить - веб ресурс"
http://s37-temporary-files.radikal.r...-929206895.jpg

Задаю имя и название, выбираю "веб ресурс" - в нем выбираю тот что ранее добавил.
http://s37-temporary-files.radikal.r...-929206895.jpg

И всё далее не понимаю что необходимо сделать чтобы разместить такое поле с возможностью загрузки фотографий.
http://s33-temporary-files.radikal.r...-929206895.png

Пожалуйста помогите, в CRM полный нуб, прошу помощи.
nlweb@ya.ru или тут.

Последний раз редактировалось a33ik; 30.10.2013 в 11:17. Причина: Фамилию свою поправил.