用于创建自定义WebPart的选项 [英] Options for creating custom WebParts

查看:62
本文介绍了用于创建自定义WebPart的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户希望在Sharepoint 2010上创建一个外观非常自定义的网站.通过我的选择,看来创建WebParts将是满足客户需求的最可重用的方法.我对这个选项犹豫不决 添加新的WebParts所需的访问权限.我在网上看到的大多数示例都显示了自定义C#,给我的印象是这些部分需要编译并上载到Sharepoint服务器才能运行.尽管这可能是个问题,因为我的客户身处高度 安全的环境,这不太可能允许这样做.

由于WebPart中的任何内容都不需要服务器执行的代码,是否可以创建仅HTML/CSS/JS的WebPart并在每个站点上上传它?还是我绝对需要超级管理员权限才能添加自定义WebPart?

预先感谢.

解决方案

Hi

如果其共享点为2010

https://sharepoint.stackexchange.com/questions/123792/sharepoint-visual-webparts-for-newform-with-client-side-coding

如果是更高版本

https://docs.microsoft.com/zh-cn/sharepoint/dev/spfx/web-parts/overview-client-side-web-parts


I have a client who wishes to create a very custom looking site on top of Sharepoint 2010. Looking through my options it seems like creating WebParts will be the most reusable way to go to meet the client's needs. I'm hesitant about this option though due the access needed to add new WebParts. Most examples I see online show custom C# and give me the impression these parts will need to be compiled and uploaded to the Sharepoint server to run. This would likely be a problem though because my client is in a highly secured environment that would not likely allow this.

Since nothing in the WebPart would need any server executed code, is it possible to create a WebPart of just HTML/CSS/JS and upload this on a per site basis? Or will I absolutely need super admin privileges to add custom WebParts? 

Thanks in advance.

解决方案

Hi

If its sharepoint 2010

https://sharepoint.stackexchange.com/questions/123792/sharepoint-visual-webparts-for-newform-with-client-side-coding

if its higher version

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/overview-client-side-web-parts


这篇关于用于创建自定义WebPart的选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