BreakRoleInheritance and AllowUnsafeUpdates:
"BreakRoleInheritance and AllowUnsafeUpdates
Posted at 2008-11-13 10:21 by Wictor Wilén in SharePoint with 1 comments.
I have just struggled a while with a SharePoint Web Part that constantly threw an error, see below. This Web Part is creating a SharePoint list when it is first loaded by a user and it should create a list with permissions so that only the user has access to it (i.e. a personal list). This is done by breaking the role inheritance of the list using BreakRoleInheritance(false), so that no inherited roles are copied. I’ve used the method for this previously in the solution, but then this was done on a POST request and now it should do almost the same during a GET request, that is when the user navigates to the page."
Friday, November 5, 2010
Thursday, November 4, 2010
Step by Step Tutorial. Creating Workflows for Windows Sharepoint Services and MOSS2007 (part 1/20). « Serge Luca's Blog (Sharepoint MVP)
Step by Step Tutorial. Creating Workflows for Windows Sharepoint Services and MOSS2007 (part 1/20). « Serge Luca's Blog (Sharepoint MVP): "Step by Step Tutorial. Creating Workflows for Windows Sharepoint Services and MOSS2007 (part 1/20)."
Wednesday, November 3, 2010
How to override or customize the Sharepoint SaveButton? - murugangs
How to override or customize the Sharepoint SaveButton? - murugangs: "How to override or customize the Sharepoint SaveButton?
The SDK documentation explains here [1] how to override the ListFiledIterator to a Document Library by changing the template. I need to change the Sharepoint SaveButton so that I can do some additional task after or before saving.
These are the steps I followed to do this:
Create a custom type inheriting from Sharepoint SaveButton.
Override the protected SaveItem method, and do the custom code which you want.
Create a Control Template, which overrides the default Sharepoint default implementation (here was I spent lots of my time to figure it out to achieve this)"
The SDK documentation explains here [1] how to override the ListFiledIterator to a Document Library by changing the template. I need to change the Sharepoint SaveButton so that I can do some additional task after or before saving.
These are the steps I followed to do this:
Create a custom type inheriting from Sharepoint SaveButton.
Override the protected SaveItem method, and do the custom code which you want.
Create a Control Template, which overrides the default Sharepoint default implementation (here was I spent lots of my time to figure it out to achieve this)"
How To: Choose between InfoPath Browser Forms and Custom ASPX Forms « Share Notes – All about Sharepoint Office System, .Net
How To: Choose between InfoPath Browser Forms and Custom ASPX Forms « Share Notes – All about Sharepoint Office System, .Net: "How To: Choose between InfoPath Browser Forms and Custom ASPX Forms
- Sent using Google Toolbar"
- Sent using Google Toolbar"
Creating Application Pages for SharePoint
Creating Application Pages for SharePoint: "Creating Application Pages for SharePoint
Visual Studio 2010
An application page is an ASP.NET Web page that is designed for use in a SharePoint Web site. Application pages are a specialized type of ASP.NET page. The primary difference between an application page and a standard ASP.NET page is that an application page contains content that is merged with a SharePoint master page. A master page enables application pages to share the same appearance and behavior as other pages on a site.
Visual Studio enables you to design application pages by using a designer. The designer displays a content area for each content placeholder that is defined in a master page. You can design the application page by dragging controls to these content areas.
- Sent using Google Toolbar"
Visual Studio 2010
An application page is an ASP.NET Web page that is designed for use in a SharePoint Web site. Application pages are a specialized type of ASP.NET page. The primary difference between an application page and a standard ASP.NET page is that an application page contains content that is merged with a SharePoint master page. A master page enables application pages to share the same appearance and behavior as other pages on a site.
Visual Studio enables you to design application pages by using a designer. The designer displays a content area for each content placeholder that is defined in a master page. You can design the application page by dragging controls to these content areas.
- Sent using Google Toolbar"
A Quicker Way to Create Custom SharePoint List Templates
A Quicker Way to Create Custom SharePoint List Templates: "A Quicker Way to Create Custom SharePoint List Templates
Ever tried to create a custom list template for a SharePoint 3.0-based site? Something you thought was likely to be not such a big task quickly turned in to a nightmare of XML and GUIDs, right? Creating custom list templates is not a trivial task... nor is it a terribly good story. It's pretty darn complicated and can be quite an undertaking. In fact, last year when Rob Bogue, Paul Andrew and I were coming up with the content ideas and reviewing the labs/webcasts for the Introduction to SharePoint for ASP.NET Developers campaign, one thing Rob and I were adamant about was zero coverage of list definitions/templates and site definitions/templates. Why? The goal was to bring ASP2 developers to the platform... not send them running away! These things are nasty and scary… avoid them at all costs… unless if you simplify things…
- Sent using Google Toolbar"
Ever tried to create a custom list template for a SharePoint 3.0-based site? Something you thought was likely to be not such a big task quickly turned in to a nightmare of XML and GUIDs, right? Creating custom list templates is not a trivial task... nor is it a terribly good story. It's pretty darn complicated and can be quite an undertaking. In fact, last year when Rob Bogue, Paul Andrew and I were coming up with the content ideas and reviewing the labs/webcasts for the Introduction to SharePoint for ASP.NET Developers campaign, one thing Rob and I were adamant about was zero coverage of list definitions/templates and site definitions/templates. Why? The goal was to bring ASP2 developers to the platform... not send them running away! These things are nasty and scary… avoid them at all costs… unless if you simplify things…
- Sent using Google Toolbar"
How to: Add a Content Type to a List
How to: Add a Content Type to a List: "How to: Add a Content Type to a List
SharePoint 2010
Other Versions
* Windows SharePoint Services 3
Published: May 2010
You can reference content types in the XML for a list definition, so that each time a user creates a list of that type, Microsoft SharePoint Foundation 2010 includes the content type on the list by default. You can also add content types to an existing list by writing code that uses the SharePoint Foundation object model.
- Sent using Google Toolbar"
SharePoint 2010
Other Versions
* Windows SharePoint Services 3
Published: May 2010
You can reference content types in the XML for a list definition, so that each time a user creates a list of that type, Microsoft SharePoint Foundation 2010 includes the content type on the list by default. You can also add content types to an existing list by writing code that uses the SharePoint Foundation object model.
- Sent using Google Toolbar"
How SharePoint Forms Work
How SharePoint Forms Work: "How SharePoint Forms Work
SharePoint 2010
Other Versions
* Windows SharePoint Services 3
Published: May 2010
Each list type generally has a set of display, edit, and new form ASPX pages (DispForm.aspx, EditForm.aspx, and NewForm.aspx) that are provisioned when lists are provisioned. These ASPX pages are provisioned into the “content space.” In other words, they are not located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS, and they do not operate through the /_layouts virtual directory. For document libraries, these pages are instead provisioned within a hidden subfolder of the list called forms. For other SharePoint lists, the pages are provisioned under the list root folder. Each of these ASPX pages contains a Microsoft.SharePoint.WebPartPages.ListFormWebPart object that serves to render the form.
Microsoft SharePoint Foundation 2010 uses Microsoft ASP.NET to display forms. Each form logically consists of a set of controls (for example, a control for the toolbar). A special control called an iterator (Microsoft.SharePoint.WebControls.ListFieldIterator) is used to iterate the collection of list fields and add each field to the form.
- Sent using Google Toolbar"
SharePoint 2010
Other Versions
* Windows SharePoint Services 3
Published: May 2010
Each list type generally has a set of display, edit, and new form ASPX pages (DispForm.aspx, EditForm.aspx, and NewForm.aspx) that are provisioned when lists are provisioned. These ASPX pages are provisioned into the “content space.” In other words, they are not located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS, and they do not operate through the /_layouts virtual directory. For document libraries, these pages are instead provisioned within a hidden subfolder of the list called forms. For other SharePoint lists, the pages are provisioned under the list root folder. Each of these ASPX pages contains a Microsoft.SharePoint.WebPartPages.ListFormWebPart object that serves to render the form.
Microsoft SharePoint Foundation 2010 uses Microsoft ASP.NET to display forms. Each form logically consists of a set of controls (for example, a control for the toolbar). A special control called an iterator (Microsoft.SharePoint.WebControls.ListFieldIterator) is used to iterate the collection of list fields and add each field to the form.
- Sent using Google Toolbar"
Creating Custom Form Templates
Creating Custom Form Templates: "Creating Custom Form Templates
SharePoint 2010
Other Versions
* Windows SharePoint Services 3
Published: May 2010
The Microsoft ASP.NET control templates that are defined in the DefaultTemplates.ascx file at %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES\ determine the layout of Microsoft SharePoint Foundation 2010 list item forms. These templates can nest controls that in turn use more control templates for form layout definition. The controls can contain HTML markup and Web controls, but not data-bound statements involving <%#...%> syntax. To override a default control template globally on a front-end Web server, you can add a custom .ascx file to the \CONTROLTEMPLATES directory with a control template identifier (ID) that matches the ID of the existing one in the DefaultTemplates.ascx file. For information about how to create a user control in Miiicrosoft Visual Studio, see How to: Create a User Control for a SharePoint Application Page or Web Part.
- Sent using Google Toolbar"
SharePoint 2010
Other Versions
* Windows SharePoint Services 3
Published: May 2010
The Microsoft ASP.NET control templates that are defined in the DefaultTemplates.ascx file at %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES\ determine the layout of Microsoft SharePoint Foundation 2010 list item forms. These templates can nest controls that in turn use more control templates for form layout definition. The controls can contain HTML markup and Web controls, but not data-bound statements involving <%#...%> syntax. To override a default control template globally on a front-end Web server, you can add a custom .ascx file to the \CONTROLTEMPLATES directory with a control template identifier (ID) that matches the ID of the existing one in the DefaultTemplates.ascx file. For information about how to create a user control in Miiicrosoft Visual Studio, see How to: Create a User Control for a SharePoint Application Page or Web Part.
- Sent using Google Toolbar"
Creating Custom Form Templates (на английском языке)
Creating Custom Form Templates (на английском языке): "Creating Custom Form Templates (на английском языке)
SharePoint 2010
Другие версии
* Windows SharePoint Services 3
[Данная документация является предварительной и может быть изменена. Статья может содержать ссылку на английский вариант.]
The Microsoft ASP.NET control templates that are defined in the DefaultTemplates.ascx file at %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES\ determine the layout of Microsoft SharePoint Foundation 2010 list item forms. These templates can nest controls that in turn use more control templates for form layout definition. The controls can contain HTML markup and Web controls, but not data-bound statements involving <%#...%> syntax. To override a default control template globally on a front-end Web server, you can add a custom .ascx file to the \CONTROLTEMPLATES directory with a control template identifier (ID) that matches the ID of the existing one in the DefaultTemplates.ascx file.
- Sent using Google Toolbar"
SharePoint 2010
Другие версии
* Windows SharePoint Services 3
[Данная документация является предварительной и может быть изменена. Статья может содержать ссылку на английский вариант.]
The Microsoft ASP.NET control templates that are defined in the DefaultTemplates.ascx file at %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES\ determine the layout of Microsoft SharePoint Foundation 2010 list item forms. These templates can nest controls that in turn use more control templates for form layout definition. The controls can contain HTML markup and Web controls, but not data-bound statements involving <%#...%> syntax. To override a default control template globally on a front-end Web server, you can add a custom .ascx file to the \CONTROLTEMPLATES directory with a control template identifier (ID) that matches the ID of the existing one in the DefaultTemplates.ascx file.
- Sent using Google Toolbar"
Creating Custom List Forms for Creating, Editing, or Displaying a List Item - Becky Bertram's Blog
Creating Custom List Forms for Creating, Editing, or Displaying a List Item - Becky Bertram's Blog: "Creating Custom List Forms for Creating, Editing, or Displaying a List Item
- Sent using Google Toolbar"
- Sent using Google Toolbar"
Creating a Custom List Definition based on a Generic List using a Custom Content Type « Karine Bosch’s Blog
Creating a Custom List Definition based on a Generic List using a Custom Content Type « Karine Bosch’s Blog: "Creating a Custom List Definition based on a Generic List using a Custom Content Type
- Sent using Google Toolbar"
- Sent using Google Toolbar"
Tuesday, November 2, 2010
Lotus Notes to SharePoint 2010 migration with automated legacy content migration software tool
Lotus Notes to SharePoint 2010 migration with automated legacy content migration software tool: "Lotus Notes to SharePoint Server 2010 Migration Services
- Sent using Google Toolbar"
- Sent using Google Toolbar"
Lotus Notes to SharePoint 2010 migration with automated legacy content migration software tool
Lotus Notes to SharePoint 2010 migration with automated legacy content migration software tool: "Lotus Notes to SharePoint Server 2010 Migration Services
- Sent using Google Toolbar"
- Sent using Google Toolbar"
Subscribe to:
Posts (Atom)