5/07/2008

SharePoint: Create a What's New web part for a library or list (with no programming!)

Using Sort, Limit and Expand Folders is a great way create a "what's new" web part.
  1. Add a web part to the page for the list or library
  2. From the web part's dropdown menu select "Modify Shared Web Part" and from the properties panel click the "Edit the current view" (just below the "Selected View" dropdown)
  3. In the Sort section select "Modified" and "descending"
  4. Expand Folders and select "Show all items without folders" to show all of the documents in the library in a single list
  5. Expand "Item Limit" and enter the number of items to display
  6. Optionally select what to do if there are more than that number of items:
    • select "Display items in batches" so the users can click next / previous links to page through the data, or
    • select "Limit" to display just xx number of items and then display a More link to take the user to the library's page
  7. Click OK to save the view and click OK to update the web part.

4/12/2008

SharePoint: Turn on more accessible mode???

Try this!

  • Go to a SharePoint page using a default master page, your own or a site such as http://www.wssdemo.com/.
  • Click as close to the top left corner of the page as possible (just in front of the crumb trail)
  • Press Tab - you should now see "Turn off more accessible mode" (if this is does not work, experiment with several tabs or shift-tabs)

What this is supposed to do is change how some navigation controls work. For example, if you are on your own site that has a Welcome menu, click the menu. Instead of a dropdown you will get a new window with all of the choices displayed. If you are testing this with the WSSDEMO site then display a page with a list or library that has an Action menu. Then turn "more accessible" on and click the Action menu. (you may get a warning from your popup blocker)

For more information on accessibility see: Microsoft Active Accessibility (MSAA).

For a great blog article on MOSS accessibility go here: http://www.21apps.com/2007/03/sharepoint-accessibility-is-moss-2007_4974.html

4/02/2008

SharePoint: Web part for a document library folder?

The following is one way to display the folder from a SharePoint library as a web part. While there are other approaches, the goal of the following approach to create this folder display with no code, no custom web parts, no access to the servers and no custom XML or HTML. This approach uses SharePoint Designer to create a new page with a single web part to display the folder. The challenge is not the web part, but displaying just a single folder out of the list. Once the new page has been created you can navigate to the folder and the copy the URL for this page and then use it to display the page in a Page Viewer web part. It of course would be ideal if the library's web part properties included a way to filter by URL or folder.

 

Create a View

  • Go to your document library (Example: Shared Documents)
  • Click Settings menu and select Create View
  • Click Standard View
  • Give the view a name (Example: Folder View)
  • Pick the columns to display - Type (icon linked to document) - Name (linked to document with edit menu)
  • Limit the number of items displayed by expanding "Item Limit" (Example: 10)
  • Click OK to create the view
Add a web part so we can have something to copy to our new page
  • Click Site Actions and Edit Page
  • Click Add a Web Part
  • Add the web part for your library (Example: Shared Documents)
  • From the web part's Edit menu select Modify Shared Web Part
  • Make these changes:
    • Select your newly created view
    • Change the Toolbar Type to None (unless you want the tool bar displayed - for exmple, to allow uploads)
    • Expand Appearance and
    • change Chrome Type to None
  • Click OK
Create the page to display the list
  • Open SharePoint Designer and open your site
  • Scroll down and double-click default.aspx to open your home page - make sure you are displaying the page in Design view (tabs at the bottom of the edit screen)
  • Click the web part that's displaying your new view, right-click and select Copy
  • Click File, New and select ASPX page
  • Rename the page to a useful name such as SharedDocumentsFolderView.aspx
  • Double-click the new page to open it in the editor - make sure you are displaying the page in Design view (tabs at the bottom of the edit screen)
  • Click in the form box and then right-click and select Paste
  • Click File, Save (you can close SharePoint Designer now)
