自定义CustomAction
2007-05-30 15:49 温森特 阅读(953) 评论(1) 编辑 收藏 举报z<CustomAction
ContentTypeId = "Text"
ControlAssembly = "Text"
ControlClass = "Text"
ControlSrc = "Text"
Description = "Text"
GroupId = "Text"
Id = "Text"
ImageUrl = "Text"
Location = "Text"
RegistrationId = "Text"
RegistrationType = "Text"
RequireSiteAdministrator = "TRUE" | "FALSE"
Rights = "Text"
Sequence = "Integer"
ShowInLists = "TRUE" | "FALSE"
ShowInReadOnlyContentTypes = "TRUE" | "FALSE"
ShowInSealedContentTypes = "TRUE" | "FALSE"
Title = "Text">
</CustomAction>
Attribute | Description |
---|---|
ContentTypeId |
Optional Text. Specifies the ID of a content type to associate with the custom action. |
ControlAssembly |
Optional Text. Specifies the assembly of a control that supports the custom action. |
ControlClass |
Optional Text. Specifies a control class that supports the custom action. |
ControlSrc |
Optional Text. |
Description |
Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action. |
GroupId |
Optional Text. Identifies an action group that contains the action, for example, |
Id |
Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, |
ImageUrl |
Optional Text. Specifies a virtual server relative link to an image that presents an icon for the item. |
Location |
Optional Text. Specifies the location of this custom action, for example, If contained within a custom action group, the value of the Location attribute must equal the location of the CustomActionGroup element. |
RegistrationId |
Optional Text. Specifies the identifier of the list or item content type that this action is associated with, or the file type or programmatic identifier (ProgID). |
RegistrationType |
Optional Text. Specifies the registration attachment for a per-item action. Possible values include:
|
RequireSiteAdministrator |
Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. |
Rights |
Optional Text. Specifies a set of rights that the user must have in order for the link to be visible, for example, |
Sequence |
Optional Integer. Specifies the ordering priority for actions. |
ShowInReadOnlyContentTypes |
Optional Boolean. TRUE if the custom action is only displayed for read-only content types on the page for managing content types. The default value is FALSE. |
ShowInSealedContentTypes |
Optional Boolean. TRUE if the custom action is only displayed for sealed content types on the page for managing content types. The default value is FALSE. |
Title |
Required Text. Specifies the end user description for this action. |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构