惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Threatpost
TaoSecurity Blog
TaoSecurity Blog
Engineering at Meta
Engineering at Meta
T
Troy Hunt's Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
H
Heimdal Security Blog
Webroot Blog
Webroot Blog
A
About on SuperTechFans
S
Securelist
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
P
Palo Alto Networks Blog
F
Fortinet All Blogs
Hacker News: Ask HN
Hacker News: Ask HN
WordPress大学
WordPress大学
W
WeLiveSecurity
N
Netflix TechBlog - Medium
博客园 - 叶小钗
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Schneier on Security
Schneier on Security
博客园 - 聂微东
www.infosecurity-magazine.com
www.infosecurity-magazine.com
小众软件
小众软件
博客园 - 【当耐特】
有赞技术团队
有赞技术团队
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
A
Arctic Wolf
C
CXSECURITY Database RSS Feed - CXSecurity.com
Google DeepMind News
Google DeepMind News
Security Latest
Security Latest
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
Threat Research - Cisco Blogs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Spread Privacy
Spread Privacy
罗磊的独立博客
The Hacker News
The Hacker News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
IT之家
IT之家
B
Blog
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
Google Online Security Blog
Google Online Security Blog
MongoDB | Blog
MongoDB | Blog

博客园 - Andy Yang

SharePoint中Event Handler的触发 扩展SharePoint链接字段 树莓派的连接 树莓派版的家用NAS服务器 修改树莓派更新源及设置代理配置 开启树莓派的硬件看门狗功能 树莓派上安装2.8寸TFT触摸屏 树莓派上使用蚂蚁矿机挖矿 如何编译树莓派内核 代码导出Reporting Services报表文件 Bit-Coin收入的一分钱 如何在树莓派上运行雷神之锤III 新树莓派入手 如何通过PowerShell在Visual Studio的Post-build中预热SharePoint站点 将SharePoint 2010的快速启动改成弹出菜单样式 SharePoint 2010搜索起步(下) SharePoint 2010搜索起步(上) 2009上班第一天 软件开发与心理张力
在SharePoint 2010的Team Site首页上显示Flash文件
Andy Yang · 2011-12-02 · via 博客园 - Andy Yang

问题:

在SharePoint 2010 Team Site的首页,如果添加Flash文件,预览没问题,点击保存后页面重新空空如也

(直接写HTML或加Content Editor或加Page Viewer,抑或使用SharePoint Designer,皆不行)

原因:

SharePoint 2010的Wiki页面在保存的时候,会把页面中它认为没用的HTML标记自动移除掉(为什么是Flash标记,而不是Silverlight标记,呵呵~~)

解决方法:

还得从头说起,先得到服务器端的SharePoint管理中心,路径如下

Central Administration \ Application Management \ Manage web applications,选定需要修改的Web Application,点击General Settings

找到Browser File Handling,选定如下,OK保存选项

回到客户端站点,新建一个Webpart page,在页面上添加一个Content Editor,编辑html源代码,添加Flash脚本,例如

<embed name="banner" width="1100" height="400" pluginspage="http://www.macromedia.com/go/getflashplayer" src="/Shared%20Documents/Flash/swfName.swf" type="application/x-shockwave-flash"></embed>

不需要加<object>这样的东东,要不SharePoint会把刚添加标签改的乱七八糟,无聊~~~

修改其他需要修改的属性,如:名称,边框等

保存以后将这个Webpart导出来,如图

回到根站点的Site Settings,找到Galleries下的Web Parts选项后将刚下载的Webpart上传上去

后续,在Wiki页面就可以使用这个"定制"的Content Editor了,接着无聊~~~

BTW:如果Wiki页面中使用的Banner需要repeat图片,也可以依葫芦画瓢做,呵呵~~

Have a nice day!

Andy