如何删除“名称”字段 RRS feed

  • Question

  • I have created a form for cheque entries. But when i create the form "name" and "owner" field are compulsory and it does not allow to remove either. Any suggestions really appreciated??


    • Edited by tsyj211 Wednesday, March 15, 2017 9:59 AM
    Wednesday, March 15, 2017 9:49 AM

All replies

  • You can't delete the name field but you can hide or rename it.

    Regards, Saad

    Wednesday, March 15, 2017 9:50 AM
  • Isn't there another way?
    Wednesday, March 15, 2017 10:00 AM
  • No other way. This field is created automatically on creation of the Entity

    Regards, Saad

    Wednesday, March 15, 2017 10:40 AM
  • Hello,

    There is a way to remove those fields from form (but it's unsupported so you're doing that on your own risk):

    1. Export solution that contains your entity.

    2. Extract the content of zip file.

    3. Open customizations.xml file with notepad and find correspond controls in form xml and delete it.

    4. Save file and pack it back to zip file.

    5. Import customizations to CRM and publish changes.

    Dynamics CRM/Business Solutions MVP
    Read My blog

    Thursday, May 4, 2017 5:04 PM
  • Based on your requirement you may consider using organisation owned entity instead of user/team owned. The benefit is that you don't get ownerid with entity. Anyway as ownerid field is populated by CRM therefore it is not a problem. Using JavaScript or synchronous workflows you can populate Name field by concatenating other mandatory fields and make it read only. User will not have to worry about these 2 fields

    Regards Faisal

    Friday, May 5, 2017 8:46 AM