Automatically save a document template in the right Sharepoint document library#

In a lot of Sharepoint cases, there are document templates that are managed in one particular document library. For example, project document templates have to be managed at one central space, but the saved documents based on that template should be used and stored in a project site. In these cases, when opening a templates, the default "save as" location is the document library in where the template is stored, not the project document template.

This is not what we want, because the documents have to be saved in the project document library. There is a solution for this problem:

Sharepoint comes with a lot of Javascript functions that are stored in the ows.js file. One of these functions is the "createNewDocumentWithProgID" function. This function opens a document in the right program for editing (for example MS Word) and sets the saving location to the given location. So, a url like below, will solve the problem:

<a href="[target document library url]" onclick="createNewDocumentWithProgID('http://[template url]/[template filename]', makeAbsUrl('[target url]/[target filename]'), 'SharePoint.OpenDocuments', false);">Template</a>

This way, the document will be stored in the target location, with the target filename. You have to make sure of course, that the user has reading rights on the template source site. Creating a webpart that automatically loads the templates in the format above, will do the trick. The browser url will automatically become the target doucment library.

Friday, April 29, 2005 10:01:32 AM UTC #    Comments [1]  | 

 

Sharepoint - PocketPc sharepoint list Explorer#

Via Michael and Carlos 's blog: Sharepoint - PocketPc sharepoint list Explorer.

"I am making a Pocket PC application to show in the today screen the list content of some lists of my sharepoint server and update it each x minuts. Before beginning the development I have made a small example that is interesting similarity to me to place here with the source code since it can be interesant for other developers.This simple application, needs the user credentials and the direction of the web service to use, shows all lists available and later it shows the content of the list selected in a datagrid."

 

Thursday, April 28, 2005 11:35:52 AM UTC #    Comments [1]  | 

 

SharePoint Document Libraries and Property Promotion#

Daniel McPherson wrote an article about property promotion in Sharepoint document libraries, giving answers to to following questions:

  • When are properties promoted?
  • When are properties demoted?
  • What document types are supported?
  • What property types are supported?
  • Which properties are supported?
  • How are XML properties handled during "Property Promotion"?

Read full article

Wednesday, April 27, 2005 4:51:02 AM UTC #    Comments [0]  | 

 

FabriKam: A Microsoft Office System Solutions Learning Platform#

.. is available on the Microsoft site:

"In this solutions learning platform, developers at a fictitious enterprise created solutions for common business processes. FabriKam, a furniture manufacturer with about 10,000 employees, faces business problems and challenges not unlike many of today's enterprises. Starting with a set of realistic infrastructure assumptions, FabriKam developers built six solutions and four reusable components that address FabriKam's needs in innovative ways, with extensive use of Web services, XML, integration of front-end applications and back-end systems, and full use of the Office environment with which most information workers are already familiar. The FabriKam 3.1 Solutions Learning Platform represents the essence of the efforts of FabriKam developers."

FabriKam, a Microsoft Office System Solutions Learning Platform FabriKam, a Microsoft Office System Solutions Learning Platform
Read the online documentation that describes how FabriKam incorporates tools, processes, and technologies that developers can use to build powerful solutions on the Microsoft Office System. (April 2005)   

Download the FabriKam Documentation Download the FabriKam Documentation
Get a single compiled help file that features all the same documentation as the online version. (April 2005)   

Order the FabriKam Solutions Kit Order the FabriKam Solutions Kit
Order a copy of the FabriKam DVD which includes the six FabriKam solutions in a virtual PC image and technical documentation. The solutions are configured with all required software, including source code and Microsoft Visual Studio projects. In addition, this DVD includes all the development resources available in the Microsoft Office System Developer Kit 3.0. (April 2005)   

Wednesday, April 27, 2005 4:25:33 AM UTC #    Comments [0]  | 

 

[Sharepoint Tip] Excel content in Sharepoint#

