'Microsoft/SPS/MOSS'에 해당되는 글 20건

  1. 2008/06/24 Remote Web part debugging
  2. 2008/05/21 MOSS 웹파트 연결 예제
  3. 2007/11/23 MOSS2007과 Community Server 사용자 DB의 통합
  4. 2007/11/09 MOSS STSADM의 명령어 목록
  5. 2007/11/08 임지훈 - ezEKP.net 설치 및 구성 세미나
  6. 2007/10/31 MS MOSS 개발자의 버그 발견
  7. 2007/10/18 MOSS SharePoint Design CSS
  8. 2007/10/11 SmartPart MOSS Plug
  9. 2007/09/14 MOSS 데이터가 저장되는 테이블들
  10. 2007/09/13 CAML XML Editor
2008/06/24 17:33

Remote Web part debugging

http://msdn2.microsoft.com/en-us/library/ms916837.aspx


이 글은 원격 컴퓨터의 웹파트를 디버그하고 개발하는 방법을 소개합니다.

내용은 MSDN의 내용을 발췌하였습니다.


Developing and Debugging from a Remote Computer

To use a remote computer to develop and debug, follow these steps.

Note   To follow these steps, you must have a client computer running Visual Studio .NET (Computer_A) and a server computer running Windows SharePoint Services (Server_B).
  1. On Server_B, share the directory that hosts the SharePoint virtual server. By default, the Windows SharePoint Services virtual server is mapped to the following directory:

    local_drive:\InetPub\wwwroot

  2. Ensure that you have Read and Write permissions for this directory and its sub-directories.
  3. On Server_B, share the directory in which the Microsoft.SharePoint.dll file is located. By default, the Microsoft.SharePoint.dll file is located in the following directory:

    local_drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\ISAPI

  4. Make sure that you have Read permission for this directory.
  5. On Computer_A, follow these steps:
    1. Click Start, point to All Programs, point to Microsoft Visual Studio .NET, and then click Microsoft Visual Studio .NET.
    2. On the File menu in Visual Studio .NET, click Open.
    3. Browse to the Web Part project that you want to debug, and then click Open.
    4. Right-click the project name, and then click Properties.
    5. In the navigation tree, double-click Configuration Properties.
    6. Under Outputs, verify that the value for Output Path matches the following line:

      remote_drive_on_Server_B:\InetPub\WWWRoot\bin\

    7. In Windows Explorer, browse to the following folder:

      remote_drive_on_Server_B:\InetPub\WWWRoot\bin\.

    8. Double-click the Web.config file.
    9. In the Web.config file, search for the <SafeControls> tag.
    10. Verify that your assembly is listed as a Safe Control. If not, add the following line to the Safe Controls list.
      <SafeControl Assembly="assembly_name, Version=assembly_version,
      Culture=assembly_culture, PublicKeyToken=assembly_public_key_token"
      Namespace="assembly_namespace" TypeName="*" Safe="True"/>
    11. Save and close the file.
  6. On Server_B, install and configure the remote debugging services.

For more information about remote debugging, visit the following MSDN Web site: Visual Studio: Setting Up Remote Debugging.

Problems Saving Output

When you debug or modify an assembly, you may receive the following error message:

Unable to replace file_name.dll after compilation.

This behavior may occur if the W3wp.exe process locks the old copy of the assembly located in the InetPub\WWWRoot\bin directory. To resolve this issue, use Task Manager to end the W3wp.exe process, recompile the assembly, and then resume the debugging process.

Conclusion

Web Parts for Windows SharePoint Services are ASP.NET server controls. Therefore, the process for debugging Web Parts is similar to the process for debugging ASP.NET server controls.

크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/253 관련글 쓰기

2008/05/21 13:14

MOSS 웹파트 연결 예제

http://www.sharepointcustomization.com/extend.htm

Microsoft Office SharePoint Server의 개발 관련된 예제나 팁 등을 제공하고있습니다.

웹파트와 웹파트 사이의 연결(Connection, Connected Web Parts)을 이용하는 예제도 확인할 수 있습니다.

