社区
SharePoint
帖子详情
list instance部署到异地sharepoint site
genggenggengfasvzxc
2011-08-31 10:54:18
visual studio 开发的webpart如果是sandbox solution 可以把wsp文件传到异地的sharepoint网站的solution中并激活,这样就可以使用,但是我现在是一个list instance,由于不是webpart 同样用上面的方法激活以后添加webpart时找不到这个list instance, 请问应该怎么办
...全文
86
9
打赏
收藏
list instance部署到异地sharepoint site
visual studio 开发的webpart如果是sandbox solution 可以把wsp文件传到异地的sharepoint网站的solution中并激活,这样就可以使用,但是我现在是一个list instance,由于不是webpart 同样用上面的方法激活以后添加webpart时找不到这个list instance, 请问应该怎么办
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
9 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
程序兔
2011-11-18
打赏
举报
回复
7楼的回答很好了
Oo云
2011-09-10
打赏
举报
回复
[Quote=引用楼主 genggenggengfasvzxc 的回复:]
visual studio 开发的webpart如果是sandbox solution 可以把wsp文件传到异地的sharepoint网站的solution中并激活,这样就可以使用,但是我现在是一个list instance,由于不是webpart 同样用上面的方法激活以后添加webpart时找不到这个list instance, 请问应该怎么办
[/Quote]
list instance 不是webpart 你用添加webpart的方法在页面添加,肯定没有。
你可以试一下,在新建列表的画面上找找看啊!
或者直接看看的网站列表里有没有你的 list
fanyingjie1988
2011-09-07
打赏
举报
回复
应为不知道具体的工程信息,所以提出一点建议:
1. 首先确认一下,你在你的项目的Feature中,是不是包含这个List Instance。如果Feature中都不包含这个instance,你激活在多次也没有用。
2. 如果有,但还是出现问题,你把你的wsp包解押一下(后缀名改成zip然后双击就可以看),然后看看里面是否包含该instance的实例。如果不存在请重新打包。
3. 到异地部署,部署之后,县看看14目录下的Feature文件夹中是否包含了该feature的文件夹。
4. 如果以上都存在,把Feature反激活,然后再激活一次就应该没有问题了。
希望以上能够对你有帮助。谢谢!
alf7927
2011-09-07
打赏
举报
回复
使用list template异地步署试试
reejayyang
2011-09-05
打赏
举报
回复
是不是在代码中调用了list的id,在新的网站中生成的list名称虽然相同,但是id变了
genggenggengfasvzxc
2011-09-02
打赏
举报
回复
feature里也没有找到这里list相关的
genggenggengfasvzxc
2011-09-01
打赏
举报
回复
那麻烦你告诉我下应该怎么部署?我在bin文件夹下是找到wsp文件的,你说应该怎么搞?
Ghost_Khz
2011-09-01
打赏
举报
回复
这跟webpart有关系么, 应该都是feature激活吧。 看看,有什么错误什么的
Justin-Liu
2011-09-01
打赏
举报
回复
激活feature就有了
Microsoft
SharePoint
2010 Developer Reference
Part I Getting Started 1 Introducing Microsoft
SharePoint
2010 . 3 What Is
SharePoint
? 3 Main Capabilities 4
Site
s . 5 Communities 5 Content . 5 Search . 6 Insights 6 Compo
site
s 6
SharePoint
Basic Concepts 7
SharePoint
Central Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Site
Collections and Web
site
s . 8
List
s, Libraries, Items, and Documents 10 Web Parts and Web Part Pages 12 Architectural Overview . 12 Logical and Physical Architecture 14 Service Applications . 16 The Role of Databases 17
SharePoint
Editions . 18
SharePoint
Foundation 18
SharePoint
Server Standard 19
SharePoint
Server Enterprise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
SharePoint
for Internet
Site
s . 20
SharePoint
Online . 20
SharePoint
for Developers . 20 ASP.NET Integration . 21 Server-Side Technologies 21 Client-Side Technologies 22 Download at Pin5i.Com viii Table of Contents Web Parts and UI 22 Data Provisioning 22 Event Receivers and Workflows 23 Security Infrastructure 23 Business Connectivity Services . 23 Windows PowerShell Support 24 Developer Tools . 24 Microsoft
SharePoint
Designer 2010 . 24 Microsoft Visual Studio 2010 26
SharePoint
Server Explorer 28 Solution Explorer and Feature Designer . 29 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2 Data Foundation 31
List
s of Items and Contents . 31
Site
Columns 46 Content Types 47 Web
site
s 50 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Part II Programming Microsoft
SharePoint
2010 3 Server Object Model . 55 Startup Environment 56 Objects Hierarchy 56 SPFarm, SPServer, SPService, and SPWebApplication . . . . . . . . . . . . . . . . 57 SP
Site
and SPWeb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 SP
List
and SP
List
Item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 SPDocumentLibrary and SPFile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 SPGroup, SPUser, and Other Security Types . 69 SPControl and SPContext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Common and Best Practices 72 Disposing Resources . 73 Handling Exceptions . 76 Transactions . 78 AllowUnsafeUpdates and FormDigest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Download at Pin5i.Com Table of Contents ix Real-Life Examples 80 Creating a New
Site
Collection . 80 Creating a New Web
site
82
List
s and Items . 83 Document Libraries and Files 92 Groups and Users 97 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 4 LINQ to
SharePoint
101 LINQ Overview 101 The Goal of LINQ 102 LINQ Under the Covers 104 Introducing LINQ to
SharePoint
. 106 Modeling with SPMetal.EXE 107 Querying Data . 117 Managing Data 122 Inserting a New Item 124 Deleting or Recycling an Existing Item . 125 Advanced Topics 126 Handling Concurrency Conflicts 126 Identity Management and Refresh 130 Disconnected Entities . 132 Model Extensions and Versioning 134 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 5 Client-Side Technologies . 137 Architectural Overview . 137
SharePoint
Client Object Model . 138 Managed Client Object Model . 139 Silverlight Client Object Model 147 ECMAScript Client Object Model . 152 Client Object Model by Examples 158
List
s and Items . 159 Document Libraries and Files 165 SOAP Services 168 The REST API 171 Querying for Data with .NET and LINQ 173 Managing Data 177 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 Download at Pin5i.Com x Table of Contents Part III Developing Web Parts 6 Web Part Basics 183 Web Part Architecture 183 A “Hello World” Web Part 184 Web Part Deployment 188 Real Web Parts . 192 Classic Web Parts 192 Visual Web Parts . 195 Configurable Web Parts . 197 Configurable Parameters . 198 Editor Parts . 200 Handling Display Modes 204 Custom Web Part Verbs . 205 The
SharePoint
-Specific WebPart class 207 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 7 Advanced Web Parts . 209 Connectable Web Parts 209 Supporting AJAX 215 Connectable Web Parts with AJAX 217 Silverlight and External Applications . 220 Asynchronous Programming 223 XSLT Rendering 226 Deployment, Security, and Versioning 233 Deployment and Versioning . 233 SafeControls and Cross-
Site
-Scripting SafeGuard . 236 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 Part IV Extending Microsoft
SharePoint
2010 8
SharePoint
Features and Solutions 241 Features and Solutions . 241 Feature Element Types . 246 Features and Solutions Deployment 248 Packaging with Visual Studio 2010 254 Upgrading Solutions and Features . 256 Feature Receivers 259 Handling FeatureUpgrading Events . 262 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 Download at Pin5i.Com Table of Contents xi 9 Extending the User Interface . 265 Custom Actions 265 The CustomAction Element . 265 The CustomActionGroup Element 273 The HideCustomAction Element . 275 Server-Side Custom Actions 276 Ribbons . 279 Ribbon Command . 279 Delegate Controls . 291 Custom Contents . 295 Images and Generic Content 295 Application Pages . 297 Content Pages, Web Part Pages, and Galleries 299 Status Bar and Notification Area 305 Dialog Framework . 309 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 10 Data Provisioning . 315
Site
Columns 315 Content Types 320 Content Type IDs . 323 More about Content Types . 326 Document Content Types 328
List
Definitions . 329
List
Schema File . 329 Defining a Custom View 339 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 11 Developing Custom Fields 345 Fields Type Basics 345 The SPField Class . 347 Developing Custom Field Types . 349 A Basic E-Mail Field Type . 349 A Multicolumn Field Type 354 Field Rendering Control . 358 Field Rendering Templates 361 Field Rendering Using CAML 365 Field Rendering Using XSLT 367 Download at Pin5i.Com xii Table of Contents Supporting Mobile Devices . 369 Field Rendering Mobile Templates 374 Custom Field Editor 376 Custom Properties Persistence . 381 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 12 Event Receivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 Types of Receivers . 385 Item-Level Event Receivers 386
List
-Level Event Receivers 391 Web-Level Event Receivers 393 Workflow Event Receivers 394 E-Mail Event Receivers 395 Avoiding Event Loops . 396 Event Deployment and Binding 397 Event Synchronization 398 Event Security 400 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400 13 Document Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 Document Sets 401 Provisioning Document Sets . 403 Handling Document Sets by Code . 410 Document ID 411 Custom Document ID Provider 414 File Conversion Services . 417 Word Automation Services . 417 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422 14
Site
Templates 423 Native
Site
Definitions 424
Site
Definitions . 428
Site
Definitions with Visual Studio 431 Custom Web Templates . 439
Site
Definitions versus Web Templates 444 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .444 Download at Pin5i.Com Table of Contents xiii 15 Developing Service Applications . 445 Service Application Architecture 445 Service Application Framework 449 Creating a Service Application 449 Custom Protocol Service Application 450 Solution Outline 453 Service Application . 454 Service Application Database . 456 Service 458 Service
Instance
465 Administrative Pages 466 Service Application Deployment 467 Service Application Proxy 469 Service Application Consumer 473 Service Application Proxy Deployment 473 Final Thoughts . 474 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475 Part V Developing Workflows 16
SharePoint
Workflows Architecture 479 Workflow Foundation Overview . 479 Workflow Foundation Architecture . 479 Workflow Types . 483 Workflows Definition 484 Custom Activities 486 Workflow Execution Model . 489 Workflows in
SharePoint
489 Workflow Targets and Association 491
SharePoint
2010 Custom Activities 492 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494 17 Workflows with
SharePoint
Designer 2010 495
SharePoint
Designer 2010 Workflows 495 Workflow Designer . 496 Conditions and Actions 498 Structure of a Published Workflow 502 Download at Pin5i.Com xiv Table of Contents Designing a Workflow 502 Workflow Outline Definition . 503 Workflow Settings 507 Workflow User Experience 508 Visio 2010 Integration 510 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513 18 Workflows with Visual Studio 2010 . 515 Workflow Modeling 515 Creating the Workflow Project . 515 Workflow Outline 519 Correlation Tokens 533
Site
Workflows . 534 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534 19 Workflow Forms . 535 Management Forms 535 Association Form 537 Initiation Form . 544 Modification Form 547 Task Forms 547 Workflow Tasks 547 Forms Deployment . 553 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554 20 Advanced Workflows 555 Custom Actions and Conditions . 555 Dependency Properties . 555 Custom Actions for
SharePoint
Designer 2010 557 Custom Conditions for
SharePoint
Designer 2010 563 Workflow Event Receivers 565 Workflow Services . 566 Implementing the Service . 568 Workflow Service Deployment . 573 Communication Activities 575 Workflow Management by Code . 576 Workflow Server Object Model 576 Workflow Web Service . 579 Download at Pin5i.Com Table of Contents xv SPTimer Service and Workflows . 585 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 Part VI Security Infrastructure 21 Authentication and Authorization Infrastructure 589 Authentication Infrastructure 589 Classic Mode Authentication 590 Claims-Authentication Types . 592 Configuring FBA with SQL Membership Provider . 597 Configuring the SQL Server Database . 597 Authorization Infrastructure 603 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 22 Claims-Based Authentication and Federated Identities . 607 Claims-Based Authentication and WS-Federation 607 Implementing an STS with Windows Identity Foundation 611 Building a Security Token Service 611 Building a Relying Party 617
SharePoint
Trusted Identity Providers . 621 Trusting the IP/STS 622 Configuring the Target Web Application 625 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627 23 Code Access Security and Sandboxed Solutions . 629 Code Access Security 629 Partially Trusted ASP.NET Code 631 Sandboxed Solutions Overview 639 Sandboxed Solutions Architecture . 640 Creating a Sandboxed Solution 645 Implementing a Solution Validator 647 Full-Trust Proxies . 650 Implementing a Full-Trust Proxy 651 Registering the Full-Trust Proxy 652 Consuming the Full-Trust Proxy . 654 Sandboxed Solutions and Office 365 655 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 656 Download at Pin5i.Com xvi Table of Contents Part VII Enterprise Features 24 Programming the Search Engine . 659 Search Engine Overview for Developers . 659 Customizing and Extending the User Interface . 662 Customizing the Output via XSLT 664 Developing Custom Web Parts 668 Federation Framework . 670 Implementing a Custom Federation Provider 674 Using the Search Engine by Code 678 Federated Search Object Model 678 Query Object Model 681 Query Web Service . 684 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687 25 Business Connectivity Services 689 Overview of Business Connectivity Services . 689 Accessing a Database . 691 BDC Model File 700 Offline Capabilities 703 Accessing a WCF/SOAP Service 705 .NET Custom Model 710 Developing a Custom Model from Scratch 712 Associating Entities . 719 Programming with BCS Object Model 721 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723 Index . 725
Sharepoint
学习笔记—
Site
Definition系列--6、基于一个已经
部署
的
List
Template来创建
List
Instance
...
前面我们创建
List
Instance
与
List
Template时,它们都在一个Soltuion中,如果我们开发小组的其它成员已经开发并
部署
了某些
List
Template,而现在我们需要在我们新的Solution中使用那些已经开发好的
List
Template来创建我们的
List
Instance
,那么该如何操作呢?这里就以我们前面创建的那个自定义
List
Defintion中的L...
人工智能Python核心知识点_
list
列表
List
列表是 Python 中使用最频繁的数据类型。它是Python内置的一种数据类型,是一种有序的集合。列表可以完成大多数集合类的数据结构实现。本课程主要讲解
list
列表的特性、定义、以及字典的读取、新增、修改、删除元素、相加和数乘等知识点,学习本课程能够轻松掌握
list
列表相关知识点并灵活的运用到实际的问题中来。
Sharepoint
学习笔记—
Site
Definition系列-- 3、创建
List
Definition
创建一个
List
Definition有多条途径,这里由于我们要基于前面的用户自定义Content Type来创建一个
List
Defintion,所以我们就需要使用到
List
Definition From Content Type模板。 这里先大致描述如何创建
List
Definition,然后重点介绍一下
List
Definition里面的相关内容。 首先打开我们前面创建的Conte...
SharePoint
【
Site
Definition 系列】-- 06. 基于一个已经
部署
的
List
Template来创建
List
Instance
...
前面我们创建
List
Instance
与
List
Template时,它们都在一个Soltuion中,如果我们开发小组的其它成员已经开发并
部署
了某些
List
Template,而现在我们需要在我们新的Solution中使用那些已经开发好的
List
Template来创建我们的
List
Instance
,那么该如何操作呢?这里就以我们前面创建的那个自定义
List
Defintion中的L...
SharePoint
3,242
社区成员
4,604
社区内容
发帖
与我相关
我的任务
SharePoint
企业开发 SharePoint
复制链接
扫一扫
分享
社区描述
企业开发 SharePoint
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章