创建自定义字段类型和自定义内容类型
有没有人有任何关于开发不涉及使用 VSeWSS 的自定义字段和内容类型的良好链接? 我在网上看到的大多数东西都需要安装 VSeWSS,我宁愿只用 VS2005 从头开始构建它们。
谢谢
Does anyone have any good links for developing custom field and content types that doesn't involve using VSeWSS? Most of the stuff I have seen on the web requires installing VSeWSS, I would rather build them from scratch with just VS2005.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我理解首先手动完成而不需要工具帮助的想法。
但是,您最终将手动创建大量 xml。 真的会很痛并且需要很长时间。
我个人会推荐STSDev。 使用它为自定义内容类型和字段(包括任何自定义控件)创建解决方案和功能。
创建包后,您可以对其进行逆向工程,以找出整个组件如何组合在一起的具体细节。
如果您在虚拟机上执行此操作,您仍然可以保留原始 2005 安装,以便在需要时回滚。
我相信这将增加了解内容类型和字段的情况的时间。
I understand the idea of doing it by hand first without a tool to help.
But, you will end up creating a lot of xml by hand. It will really hurt and take a long time.
I would recommend STSDev personally. Use it to create the solution and features for the custom content types and fields, including any custom controls.
Once the package has been created, you can then reverse engineer it to find out the nuts and bolts of how the whole thing holds together.
If you do it on a virtual machine, you can still keep a virgin 2005 install to roll back to when you want to.
I believe this will increase the time to understand what is going on with Content Types and Fields.
我使用这些博客来帮助我处理自定义字段 此处和这里
I used these blogs to help me with the Custom Fields Here and Here
也不确定自定义内容类型。 但是,如果您想避免 VSeWSS,是否可以选择使用其他 Visual Studio 加载项? WSPBuilder 包括自定义字段类型的模板。
Not sure about Custom Content Types either. However, if you want to avoid VSeWSS, is using another Visual Studio add-in an option? WSPBuilder includes templates for Custom Field types.
CodePlex 上的 MOSS 特征生成器 是一个非常强大的工具,可以从现有站点数据创建特征,这意味着您可以使用 GUI 创建您想要的所有内容,然后将其导出为功能。 这对于学习如何创建事物以及将现有事物实际转换为功能非常方便。 它适用于内容类型、网站栏、列表等。
The MOSS Feature Generator on CodePlex is a very robust tool that creates features from existing site data, which means you can create everything you want using the GUI and then export it as features. This is very handy for learning how to create things as well as actually converting existing things into features. It works with Content Types, Site Columns, Lists, etc.
查看快速工具和 SPDeploy:
http://rapid-tools.googlecode.com
SPDeploy 允许您使用 Visual Studio 本地开发解决方案并远程部署自动生成的 wsp。
Check out rapid tools and SPDeploy:
http://rapid-tools.googlecode.com
SPDeploy allows you to locally dev a solution using visual studio and deploy a automatically generated wsp remotely.