아래는 위 사이트의 원문에서 발췌해온 내용이므로 위 사이트 직접 접근하셔서 보셔도 무방하겠네요~



Demos and Presentations

Creating and Manipulating SharePoint Site Content, Structure, and Templates from Code
By putting the WSS object model to work, a great many things can be done to create and alter sites, templates, and a great many other features -- exactly the sort of thing you'd want to do if you were using SharePoint sites as your application UI.

Delivering Collaboration Services to Information Workers: Extending SharePoint w⁄ Groove
This session will provide an overview of how Groove & SharePoint work together, and the value provided to enterprise customers, including demos of Groove as an intelligent client for off-line access to SharePoint resources and secure, cross-firewall traversal. The products and technologies used will be discussed, including solution scenarios and architectural considerations. Learn how to work with Groove & SharePoint together.

More >>
 

 

Samples and Tutorials

Amazon.com Research & Reference Library- sample solution
The Amazon.com solution illustrates how the Research & Reference Library open API enables developers to offer searchable contextual data directly to users such as branded content from Amazon’s catalog of books, enabling users to find, discover, and even buy books from within the current working environment of an Office document or in a Web site.

Connected Web Parts
Demonstrates how to build Web Parts with connections (both server-side and client-side).  Connected Web Parts allow your Web Parts to interact with each other by passing data, forcing user interface changes or other interactivity in your applications.

