문제

I'm created a Custom Field Type by taking reference from this URL: http://www.mtelligent.com/journal/2007/9/29/sharepoint-2007-custom-date-time-field-to-default-the-time-t.html.

just wandering whether the scope of Custom Field Type can be change? let say it is only apply to a single subsite instead of the whole web collection?

thank you in advanced.

도움이 되었습니까?

해결책

If you're creating Custom Field Type only for solving DateTime field default value problem, I'd recommend you to consider another approach: use =NOW() as the default value formula. I've tested it and it works.

Concerning your particular question, AFAIK, there is no way to change scope for subsite, but you can, for example, make this field type "hidden" (createable only programmatically), using "UserCreatable" option. For the full list of options, refer to the following MSDN article:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top