in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

sunil's blog

  • How to open Shared Folder Data through Extranet Access from SharePoint Search

    I thought everything was running fine and that everyone was getting access to all documents (including huge data stored in a global shared folder) while searching.
    Yes, they were getting all the data. However, it would not open or download from the extranet (even when I tried from the extranet, it worked. But then again, I forgot, I was accessing it using VPN Big Smile).
    Thanks to Google groups and tedious searches, I found this link:

    Search results file share content only available within network

    The easy way is:

    A
    dd a Virtual Directory under SharePoint Portal Server. Point this to the shared folder in the network. Make this virtual directory as unmanaged path.
    (At this point, I tried to add this, as a search location. I allocated all rights to the content user, but still it didn’t scroll any documents. There is no need to add this in the search location).

    Add the network share as a content source and then add a search server maping. It is available in Search settings, General Content Settings and Indexing Status.
    Rebuild the Index.

    You can now, access the contents from anywhere.

  • Web Part Page Maintenance

    This tip helped me remove web part that was showing an error. Note, if any web part gets an error, then one will not be able to edit that page in FrontPage

    http://weblogs.asp.net/wkriebel/archive/2004/04/12/111776.aspx

    Some additions to this are that when you try to delete the maintenance page, you may get an error message: ‘Could not complete the operation.’

    You cannot delete a shared Web Part in personal view, therefore if you have permission, switch to shared view and then delete it.

    However, if you are already in shared view, add Page View=Shared&contents=1.

  • delete personal site programticaly, ( I lost my portal) :)

    We have over 100 users and wanted to reset all there personal sites. So, without a second thought, I ran the bellow code. Whoosh.out went all!
    My options were to either recreate entire portal (it was in my test server) or retain it from backup. When I tried one person it worked, that is why I tried the full collection:

    DO NOT TRY THIS

    'siteCollections.Delete("personal/uts_swarrier")        ' This worked

    Dim SiteCollection As New SPSite("http://" + System.Environment.MachineName + "/personal")SiteCollection.Delete()

    I AM NOT JOKING, DON'T try the above

  • How to create Personal Site Programmaticaly..

    Alright, I got “How to Create Personal Site Programmatically from MSDN (it was there in one sample chapter of Resource Kit)

    Dim topology As New TopologyManager
    Dim collection As
    PortalSiteCollection
    Dim portal As
    PortalSite
    portal = topology.PortalSites(New
    Uri(http://yoursite.yourdomain.com))
    Dim context As PortalContext = PortalApplication.GetContext(portal)

    'initialize user profile config manager object

    Dim profileManager As New UserProfileManager(context)
    Dim profile As
    UserProfile
    For Each profile In
    profileManager
              Console.Write(("Creating a Personal Site for " + profile("PreferredName") + "..."))
      Try
              profile.CreatePersonalSite()
              Console.Write("Success! Created :" + profile("PreferredName") + "..." + ControlChars.Lf)
       Catch
              Console.Write("Site Already Exists!" + profile("PreferredName") + ControlChars.Lf)
       End
    Try
    Next profile

  • Integrate SharePoint Portal Search with Office 2003 Research Task Pane

    Found in Westin's Technical Log 

    Integrate SharePoint Portal Search with Office 2003 Research Task Pane

    Ok nice way to add search and get related documents from SharePoint inside office documents

  • New Articles on MSDN office site

    The Definitive "Hello World" Web Part Tutorial
    In this month's Office Talk column, John R. Durant shows how to create and deploy a fully-functioning Web Part for Windows SharePoint Services—from its earliest stages to being fully packaged for wide distribution. This article pulls together tips and instructions from many sources and then ties them together in a seamless, step-by-step approach.    (July 16, Article) 

    Usage Event Logging in Windows SharePoint Services
    Learn how to parse the log files that Windows SharePoint Services produces when logging is enabled, and explore a sample that demonstrates basics for creating a parsing tool to extract information about site usage.   
    (July 16, Article) 

    Document Library Migration Tools XML Manifest File for SharePoint Portal Server 2003
    Understand the format and structure of the XML manifest file that Spin.exe uses to process and load files into SharePoint Portal Server 2003 document libraries based on SQL Server.    (July 16, Download)

     Best Practices for Developing Web Parts for SharePoint Products and Technologies
    Learn techniques for creating Web Parts that perform efficiently, are easy to use, and that integrate well with other components of a Web Part Page.    (July 2, Article)

  • Visual Studio 2005 Express Beta Products ( I found this links only today :))

    Today I found Visual Studio 2005 Express Beta Products  download link. Maybe it is not new, but I found it only today :)
    I got it from
    Microsoft releases free editions of VS 2005 Link with funny captions.

  • How to create Mysite programmatically / Alternate Header again

    Some days ago, I saw a blog with the code for generating MySite. However, I can't find that again. Any one got any idea? That was a good blog, on how to set the alternateheader. Since I had to pull my intranet into the SPS, I had to change the whole look and feel of the page header. But the alternateheader will only work with some admin pages which use _layout\1033 files.

    AlternateHeader magic to style your SharePoint pages. (I need to check this idea while working on header issues)


    http://sharepoints.blogspot.com/2004/06/using-alternate-header-in-onetxml.html (I have received a positive response to my comment)


    http://sharepoints.blogspot.com/2004/07/portal-alternate-header.html

    Any new ideas on alternate header please let me know.

  • Microsoft Vs. Google

    I have received a mail from one of my friend, I don't know who wrote this,
    I am just adding some parts of it.

    Last week, Microsoft identified the object of its latest obsession:
    Google, the No. 1 Internet search page. (Google, you may recall, is
    preparing for an initial stock offering with an estimated value of $25
    billion. Nobody bats around numbers like that without attracting
    Microsoft's attention.)
    For years, Microsoft's own Web search page, MSN Search, has finished a
    distant third place in the search-engine popularity wars (behind
    Google and Yahoo). The company's new plan is apparently to remake MSN
    Search in Google's image.
    The Googlification of MSN will occur soon. The first, a
    cosmetic makeover, is now complete and ready for your inspection at
    www.search.msn.com. The new look consists of an empty white screen
    that loads blissfully quickly, even over dial-up connections, and an
    empty, neatly centered text box where you're supposed to type in what
    you're looking for. The search page is ad-free and, except for the MSN
    logo, even devoid of graphics. (On July 4, however, MSN added a
    waving-flag graphic, an imitation of the way Google's witty artists
    dress up its own logo on holidays.) In short, MSN Search couldn't look
    more like Google if you photocopied it.
    You can try out Microsoft's extremely early version of this new search
    algorithm at
    techpreview.search.msn.com, but don't get your hopes up.
    Microsoft emphasizes that the preview doesn't search very much of the
    Web, and isn't intended to compete with Google or anyone else.
    Instead, the point is to collect feedback from "Webmasters and search
    enthusiasts."

  • Some Cool Blogs on SharePoint recently visited / Who's Online / Workflow Lite

    Here are some very interesting blogs that can be reviewed:
    Bryant Likes's Blog ( good set of work)
    Extending SharePoint using Global.asax
    Extending SharePoint using Global.asax - Who's Online (more here)
    Jan Tielens' Bloggings
    Workflow Lite for SharePoint RC1 (Finally!) (Real cool links on workflow)

  • Hello World!

    Basically, I have been working with SharePoint for over a month. I was unable to spend more time on it, as it was not a priority at that time. But now it is. The major problem is that many of the users are not computer literate or are too old to change their set ways. So most things had to be transparent to them or possible to accomplish in a single click.

    My focus was therefore, on these issues:

    1. The need to have a document management solution, where users could add any kind of documents in a clean hierarchy and they could do it without much effort or possibly in a click.

    The different kind of documents, I needed in the Document library was:  

    1. All incoming faxes (conventional method as well as through the system) to be categorized and linked to its appropriate set.
    2. All official word/excel docs, again categorized and linked to appropriate sets.

    3. Accpac Documents full cycle from all modules OE/AP/AR etc... where usually they print and fax quotations/orders/invoices etc... it was required to be added to the document library under appropriate company, customer, salesman categories etc...
    4. Accpac CRM related documents.
    5. Emails including attachments / exchange public folder documents
    6. Some customized software outputs such as Quotation Register which is an ActiveX Document solution for approvals of quotations.

    2. To convert the present static Intranet to be a part of the SharePoint portal (more than 200 Pages)

    3. Add OWA into the SharePoint MySite of each user or maybe to the home page of the portal. This was done so that any user logging in would get their details. (Believe me, teaching my users  to click my site, to get their customized information was a tough job. So I tried to compile all the information in the start screen. (However, with the available web parts, I faced a lot of issues)

    4. To make a routing / processing engine based on customizable business rules, (not documents) but different forms and to save this data for reporting. I preferred to use InfoPath for this.

    5. Think about SQL reporting for removing many old Access / VB applications / ASP pages only to show different reports.

    6. Something definitely to check and work on my agenda, was Accpac and Accpac CRM integration and a Single SignOn possibility.

    More than all this, it was important to ensure that all functions was available on any device so that the 10% users (top level management and CEO) who know what can be done with computers are could access what they require.

    Many more things are yet to come to my attention:

    I don't know how far I it will be possible, but I will continue to add my challenges, issues, solutions etc…


Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts