创建自定义字段类型和自定义内容类型

时间:2022-01-24 23:04:14

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.

有没有人有任何良好的链接来开发不涉及使用VSeWSS的自定义字段和内容类型?我在网上看到的大多数东西需要安装VSeWSS,我宁愿用VS2005从头开始构建它们。

Thanks

5 个解决方案

#1


2  

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.

但是,你最终会手工创建大量的xml。这真的很痛,需要很长时间。

I would recommend STSDev personally. Use it to create the solution and features for the custom content types and fields, including any custom controls.

我会亲自推荐STSDev。使用它为自定义内容类型和字段(包括任何自定义控件)创建解决方案和功能。

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.

如果在虚拟机上执行此操作,您仍可以保留2005年的原始安装,以便在需要时回滚。

I believe this will increase the time to understand what is going on with Content Types and Fields.

我相信这会增加时间来了解内容类型和字段的内容。

#2


2  

I used these blogs to help me with the Custom Fields Here and Here

我使用这些博客来帮助我在这里和这里使用自定义字段

#3


2  

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.

不确定自定义内容类型。但是,如果要避免使用VSeWSS,是否正在使用另一个Visual Studio加载项? WSPBuilder包含自定义字段类型的模板。

#4


2  

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.

CodePlex上的MOSS特征生成器是一个非常强大的工具,可以从现有的站点数据创建功能,这意味着您可以使用GUI创建所需的一切,然后将其导出为功能。这对于学习如何创建事物以及将现有事物转换为特征非常方便。它适用于内容类型,站点列,列表等。

#5


1  

Check out rapid tools and SPDeploy:

查看快速工具和SPDeploy:

http://rapid-tools.googlecode.com

SPDeploy allows you to locally dev a solution using visual studio and deploy a automatically generated wsp remotely.

SPDeploy允许您使用visual studio在本地开发解决方案,并远程部署自动生成的wsp。

#1


2  

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.

但是,你最终会手工创建大量的xml。这真的很痛,需要很长时间。

I would recommend STSDev personally. Use it to create the solution and features for the custom content types and fields, including any custom controls.

我会亲自推荐STSDev。使用它为自定义内容类型和字段(包括任何自定义控件)创建解决方案和功能。

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.

如果在虚拟机上执行此操作,您仍可以保留2005年的原始安装,以便在需要时回滚。

I believe this will increase the time to understand what is going on with Content Types and Fields.

我相信这会增加时间来了解内容类型和字段的内容。

#2


2  

I used these blogs to help me with the Custom Fields Here and Here

我使用这些博客来帮助我在这里和这里使用自定义字段

#3


2  

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.

不确定自定义内容类型。但是,如果要避免使用VSeWSS,是否正在使用另一个Visual Studio加载项? WSPBuilder包含自定义字段类型的模板。

#4


2  

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.

CodePlex上的MOSS特征生成器是一个非常强大的工具,可以从现有的站点数据创建功能,这意味着您可以使用GUI创建所需的一切,然后将其导出为功能。这对于学习如何创建事物以及将现有事物转换为特征非常方便。它适用于内容类型,站点列,列表等。

#5


1  

Check out rapid tools and SPDeploy:

查看快速工具和SPDeploy:

http://rapid-tools.googlecode.com

SPDeploy allows you to locally dev a solution using visual studio and deploy a automatically generated wsp remotely.

SPDeploy允许您使用visual studio在本地开发解决方案,并远程部署自动生成的wsp。