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

推荐订阅源

S
Secure Thoughts
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Securelist
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
C
CERT Recently Published Vulnerability Notes
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
SegmentFault 最新的问题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
K
Kaspersky official blog
WordPress大学
WordPress大学
I
Intezer
L
Lohrmann on Cybersecurity
V
Vulnerabilities – Threatpost
C
Check Point Blog
A
About on SuperTechFans
AWS News Blog
AWS News Blog
Latest news
Latest news
宝玉的分享
宝玉的分享
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
Cyber Attacks, Cyber Crime and Cyber Security
SecWiki News
SecWiki News
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Register - Security
The Register - Security
A
Arctic Wolf
V2EX - 技术
V2EX - 技术
Hacker News: Ask HN
Hacker News: Ask HN
V
V2EX
Scott Helme
Scott Helme
I
InfoQ
Project Zero
Project Zero
Security Archives - TechRepublic
Security Archives - TechRepublic
Recent Announcements
Recent Announcements
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
大猫的无限游戏
大猫的无限游戏
Webroot Blog
Webroot Blog
N
News and Events Feed by Topic
博客园 - 司徒正美
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
NISL@THU
NISL@THU
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

博客园 - Lordan

有sharepoint团队的公司 spgridview的过滤功能回调时发生错误~ moss web service的权限问题 LINQ to SharePoint 试用感受, 欢迎讨论~ 获取共享服务中用户配置的其它额外信息 发布一款天气预报webpart MOSS开发Solution Community Kit for SharePoint 利用资源文件实现多语言的系统 调试有JS的InfoPath 2003 发布一个域安全级别的无代码InfoPath表单作为文档库模版 (InfoPath 一) 列出W3WP进程端口号的详细内容(小技巧) 在blog中添加attachments功能 (修改系统Control) 在blog中添加attachments功能 (利用SharePoint:AttachmentUpload ) (未解决) 显示表单页面的编辑模式 - Lordan - 博客园 利用SharePoint:DelegateControl部署自定义UserControl Flash + SharePoint WebService播放视频 (二) Flash + SharePoint WebService播放视频 (一) 文档库中文件夹的权限管理
InfoPath表单容器XmlFormView
Lordan · 2008-06-25 · via 博客园 - Lordan

要离职了, 闲来无事, 总结些以前自己学过的知识点, 目前没用,或许以后可以派上用场了.

一,

XmlFormView 作用是用来在页面上显示InfoPath表单的一个WebPart, 一般需要配置安装后即可使用了.

1.  获取Microsoft.Office.InfoPath.Server.dll

路径: C:\Program Files\Microsoft Office Servers\12.0\Bin


2. 安装Microsoft.Office.InfoPath.Server.dll

直接拖放到目录:

C:\WINDOWS\assembly

3. 在Web应用程序对应的IIS目录下的Web.Config文件的SafeControls中加入:<SafeControl Assembly="Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.InfoPath.Server.Controls" TypeName="XmlFormView" Safe="True" />4. iisreset

5. 添加激活WebPart:

到网站集的Web部件库页面, 点击工具栏的"新建"进入新建Web部件页面,选择导入Microsoft.Office.InfoPath.Server.Controls.XmlFormView部件之后, 即可使用

5. 设置XmlFormView的属性:

ShowHeader:      是否显示XmlFormView的顶部工具条
ShowFooter:       是否显示示XmlFormView的底部工具条
EditingStatus:      设置编辑状态, 包括Init, Closed, Editing
Options:              科设置参数, 支持DisableSave参数设置, 设置是否显示保存按钮
XsnLocation:       表单模版的地址(Http://localhost/Doc/Forms/Template.xsn)
XmlLocation:       表单文件的地址(Http://localhost/Doc)
SaveLocation:      表单XML文件的存储地址(Http://localhost/Doc/Test.xml)