There are a few ways to show Excel content in Sharepoint. One of them is creating a list in Excel and publish it to a Sharepoint list. This way, the data stays synchronized which is a nice example of Office integration. Sometimes however, this way is not statisfying because only the data is shown in Sharepoint. Other elements like layout are lost in Sharepoint. in this case there is another way to achieve Excel - Sharepoint integration.

1) First, create or upload an Excel document to a Sharepoint document library

2) And open the document to edit it

3) Then go to 'File -> Save as Web Page'. The file will now be saved as .HTM file in the same document library. Hit 'Save'

3) Now go to the Area on where you want to publish the Excel data (and layout). Choose 'Edit Page' and 'Add Webpart', 'Browse'.

4) Select the Pageviewer webpart and drag it to the page. Open the toolpane to edit the URL.

5) Change the URL to the ExcelSheet.htm file and hit OK

That's it! The Excel content is now displayed on the sharepoint Area.

 

Monday, April 25, 2005 10:39:17 AM UTC #    Comments [0]  | 

 

Sharepoint Site Permissions Manager#

Again a Sharepoint user sample on GotDotNet. A Sharepoint utility to show all portal sites, manage site users and roles globally in one common interface. This utility will will also manage Sharepoint portal areas, area users, site groups and cross site groups globally in one common interface.

Download

Monday, April 25, 2005 4:11:57 AM UTC #    Comments [0]  | 

 

More Sharepoint on GotDotNet#

On GotDotNet.com there are some new Sharepoint related user samples:

  • Document Library Explorer
    Document Library Explorer is a web part for enhancing the user interface of SharePoint document libraries. It contains a treeview for navigating folders and allows files and folders to be moved or copied using drag and drop  Update: this sample turns out to be a commercial product with an annoying "please register me" popup. By default the webpart doens't even work.
  • Infopath - Sharepoint integration
    Integration of Infopath with SharePoint
  • OWA Like Web Part for Windows SharePoint Services (WSS)
    Web part that functions like the OWA web part that comes with SPS, only this works in WSS. It doesn't require SPS, but does require Exchange 2003. Also this part is not designed to work on the Internet, only intranet.

..and some new workspaces:

Thursday, April 21, 2005 10:42:56 AM UTC #    Comments [2]  | 

 

LCS 2005 client for mobile devices#

Microsoft will release a beta version of its Microsoft Office Live Communications Server client for Microsoft Windows Mobile devices in the H2 of this year. It will support IM on Windows Mobile 5.0 devices including devices that use the Pocket PC, Pocket PC Phone Edition and Smartphone mobile operating systems.

Thursday, April 21, 2005 10:32:10 AM UTC #    Comments [0]  | 

 

Windows SharePoint Services 2.0 SP2 beta overview#

Patrick mentions that an overview of WSS 2.0 SP2 beta can be downloaded from the Microsoft site. Things improved according to this document:

  • ASP.Net 2.0 support
  • Support for IP-bound virtual servers
  • Support for advanced extranet configurations
  • Kerberos enabled by default

Read Patrick's article

Download document

Thursday, April 21, 2005 10:21:57 AM UTC #    Comments [0]  | 

 

SharePoint User Utility 2.1 is now complete#
 
"The purpose of the SharePoint User Utilities (WSSUserUtil and SPSUserUtil) is to assist SharePoint administrators with performing user maintenance activities for SharePoint Products and Technologies (which includes Windows SharePoint Services 2.0 and SharePoint Portal Server 2003)
 
New and Improved Features
New! -  100% Full Fidelity User Migrations using the new MigrateUser() APIs
 
New! - Update feature to synchronize existing SharePoint user Display Name and Email Address with current values in Active Directory, or values in mapping file
 
New! - Rich XML export of User Security settings for complete site collections in WSS and Portal Server areas
 
New! - Interface matches familiar STSADM syntax
 
New! - “Add” feature to add users en-masse to webs, entire web hierarchies, complete site collections.
 
Improved - Security Analysis
 
Improved - “Clone” account settings. (MySite relocation to new owner, alerts remapping [Both WSS and Portal])
 
Improved - Delete feature can delete users on targeted webs, or automate deletion from complete site collections based on map file."
 
