How can I have a Time field in Dynamics CRM 4.0?

此生再无相见时 提交于 2020-01-15 10:18:07

问题


I know nothing about CRM but have been asked to add some fields to a form. One of these is for a time but with no date element. How can I do this?


回答1:


CRM does not provide this functionality out of the box. You'll need to customize it. I'd add a new DateTime attribute and a new Text attribute. capture the data you need in the DateTime attribute so you can report off of it. Then using Javascript, display only the time portion from the DateTime attribute in the Text field.

-Mikeyb




回答2:


I would add a datetime field with a format of date and time. On form load, you can add javascript to populate the date part with a constant value then hide it so that it only shows the time part.



来源:https://stackoverflow.com/questions/720994/how-can-i-have-a-time-field-in-dynamics-crm-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!