积极答复者
How to delete a "Dead" customized enitity?

问题
-
What I did......
I wanted to replace a picklist attribute with another one (same attribute name, but different picklist items) .... I tried to make changes directly to the .xml file .... then,
Firstly, I exported the entity to a .xml file;
Secondly, I deleted the attribute, and copy/past a new one from other files (Here I guess where errors occure. Because this attribute was applied in a form, but I didn't remove it from the form before making changes)
Thirdly, I imported the modified .xml file to CRM
Then... I cannot delete, modify, pubilish this entity. And that's why I called it dead.
Now I do want to delect it from the CRM. Any one has ideas how to do it?Thanks!
答案
-
所有的 Form customization 都是在 OrganizationUIBase 那里的。 OK, 第一你要对你的数据库做一个备份。
然后到 OragnizationUIBase 那里找你原先 Import 的 XML, 在 FormXml 的字段。 找到后把那个 XML 修改好, 然后从 UI 那里 Delete。
希望这个能帮到你吧。 但这是MS 不支持的方法。 这是我的方法, 所以我叫你做数据库的备份。 :)
Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com- 已建议为答案 darrenliuMicrosoft employee, Moderator 2009年8月12日 19:35
- 已标记为答案 darrenliuMicrosoft employee, Moderator 2009年8月17日 16:28
全部回复
-
你再导出XML,先把那个Picklist attribute删除干净了,再导入试试。
Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com, http://mscrm.cn -
所有的 Form customization 都是在 OrganizationUIBase 那里的。 OK, 第一你要对你的数据库做一个备份。
然后到 OragnizationUIBase 那里找你原先 Import 的 XML, 在 FormXml 的字段。 找到后把那个 XML 修改好, 然后从 UI 那里 Delete。
希望这个能帮到你吧。 但这是MS 不支持的方法。 这是我的方法, 所以我叫你做数据库的备份。 :)
Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com- 已建议为答案 darrenliuMicrosoft employee, Moderator 2009年8月12日 19:35
- 已标记为答案 darrenliuMicrosoft employee, Moderator 2009年8月17日 16:28