Monday, April 18, 2005 9:38:39 AM UTC #    Comments [0]  | 

 

VSTO 2005 Redistributable Package Beta 2 (x86)#
VSTO2005 beta redistributable package is the most recent update to the VSTO redistributable runtime and includes everything you need to run applications developed using the .NET Framework and Microsoft Office Word 2003 and Microsoft Office Excel 2003.

Microsoft Visual Studio Tools for the Microsoft Office System is the technology that brings the power and productivity of Visual Studio .NET and the .NET Framework to business solutions built on Microsoft Word 2003, Microsoft Excel 2003 and Microsoft InfoPath 2003.

download

Office | VSTO
Monday, April 18, 2005 9:33:32 AM UTC #    Comments [0]  | 

 

Best Practices for Ensuring Application Reusability and Upgrade in WSS#

New on MSDN: Best Practices for Ensuring Application Reusability and Upgrade in WSS

"This article revisits guidelines contained in the Microsoft Windows SharePoint Services Software Development Kit (SDK), and helps you consider the kinds of code customization you should perform on front-end Web servers to make those customizations more reusable and safer when software updates, upgrades, or security updates are applied to a deployment of Windows SharePoint Services. By following SDK guidelines, and by planning ahead for the kinds of customizations you need to make, you can help protect your code and enhance the prospects of its reuse. Use custom site definitions to lay out the logic of future sites, lists, or pages, and use Web Parts or Microsoft .NET Framework controls and Microsoft .NET Web applications to implement types and members of the Windows SharePoint Services assembly."

Read full article

Monday, April 18, 2005 7:39:43 AM UTC #    Comments [0]  | 

 

Sharepoint Portal Search web service tester#

Funny how an article that has been on the net for almost a year gets so much attention... but it's certainly worth it! :)

"Instead, I created a little app specifically for this: Give it the URL of your server's search web service, enter your search terms (the keywords for a "keyword" search; the SQL full-text query SELECT statement for a "SQL Fulltext" search) and click "Execute Query" - the program goes out to your search service, registers to search, gets the list of available catalogs and search scopes, and executes your query. You can see the form the query packet takes and the results you received from that query. You also have the option of changing search settings to different limits - start at a particular record number in the results, retrieve a certain number of results, only retrieve certain types of results, etc."

Seems like a great tool, made by Travis.

Friday, April 15, 2005 10:17:38 AM UTC #    Comments [1]  | 

 

Mixed Languages in Sharepoint: the hotfix!#

Finally, with thanks to Michael for mentioning it, there is a hot fix (kb894092) for the mixed languages problem in Sharepoint when using different language packs.

"When you use impersonation in your Microsoft .NET Framework 1.1 Service Pack 1 (SP1) based application and the impersonated user account does not have permissions to access the application .config file, the application cannot load resources from satellite assemblies.

When this problem occurs, neutral resources are returned instead of the resources that are contained in the satellite assembly."

I think Mad will be glad to hear this too.

Friday, April 15, 2005 6:20:37 AM UTC #    Comments [1]  | 

 

[Sharepoint Tip] Create alerts programatically#

In some cases you want a user to automatically create alerts on particular lists, for example an action list. It's very easy to achieve that:

SPWeb thisWeb = SPControl.GetContextWeb(Context);
thisWeb.AllowUnsafeUpdates = true;    
SPList myList = thisWeb.Lists["[list name]"];
// in this case a daily alert on all list actions
thisWeb.CurrentUser.Alerts.Add( myList,SPEventType.All,SPAlertFrequency.Daily);
thisWeb.CurrentUser.Update();

The same way, alerts can be added for list items. 

Thursday, April 14, 2005 7:34:27 AM UTC #    Comments [0]  | 

 

Creating Sharepoint Keywords and Best Bets#

I've been posting about competencies, keywords and user profiles in Sharepoint a while ago and I've promised some code, so here is the "Keywords and Best Bets" part (User Profiles will follow up).

Keywords are basically just Portal Area's, so creating keywords is a matter of creating an Area in the keywords Area. This Area is a special Area and can be retrieved using the Object Model.

