无需 Visual Studio 的 SharePoint 2010 功能区自定义
我正在为想要迁移到 SharePoint 2010 的工具探索不同的选项。
当前的工具位于 Excel 中,并广泛使用功能区自定义选项。这非常适合 SharePoint 2010 和现在可用的功能区。
问题是我无法访问我们公司的 SharePoint 2010 环境的后端服务器(因此没有 Visual Studio 发布等),因此想探索通过 JavaScript“注入”自定义功能区 XML 的选项(或其他)当特定页面加载时。
高级流程如下。
- 用户加载页面
- JavaScript 代码在页面加载时执行(jQuery、原型等),动态构建自定义功能区组件。
- 用户现在可以像平常一样与新的功能区组件进行交互。
据我所知,功能区只是 HTML 和 JS,所以我认为这样的东西应该是可行的。想知道过去是否有人做过类似的事情。
I am exploring different options for a tool I am looking to migrate to SharePoint 2010.
The current tool is in Excel and uses the ribbon customization options extensively. This would go nicely with SharePoint 2010 and the ribbon that is now available.
The problem is that I don't have access to the back-end servers for our company's SharePoint 2010 environment (therefore no Visual Studio publishing, etc.) so would like to explore options of "injecting" the custom ribbon XML via JavaScript (or something else) when the specific page loads.
High level flow would be the following.
- User loads page
- JavaScript code is executed on page load (jQuery, prototype, whatever) which dynamically builds the custom ribbon components.
- User can now interact with the new ribbon components like normal.
From what I have read the ribbon is just HTML and JS so something like this should be feasible I would think. Would like to know if anyone has done anything similar in the past.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论