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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 25.06.2014, 05:22   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
mscrmblog: Disable Automatic Document Property Promotion on a List
Источник: http://mscrmblog.net/2014/06/25/disa...ion-on-a-list/
==============

So if you’ve come across the problem where users will download a document previously upload which has metadata tags against it, they will rewrite the whole document and upload but the old properties and metadata properties have been set from the last document.

Fortunately its a feature that can be disabled however not through the UI. This can be done either using SharePoint Manager or creating a feature in Visual studio which will update the property on the SPWeb.

The property is:

ParserEnabledMSDN link: http://msdn.microsoft.com/en-us/libr...erenabled.ASPX

You can also read up on Document Property Promotion and Demotion: http://msdn.microsoft.com/en-us/libr...ffice.14).aspx

In a simple feature you can disabled it using the following:

var web = properties.Feature.Parent as SPWeb;web.AllowUnsafeUpdates = true;web.ParserEnabled = false;web.Update();



Источник: http://mscrmblog.net/2014/06/25/disa...ion-on-a-list/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
atinkerersnotebook: Creating Your Own Document Management System With SharePoint Blog bot DAX Blogs 0 02.10.2013 21:12
Microsoft Dynamics CRM Team Blog: Marketing with Dynamic List Blog bot Dynamics CRM: Blogs 0 09.11.2010 19:05
mscrmblog: Customize Marketing List (List Member View) Blog bot Dynamics CRM: Blogs 0 13.08.2009 15:05
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0 Deployment Scenarios Blog bot Dynamics CRM: Blogs 0 30.01.2009 22:05
dax-lessons: Document Handling in AX - setup and Example Blog bot DAX Blogs 0 27.08.2007 23:00

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:21.