// Get the current portal context
Microsoft.SharePoint.Portal.Topology.TopologyManager topologyManager =
new TopologyManager();

Uri uri = "[portal url]";

PortalSiteCollection sites = topologyManager.PortalSites;

PortalContext portalContext = PortalApplication.GetContext(sites[uri]);

// Get the guid of the keyword area

Guid keywordGuid = AreaManager.GetSystemAreaGuid(portalContext, SystemArea.Keyword);

Area keywordArea = AreaManager.GetArea(portalContext, keywordGuid);

keywordArea.Areas.AddArea("[keyword]");
keywordArea.Update();
      

It's quite simple as you can see, but what about Best Bets? Keywords are just Area's in a special keyword Area, Best Bets are the Area Listings in this Area. So, creating a Best Bet is about the same code when creating Area Listings in an Area.

// Create guid array that represents the audiences
Guid[] guidAudiences = new Guid[] { new  Guid("00000000-0000-0000-0000-000000000000") };
AreaListing myListing = keywordArea.Listings.AddListing("[Title]","[Description]",ListingType.Person,"[url]",guidAudiences);

myListing.Update(ListingUpdateBehavior.SubmitToSiteRegistry);

keywordArea.Update();

        

This way you're able to create a structure of Keywords and Best Bets dynamically and have influence on the search results. In my opinion this method is quite underestimated because it can improve a lot of efficiency in Information Worker organisations.

Wednesday, April 13, 2005 7:21:41 AM UTC #    Comments [0]  | 

 

Sharepoint personalized CSS styles#

Alex talks about changing the Sharepoint Portal's background color depending on the user that is logged on. This way, each type of user gets a personalized portal style. The idea is quite simple: A control that overrules the background color style.

"The control checks the rights of the current user and sets the background color to one of the defined colors in the web.config."

A nice example of Sharepoint personlization.

Read the full article including code

Wednesday, April 13, 2005 5:18:21 AM UTC #    Comments [0]  | 

 

[Sharepoint Tip] SharePoint Configuration Analyzer for WSS#

(Re)visited via Michaels blog: It's more then a year old, in some occasions very usefull, the The SharePoint Configuration Analyzer for WSS.

SharePoint Configuration Analyzer is a diagnostic tool that verifies settings on your server that are critical to running Microsoft Windows SharePoint Services or Microsoft Office SharePoint Portal Server 2003 and to hosting Web Parts on your server. SharePoint Configuration Analyzer also reports on Web Part usage on your server and retrieves a set of log files, configuration files, and Web Part packages used by Windows SharePoint Services, SharePoint Portal Server, and Internet Information Services (IIS). In a server farm configuration, running SharePoint Configuration Analyzer on each front-end server is a useful way to find and repair inconsistencies in server configurations and to ensure that all Web Part assemblies are deployed on all front-end servers.
 

Download here

Tuesday, April 12, 2005 10:53:52 AM UTC #    Comments [0]  | 

 

SharePoint Backup & Recovery Test Plan#

Joe Shurman wrote a SharePoint Backup & Recovery Test Plan.

"The purpose of this document is to provide a test plan for Microsoft SharePoint Portal Server 2003 and Windows SharePoint Services implementation."

Tuesday, April 12, 2005 8:40:39 AM UTC #    Comments [0]  | 

 

Sharepoint analysis: WebObs 2005 #

Renaud points to a French product called WebObs 2005 which is an analysis tool for Sharepoint based on Reporting Services.

With stats in PDF, WebParts and XML this tool sounds usefull for statistics inside Sharepoint.

WebObs website

Renaud's article

Tuesday, April 12, 2005 7:18:01 AM UTC #    Comments [0]  | 

 

MCMS SharePoint List Items Placeholder#

Via The Code Project:

For use in Microsoft Content Management Server (MCMS), this custom placeholder control (WssListItemsPlaceholder) lists items in a Windows SharePoint Services (WSS) list. The list can almost be any WSS list, like Document Library, Image Library, Announcement, Events, Contacts etc.