Simple Web Part (C#)
Demonstrates how to build a simple Web Part in C#.  This Web Part is a great starting point for developers who have never built Web Parts before.

More >>
 

 

Tips and Tricks

Copying the Search Form to Custom Pages
The search form on the default page of a Windows SharePoint Services-based Web site is actually an ASP.NET control. To add this functionality to custom pages in the site, using FrontPage 2003, simply select the element and do a copy/paste in Design view to the new page. However, this will work only if certain conditions are met.

Creating a Site Context Search Box that Uses SharePoint Portal Server Search Results
Customize the Windows SharePoint Services site-level Search box to return Microsoft SharePoint Portal Server Search (SharePointPSSearch) results. This article reviews different methods you can use to modify the search capabilities of Windows SharePoint Services.

Customize Discussion Boards in FrontPage 2003
Discussion boards provide forums for site participants to converse about topics. Most Microsoft Windows® SharePoint™ Services site templates include the ability to create discussion boards, and many sites and workspace sites have a built-in discussion board called General Discussion. This article describes how to create threaded views and how to customize threaded views by using Microsoft Office FrontPage 2003 and, in some cases, by editing discussion board XML files. Enhancing the Accessibility of SharePoint Web Sites
Enhance the accessibility of SharePoint Web sites by making a few easy customizations of the site definition files in a deployment of Microsoft Windows SharePoint Services.

More >>
 

 

White papers

Add Wizard Functionality to Your Web Applications
Learn about the design and use of a framework that can be used to add Wizard-like functionality to Web applications. In addition, learn about the Wizard Control available in the upcoming version of ASP.NET, code name ASP.NET "Whidbey"; and learn how developers will be able to migrate to the new control when it is available. Download WizardAppSample.msi. Download WizardAppWhidbeySample.msi.

Add XML Functionality in Excel 2003 from Visual Basic .NET
Discover how to generate XML from a dataset, format the XML using a Stylesheet, and then use code to open the transformed XML.  

Automated Installation of SharePoint Portal Server 2003
This paper provides information about automated installation of SharePoint Portal Server 2003 by using the command line and Setup.exe with parameters. It also provides information about using a Setup.ini file to install SharePoint Portal Server 2003.

Code Sample: Create a Site Context Search Box that Uses SharePoint Portal Server Search Results
Use the search box sample to customize the Windows SharePoint Services site-level Search box to return SharePoint Portal Server Search results. Read the accompanying MSDN article for more information.

Create a JavaScript Drop-Down Menu in FrontPage
You use drop-down menus every day—but how can you create them in your own Web site? This article provides every detail you need, as well as JavaScript for three kinds of menus.

Customize List Item Forms in Windows SharePoint Services
Enhance and extend interaction with lists in Microsoft Windows SharePoint Services when customizing forms used to work with list items.

Microsoft SharePoint 2003- Object Models and SearchBeyond building Web Parts, you might want to automate or extend Microsoft Windows SharePoint Services. For example, you might want to create SharePoint lists, add items to lists, add documents to document libraries or perform document management functionality programmatically. Windows SharePoint Services has a managed object model that makes all this possible.

Microsoft SharePoint 2003-Web PartsThe most common development tasks you will perform when working with Microsoft SharePoint is creating Web Parts and working with them. Find out how to develop and use them.

Technical Guidance for Connecting Microsoft® Office SharePoint® Portal Server 2003 to mySAP™ ERP
Technical Guidance for Connecting Microsoft® Office SharePoint® Portal Server 2003 to mySAP™ ERP demonstrates how organizations can make the business information they store and manage in SAP applications available to users in an intranet portal site displayed in a Web browser

크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/324 관련글 쓰기

2007/11/23 19:19

MOSS2007과 Community Server 사용자 DB의 통합

이하 문서는 MOSS 2007과 Community Server의 사용자 DataBase를 통합하는 방법을 제공한다.

기본적으로 ASP.NET SQL Membership Provider를 이용하는 방법으로 통합을 진행한다.


http://msdn2.microsoft.com/en-us/library/bb892784.aspx

http://blogs.msdn.com/sharepoint/

http://blogs.msdn.com/sharepoint/archive/2006/08/16/702010.aspx

http://msdn2.microsoft.com/en-us/library/x28wfk74.aspx

http://msdn2.microsoft.com/en-us/library/x28wfk74.aspx

http://communityserver.org/

Integrating SharePoint Server 2007 with Community Server Membership Databases

Summary: Learn how to use Community Server accounts with SharePoint 2007 sites. This article walks through how to integrate the Community Server membership database together with the role-based security of Microsoft Office SharePoint Server 2007. (6 printed pages)

Hans Hugli, Microsoft Corporation

November 2007

Applies to: 2007 Microsoft Office System, Microsoft Office SharePoint Server 2007, Windows SharePoint Services 3.0

Contents

Business Scenario

Getting Started

Modifying ASP.NET Web.config Files

Enabling Forms-Based Authentication on Windows SharePoint Services

Adding Community Server Administrator to the SharePoint Site

Adding a Community Server Roles to SharePoint Security Groups

Conclusion

About the Author

크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/198 관련글 쓰기

2007/11/09 09:36

MOSS STSADM의 명령어 목록


STSADM 명령어 목록

http://technet2.microsoft.com/Office/en-us/library/a8ae94e2-0866-4790-a8f4-4a75de6e885b1033.mspx?mfr=true


그 중에 참조한 AddUser 명령어
http://technet2.microsoft.com/Office/f/?en-us/library/5aa833a2-fe8a-4d8c-9724-94a2ec5940bf1033.mspx

Operation name: Adduser

Description

Adds a user account to the specified site collection and assigns it to the specified group or role. Use the siteadmin parameter to register the user as the site administrator.

Syntax

stsadm -o adduser

   -url <URL name>

   -userlogin <login name>

   -useremail

   -role <role name> / -group <group name>

   -username

   [-siteadmin]

크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/187 관련글 쓰기

2007/11/08 10:17

임지훈 - ezEKP.net 설치 및 구성 세미나

장소 : 가온아이(KAONI) 회의실 1

시간 : 10시 (20분 지연)

발표자 : 임지훈

내용 : ezEKP.net 설치 및 구성 세미나

크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/185 관련글 쓰기

2007/10/31 09:21

MS MOSS 개발자의 버그 발견

MOSS의 WSS 3.0 Feature 부분에 관련된 코드를 보던 중 오타를 발견했다

오타가 난 부분은

GetProvisioinerFilePath()

이 메소드


사전을 찾아보면

Provisioiner는 없다 ;


아래는 Naver 사전검색을 통한 Provision에 관한 결과

pro·vi·sion n.
1
조항, 규정, 조관(條款)
   the provisions in a will 유언장조항
   an express provision (법적) 명문(明文)

2 (음식물 같은 필수품의) 공급, 지급, 제공;지급량 《of
   the provision of necessities 필수품공급

3 (장래대한) 준비, 예비, 설비for, against
   an educational provision 교육 설비

4 [pl.] 식량, 양식, 음료, 식료품;저장품
   lay up[in] provisions 양식저장하다

5 [pl.] (세금 신고회계상의) 유보, 공제
6 그리스도교성직 서임(敍任)
make provision 준비하다 《for
run out of[short of] provisions 식량떨어지다
vt. …에게 양식공급하다
provision·er
n. 식량 담당자
provde v.

역시 MS 개발자도 사람이다 ㅡㅡ;
크리에이티브 커먼즈 라이선스
Creative Commons License

'Microsoft > SPS/MOSS' 카테고리의 다른 글

MOSS STSADM의 명령어 목록  (0) 2007/11/09
임지훈 - ezEKP.net 설치 및 구성 세미나  (0) 2007/11/08
MS MOSS 개발자의 버그 발견  (0) 2007/10/31
MOSS 데이터가 저장되는 테이블들  (0) 2007/09/14
CAML XML Editor  (0) 2007/09/13
Moss Authentication Active directory  (0) 2007/09/12
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/177 관련글 쓰기

2007/10/18 11:05

MOSS SharePoint Design CSS

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.
2007/10/11 10:12

SmartPart MOSS Plug

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.
2007/09/14 21:47

MOSS 데이터가 저장되는 테이블들

MOSS 데이터가 저장되는 데이터 베이스 테이블들
http://msdn2.microsoft.com/en-us/library/aa185404.aspx
크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/166 관련글 쓰기

2007/09/13 15:47

CAML XML Editor

http://www.ideseg.com/SharePointCAMLEditorV000.aspx

CAML XML Editor

넘 복잡한 WSS CAML ㅡㅡ;

이걸로 조금은 편해지려나 된장...






MOSS 개발자들에 힘을~!! ㅋㅋ




PS. 요건 다른..


http://www.ideseg.com/SharePointYetAnotherCAMLQueryTool2.aspx

WHERE ((Column1 = "Value1") AND (Column2 = "Value2")) OR ((Column3 = 10)
AND (Column3 <> NULL)) GROUPBY Column1 ORDERBY Column1, Column2 ASC, Column3 DESC

Also, you can use ==  for equal and != for not equal  and && for and, or, || for or (it's a c# goodie)

The CAML result code

<Query>
  <Where>
    <Or>
      <And>
        <Eq>
          <FieldRef Name="Column1" />
          <Value Type="Text">Value1</Value>
        </Eq>
        <Eq>
          <FieldRef Name="Column2" />
          <Value Type="Text">Value2</Value>
        </Eq>
      </And>
      <And>
        <Eq>
          <FieldRef Name="Column3" />
          <Value Type="Integer">10</Value>
        </Eq>
        <IsNotNull>
          <FieldRef Name="Column3" />
        </IsNotNull>
      </And>
    </Or>
  </Where>
  <GroupBy>
    <FieldRef Name="Column1" />
  </GroupBy>
  <OrderBy>
    <FieldRef Name="Column1" />
    <FieldRef Name="Column2" Ascending="True" />
    <FieldRef Name="Column3" Ascending="False" />
  </OrderBy>
</Query>

Also you can add the assembly (IdeSeg.SharePoint.Caml.QueryParse) in your projects

using IdeSeg.SharePoint.Caml.ParseQuery;
 
string query = "where Campo1=10 && campo2=\"Test\" and campo3=#01/01/2007# order Campo3";
try
{
    string xmlQuery = CAMLParser.Query(query);        
}
catch (ParserException ex)
{
    statusError = ex.Message;
}  










 
크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 0 Comment 0

Trackback : http://i-ruru.com/trackback/165 관련글 쓰기