Get the URL to the folder
  • Open a new browser and navigation to the new page. Probably something like: http://moss.litwareinc.com/sites/testsite/SharedDocumentsFolderView.aspx
  • Click on the folder you want displayed. The URL will now look something like:
    http://moss.litwareinc.com/sites/testsite/SharedDocumentsFolderView.aspx?RootFolder=%2fsites%2ftest%2fShared%20Documents%2fsub1 &FolderCTID=&View=%7bE0AECBEA%2d20BB%2d4BC3%2d98BC%2dE65D4ADB9DB1%7d
  • Copy this URL
Add the web part to your home page
  • Return to a browser and display your web site's home page
  • Click Site Actions and Edit Page
  • Delete the web part you added earlier for your library
  • Click Add a Web Part
  • Add the Page Viewer web part
  • From this web part click Edit Shared Web Part
  • Paste the URL to your new custom page in the Link box
  • Change any other properties needed. Most likely are:
    • Appearance -> Title Appearance -> Chrome Type
    • Appearance -> Height Appearance -> Width
    • Advanced -> Title Url (most likely a link to the full library)
    • Advanced -> Description
  • Click OK

3/28/2008

SharePoint: Site Collection Administrator vs Site Owner (Full Control)

Updated 6/24/09

 

The words “administrator” and “owner” are a problem in SharePoint due to multiple “official” and “common” uses.

  • SharePoint Server (system?) Administrator – responsible for the physical servers, software installation, backup, etc.
  • SharePoint Site Collection Administrator – the user responsible for the entire site collection, has access to Site Collection wide features in several places including Site Settings, typically is the person responsible for a department or a group’s entire site collection.
  • SharePoint Site Owner – a user with “full control” rights to a single site, it’s lists, libraries and content, and any sub sites and workspaces created below it.  I.e. responsible for a “branch” of a site collection. 

Here's a list of what the Site Collection Administrator can see that the Site Owner (Full Control user) can not:

Site Actions -> Site Settings

-- Users and Permissions

---- Site collection administrators (only an option when at a top level site)

-- Galleries
---- Workflows

-- Site Administration
---- Content and structure logs

-- The entire Site Collection Administration column is missing
(which also means that the full control user can't access the 2nd level Recycle Bin)


And interestingly enough... we don't trust the Full Control user with all of these features, but they can delete the site!

 

Here’s the Site Actions –> Site Settings screens…

 

For the Site Collection Administrator, at a top level site:

(Circled items are not available to the Site Owner)

image

 

For the Site Owner, at a top level site:

image

 

For the Site Owner, at a sub site you will be missing “Save site as template” and many of the Galleries items:

image

 

For sub sites both the Site Collection Administrator and the Site Owner the Galleries column is reduced to these choices.

image

 

Also, the “Site collection administrators” link is only available at the top level site.

image

 

.

3/24/2008

SharePoint Articles

 

I have been a bit slow updating this index page, so you may want to take a look at the RSS feed to find the most recent articles:  http://feeds2.feedburner.com/TechTrainingNotes



User Group? Cincinnati SharePoint User Group

 


Articles and links for:


And for everyone:


For Site Owners and Site Collection Administrators 


How To's and Tips My (old) collections of web resource links

For Server Admins



How To's and Tips
Other SharePoint Tools and Add-Ins
My collections of web resource links

For Developers


How To's and Tips
My collections of web resource links


For Customizers 

How To's and Tips





Old Stuff:

3/16/2008

Performance Point links

PerformancePoint Marketing Site: http://www.microsoft.com/business/performancepoint/ PerformancePoint Server Product Site: http://www.microsoft.com/bi/products/performancepoint-overview.aspx Microsoft TechNet PerformancePoint Server Webcasts Budgeting with Microsoft Office PerformancePoint Server 2007 <http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&EventID=1032355767&CountryCode=US> Revenue Forecasting with PerformancePoint Server 2007 <http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&EventID=1032355959&CountryCode=US> Strategic Planning and Scorecarding with PerformancePoint Server 2007 <http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032355970&EventCategory=4&culture=en-US&CountryCode=US> Links to ReadMe, Training and other Useful Information: http://office.microsoft.com/en-us/performancepoint/FX102380591033.aspx?ofcresset=1 PerformancePoint Server Solution Center: http://support.microsoft.com/ph/12922 PerformancePoint Server Documentation, White Paper and Technical Center: http://technet.microsoft.com/en-us/office/performancepoint/default.aspx PerformancePoint Server Developer Portal: http://msdn2.microsoft.com/en-us/office/bb660518.aspx Evaluation Edition on Microsoft Download Center for everyone:(Parent link: http://www.microsoft.com/downloads/Browse.aspx?displaylang=en&productID=F52B1E9C-E169-4654-9A83-14A58A51C275)· PerformancePoint Server 2007 Evaluation Version (x86) o http://www.microsoft.com/downloads/details.aspx?FamilyId=6372C24F-67DD-42DD-B034-748907B23420&displaylang=en · PerformancePoint Server 2007 Evaluation Version (x64) o http://www.microsoft.com/downloads/details.aspx?FamilyId=3ADAC793-DEF0-4BA8-A9AB-228979B8DB40&displaylang=en PerformancePoint Blog Sites:The Microsoft PerformancePoint Team Blog: http://blogs.msdn.com/performancepoint/default.aspx Kevin White’s PerformancePoint Server 2007 Blog: http://blogs.msdn.com/kevinwhite/default.aspx PerformancePoint Server MSDN Forum: http://forums.microsoft.com/TechNet/default.aspx?ForumGroupID=517&SiteID=17

3/08/2008

links for spa401

Here are some additional web resources for the MX-SPA401 class: Service Pack 1
    WSS http://support.microsoft.com/kb/841876 MOSS http://support.microsoft.com/kb/936984 How to deploy: http://msmvps.com/blogs/shane/archive/2007/12/14/how-to-install-wss-and-moss-sp1.aspx
    Microsoft's page for SP1 slipstreaming... Create an installation source that includes software updates (MOSS)http://technet.microsoft.com/en-us/library/cc261890.aspx
Version numbers: 12.0.0.4518 - RTM 12.0.0.6036 - Aug 24th Hotfix 12.0.0.6039 - Oct 9th Hotfix 12.0.0.6219 - SP1 12.0.0.6300 - SP1 with Security Hotfix More version number info, including database versions http://blogs.msdn.com/shaden/archive/2008/01/10/migrated-to-sp1-checking-your-database-schema-version.aspx Kerberos Authentication:
    Kerberos Authentication in Windows Server 2003 http://www.microsoft.com/windowsserver2003/technologies/security/kerberos/default.mspx Configuring Kerberos for SharePoint 2007: Part 1 - Base Configuration for SharePoint http://blogs.msdn.com/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx
    Configuring Kerberos for SharePoint 2007: Part 2 - Excel Services and SQL Analysis Services http://blogs.msdn.com/martinkearn/archive/2007/04/27/configuring-kerberos-for-sharepoint-2007-part-2-excel-services-and-sql-analysis-services.aspx Microsoft KB article: http://support.microsoft.com/?kbid=832769
    NTLM v Kerberos in SharePoint 2007 http://ablog.apress.com/?p=1127
    Enterprise Portal Kerberos Delegation for connecting to Reporting/Analysis Services on a different box http://blogs.msdn.com/solutions/archive/2008/02/28/enterprise-portal-kerberos-delegation-for-connecting-to-reporting-analysis-services-on-a-different-box.aspx
    SETSPN http://technet2.microsoft.com/WindowsServer/en/Library/b3a029a1-7ff0-4f6f-87d2-f2e70294a5761033.mspx?mfr=true
The base accounts needed for SharePoint MOSS http://blogs.msdn.com/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx The WAMREG fix (event log DCOM 10016 errors) http://soerennielsen.wordpress.com/2007/04/16/fixing-those-pesky-dcom-event-log-error-10016-in-a-sharepoint-farm-environment/ and here: http://www.harbar.net/archive/2007/04/04/Pesky-DCOM-10016-Errors.aspx Installing SharePoint on Server 2008 http://blogs.msdn.com/sharepoint/archive/2008/01/16/windows-server-2008-and-sharepoint-resources.aspx Farm Scaling Information Estimate performance and capacity requirements for portal collaboration environments http://technet2.microsoft.com/Office/en-us/library/a76963dc-1cd0-4aff-ae9c-3736d89c42441033.mspx Estimate performance and capacity requirements for search environments http://technet.microsoft.com/en-us/library/cc262574.aspx Determine resource requirements to support Excel Services http://technet.microsoft.com/en-us/library/cc263500.aspx Accounts needed for MOSS http://technet.microsoft.com/en-us/library/cc263445.aspx Accounts needed for WSS http://technet2.microsoft.com/windowsserver/WSS/en/library/89e4c579-5720-45e0-917e-abeb95266c3e1033.mspx Information Rights Management RMS: http://www.microsoft.com/windowsserver2003/technologies/rightsmgmt/default.mspx IRM in SharePoint Overview: http://msdn2.microsoft.com/en-us/library/ms458245.aspx Optimizing Microsoft - http://technet2.microsoft.com/Office/en-us/library/6a13cd9f-4b44-40d6-85aa-c70a8e5c34fe1033.mspx?mfr=true HP Paper - http://www.hp.com/solutions/activeanswers/sharepoint Intel Paper - http://technet2.microsoft.com/windowsserver/WSS/en/library/75e692ce-4bba-46c3-951d-e1d9325329821033.mspx?mfr=true Working with large lists - http://go.microsoft.com/fwlink/?LinkId=95450&clcid=0x409 Software Boundaries: Microsoft - http://technet2.microsoft.com/Office/en-us/library/6a13cd9f-4b44-40d6-85aa-c70a8e5c34fe1033.mspx?mfr=true Usage Profiles: TechNet - http://technet2.microsoft.com/Office/en-us/library/054526b9-417e-4140-b251-79b68e771c9a1033.mspx?mfr=true Estimate performance and capacity: http://technet2.microsoft.com/Office/en-us/library/0a7b2b45-f633-46d2-a4fd-78691d4b8f631033.mspx?mfr=true Output caching: http://msdn2.microsoft.com/en-us/library/aa661294.aspxhttp://msdn2.microsoft.com/en-us/library/aa622758.aspxhttp://msdn2.microsoft.com/en-us/library/aa604896.aspx Backup and DR: What to backup:http://technet.microsoft.com/en-us/library/cc261903.aspx Joel Oleson: SharePoint Backup Restore, High Availability, and Disaster Recovery http://blogs.msdn.com/joelo/archive/2007/03/09/sharepoint-backup-restore-high-availability-and-disaster-recovery.aspx Joel Oleson: Relationship between the IIS Metabase and SharePoint Configuration Databasehttp://blogs.msdn.com/joelo/archive/2007/01/02/relationship-between-the-iis-metabase-and-sharepoint-configuration-database.aspx Module 1: Need help choosing what version is right for you? Web Version - http://office.microsoft.com/en-us/sharepointtechnology/FX101758691033.aspx Excel Version - http://office.microsoft.com/en-us/sharepointserver/HA101978031033.aspx Detailed Licensing http://office.microsoft.com/en-us/sharepointserver/FX101865111033.aspx Retail Pricing http://office.microsoft.com/en-us/sharepointserver/FX102176831033.aspx Forms Server 2007http://office.microsoft.com/en-us/formsserver/FX100490391033.aspx Public Sharepoint Sites: http://www.wssdemo.com/ SharePoint and Windows Server 2008 http://blogs.msdn.com/sharepoint/archive/2008/01/16/windows-server-2008-and-sharepoint-resources.aspx Basic requirements information for MOSS http://technet2.microsoft.com/Office/en-us/library/4d88c402-24f2-449b-86a6-6e7afcfec0cd1033.mspx?mfr=true Basic requirements information for WSS http://technet2.microsoft.com/windowsserver/WSS/en/library/dcdb7f80-5d48-4b7c-9cb5-affa5f2936531033.mspx?mfr=true SharePoint V-next!Office 2007 is version 12, next will be version 14 (scared of v13?)(see http://en.wikipedia.org/wiki/Microsoft_Office_14) For more information and step by step for configuring Incoming email with Exchange 2003 or Exchange 2007 check out http://www.combined-knowledge.com/Downloads%202007.htm More details about Incoming Email feature http://technet2.microsoft.com/windowsserver/WSS/en/library/ac36dcfa-d3ac-4269-934d-4e52a1df5e141033.mspx?mfr=true Module 2: Web Front End servers: http://technet2.microsoft.com/Office/en-us/library/a76963dc-1cd0-4aff-ae9c-3736d89c42441033.mspx Indexing http://technet2.microsoft.com/Office/en-us/library/5465aa2b-aec3-4b87-bce0-8601ff20615e1033.mspx Query: http://technet2.microsoft.com/Office/en-us/library/5465aa2b-aec3-4b87-bce0-8601ff20615e1033.mspx?mfr=true Excel Services: http://technet2.microsoft.com/Office/en-us/library/fb6928ce-49f8-492a-abff-5bd00ed588e21033.mspx?mfr=true SharePoint accounts: http://technet2.microsoft.com/Office/en-us/library/f07768d4-ca37-447a-a056-1a67d93ef5401033.mspx?mfr=true WSS Only? http://technet2.microsoft.com/WindowsServer/WSS/en/library/89e4c579-5720-45e0-917e-abeb95266c3e1033.mspx SP1: http://msmvps.com/blogs/shane/archive/2007/12/14/how-to-install-wss-and-moss-sp1.aspx Create an installation source that includes software updates (MOSS)http://technet.microsoft.com/en-us/library/cc261890.aspx

2/26/2008

SharePoint: If I had written SharePoint.......

We all have our gripe list, and I know SharePoint was created by a very large team, but .... I just have a short list of what I would have changed:

  • Calendars: when you enter a start date, automatically set the end date to match. This is always needed for one day meetings.
  • Calendars: I would have name the "Current Events" view something meaningful. To me "current" means today, this week, this month or some time frame. This view expands all recurring events and probably should have been named "Detailed event view".
  • Calendars: I would have put the All Day and Recurring checkboxes above date and time fields so users would not start to enter these and then find them gone after clicking the check boxes.
  • Make all the buttons consistent!!! Is the OK button at the top of the page, at the bottom, both or in the toolbar? Is it called OK, Save or Save and Exit???
  • Make the Delete and Remove buttons consitent and in places considered good user interface design! Too often you find these buttons: Delete, OK, Cancel all together, and your first instinct is to click the first button.
  • Wiki's would have had an Actions menu without having to click the out of sight (bottom of page) "View all pages" link. Wikis would also add "this list" to the search scopes dropdown without having to first click "View all pages".
  • The "Edit Item" button in Welcome, My Settings (userdisp.aspx) would let the user edit something, anything! (They can only update their profiles if My Sites is enabled, and a lot of companies have disabled My Sites until they figure out how to manage My Sites! [the first user who creates a "football betting pool" subsite under their My Site kills My Sites for everyone!])
  • Publishing and non-publishing features would be more consistent. Why do you have a "Navigation" option in a Team Site under a publishing site and "Top Links" and "Quick Launch" in a Team Site under a non-publishing site. (everyone wants dropdowns in the tabs, but can only get them with the "Navigation" option!!!)
  • I would have provided dropdown menus in the Top Link tabs to both WSS and MOSS Publishing users.
  • Site vs Site Collection vs Web? I would have used consistent naming of SharePoint sites in both Central Administration and the developer's API. (A single site is sometimes called a Site and sometimes a Web. A site collection is sometimes called a Site and sometimes a Site Collection)
  • The default view in Discussions would have been Threaded, not Flat.
  • Grouping in views would support more than two levels.
  • SharePoint Designer would be fast!!! (I can dream can't I?)
  • The Help files would be more helpful.

SharePoint: Using the Calendar to Schedule Meeting Rooms (multiple fields in a month view)

This is not a complete way to manage meeting rooms, but a tip on displaying multiple fields in a SharePoint Calendar view. In particular, you might want to see both the Location (Room 6B) and the meeting title (Staff Meeting) in the month view of the calendar. When displaying a Calendar in Month view you can only display the time (unchangeable) and a single field (your choice). To display more than one field you will need to add a calculated column to merge the two (or more) fields.
  1. Display the calendar, click Settings, Create a column
  2. Add a calculated column (I'll call it MonthData) with an equation to join the columns you want to display. Example: Location & " - " & Title (If you return to modify this equation it will have been reformatted as: =Location&" - "&Title )
  3. Uncheckmark "Add to default view" and the click OK
  4. Click the View menu and select Modify this view
  5. In the Calendar Columns section of the page change "Month View Title:" to your new column (MonthData)
  6. Click OK and check the results in the month view of the calendar

You could also add a new column name "reserved by" and use that in your calculated column to display the room and who has it reserved: =Location&" - "&[Reserved By]

Sorry, no tips here on how to find an available room or other "scheduling features"!

SharePoint: Excel 2003 Import and Outlook problems (Method 'Post' of object 'IOWSPostData' failed)

 

Updated… New version of Office, same old problem!  If you get the IOWSPostData error the same fix for Office 2007 will also work for Office 2010.

Updated again 2/24/13… This time for SharePoint 2013 and Office 2010.

One of my VPC images for SharePoint is acting up. It has MOSS 2007 and Office 2003. The problems are: Import from Excel fails and Connect To Outlook fails. Another VPC created from the same original setup is fine. The only thing really different with this VPC is that it has SharePoint Designer installed.

Errors from Excel: "object doesn't support this property or method"
Errors from Outlook (not consistent) : "Method 'Post' of object 'IOWSPostData' failed"

What appears to have happened is that SharePoint Designer is an Office 2007 product, it installs a bunch of Office 12 files and must be updating default paths or registry entries to point to Office 12 instead of Office 11. For the Excel issue I think it is loading the Office 12 DLL and calling from an Office 11 Excel macro file. I have not found a workaround yet for the Outlook problem. It works sometime and not others. My research so far (thanks to all of the bloggers out there!) has found at least a fix for the Excel Import problem. This requires an edit to the macro used by SharePoint to perform the import.

  • Open the macro file in Excel (Excel 2003 is ok, or at least worked for me)
      C:\Program Files\Microsoft Office 2007\Office12\1033\EXPTOOWS.XLA
    For Office 2010 find the file here:
      C:\Program Files\Microsoft Office\Office14\1033\EXPTOOWS.XLA
    or
      C:\Program Files (x86)\Microsoft Office\Office14\1033\EXPTOOWS.XLA
    Or just do a search of C: for EXPTOOWS.XLA

    You find that this is a hidden file, so you many need to change Windows Explorer to “Show hidden files”
    You may need administrator rights to save the file:
      - Click Start, All Programs, Microsoft Office
      - Hold down the Shift key and right-click Microsoft Excel
      - Click Run as Administrator
      - In Excel, click File, Open and navigate to C:\Program Files\Microsoft Office\Office14\1033
        and open the EXPTOOWS.XLA file.

     
  • Press Alt-F11 to display the Excel macro editor and the find the EXPTOOWS.XLA file
     
  • Find the line containing "lVer = Application.SharePointVersion(URL)" and change it "lVer = 2".
    (That's LVer, not iVer or 1Ver)

    Update: To play it safe, just add the lVer =2 at the end of the Initialize subroutine:
      image
     
  • Save the file. Click “Save changed and discard signature” to overwrite the old file.

More info here: http://msmvps.com/blogs/obts/archive/2006/12/05/384536.aspx

The only problem with this fix is that when you save the change you lose the digital signature from Microsoft on the macro file.

 

.

Note to spammers!

Spammers, don't waste your time... all posts are moderated. If your comment includes unrelated links, is advertising, or just pure spam, it will never be seen.