Download

Read full article

Tuesday, April 12, 2005 6:54:56 AM UTC #    Comments [0]  | 

 

First English Sharepoint podcast#

Great work by Michael:

So finally it's done: the English SharePointPodcast

Download: SPPE-2005-04-11 (7,1 MB)

Tuesday, April 12, 2005 6:50:00 AM UTC #    Comments [0]  | 

 

Searchable Phone Directory with WSS#

Paul Schaeflein wrote an article on intranetjournal.com where he explained how to build a searchable phone directory in WSS using webpart pages, Frontpage and webpart connections. Nice article which shows how simple it is to build usefull applications for Sharepoint with external datasources.

Read the full article

Thursday, April 07, 2005 4:04:25 AM UTC #    Comments [1]  | 

 

Personalization in ASP.NET 2.0#

Mark refers to an article about personalization in ASP.Net 2.0:

  • Part 1 - article explains how to implement personalization with ASP.NET 2.0 using Membership API, Membership Providers and Membership objects. Includes setting up membership, creating a user, Web Application Administration Tool, Login and Login Status Controls, Setting Up a Role Manager and more
  • Part 2 - article explains how to implement personalization in ASP.NET 2.0 using the Profile object. It presents profiles in ASP.NET 2.0 including how to create a profile and setup a SQL Server Personalization Provider and more.
  • Part 3 - article explains the use of the new Web Parts and Web Part Manager in ASP.NET 2.0 Personalization Services.
Wednesday, April 06, 2005 4:04:44 AM UTC #    Comments [0]  | 

 

SharePoint Podcast (in English)#

Michael is making his long awaited English Sharepoint podcasts!

"Several SharePoint users have asked for an English version of my SharePointPodcast. So here we go...
Here is the
promo and the podcast will start within the next few days.
Subscribe to this feed and you will receive the first edition automaticly when it's online."

Tuesday, April 05, 2005 12:42:10 PM UTC #    Comments [0]  | 

 

Design improvements in Sharepoint V3#

Lately, we can read some information about the next version of Sharepoint. Especially Mike Fitzmaurice talks about it now and then. He points at some technical detailes like CAML, Frontpage RPC and the Sharepoint 2003 webpart compatibility. Great new of course, but I haven't heard anything yet from changes to the Sharepoint design and HTML. On this area there is a lot to achieve:

  • CSS - a proper and consistent use of CSS classes. Right now, classes are missing, used twice on different UI elements or the same UI element have different classes! It's a real mess!
  • HTML - The HTML on Sharepoint sites is nasty as well. Inconsistent use of quotes, invalid HTML and wierd constuctions. (lots of examples)
  • Design options - Right now, there are several CSS classes. Sharepoint Portal is quite easy to customize, with pointing to a custom CSS in the general property page. However, WSS sites is a totally different story. When changing the OWS.CSS, the portal inherits these changes. Themes are an option ofcourse on this one, but even then, styles are very hard to implement. Frontpage isn't an option, because it only edits one page a time, there are hunderds of underlying pages as well to edit. These pages are mostly messed up when changing the CSS files.

Of course, we've done lots of customizations, but even after all these projects styles are still an issue. So, please, make it better in v3! :) Does anyone have some info on this?

Tuesday, April 05, 2005 8:43:51 AM UTC #    Comments [0]  | 

 

SharePoint Document Recovery#

Stephane Cordonnier created a document recovery tool that is able to abstract documents directly from the database.

Great tool, read the description here (in french).

Tuesday, April 05, 2005 6:47:14 AM UTC #    Comments [0]  | 

 

Fresh new MVP's!#
Many congrats to Jan and Patrick for receiving the MVP title for Sharepoint Portal Server and for Sebastian for WSS. There is no doubt they deserve this!
Monday, April 04, 2005 6:17:08 AM UTC #    Comments [0]  | 

 

All content © 2010, Mart Muller
On this page
This site
Calendar
<July 2010>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Archives
Sitemap
Disclaimer

Powered by: newtelligence dasBlog 1.9.7174.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts