June 17th, 2009 | Tags:

Problem: SharePoint SSP configured to do profile import from the AD. However, unless the user logins in at least once to the site, the profile will not be imported. AD entry exists, but no entry in the Profile directory.

Way out: Couldn’t find out why, however, resolved by creating a new profile import connection with the same settings. Now when a full import is done, all the users are added to the profile directory irrespective of whether user has logged in or not

June 11th, 2009 | Tags:

I started a brand new workflow, added the ‘CreateTask’ event and run. It gave the error ‘Error Occurred’ and no further information.

For me, the problem, I forgot to put the code

taskId = Guid.NewGuid();

in the createTask1_MethodInvoking event.

March 25th, 2009 | Tags:

After you create a task form and deploy it, the form status in the Central Admin shows as ‘Installing’.

Please make sure you have set the Trust level for the InfoPath form to Domain or Full Trust.

Technorati Tags:
February 24th, 2009 | Tags: ,

When you create a Custom Edit form using SharePoint designer, you lose the ability to view the version history for fields with the versioning enabled (lets say, ‘Comment’ field). To show this, do the following:

Insert the ‘Comment’ field again as a form field and change the code as below in the ‘Code’ view.

<SharePoint:FormField runat="server" controlmode="Edit" . . ./>

to

<SharePoint:AppendOnlyHistory runat="server" controlmode="Display" . . ./>

Now your comments history would start showing as in the standard form!

February 11th, 2009 | Tags: , ,

After I installed the Infrastructure Update, when you use the People Search functionality, and the My Site is configured on SSL, a strange thing occurs. When the results are shown, the hyperlink is shown with the port 80 appended to the address! This screws up the result!

Finally the following link saved me!

http://blogs.technet.com/victorbutuza/archive/2008/10/20/how-to-remove-something-the-port-from-the-url-as-returned-in-the-search-results-searchresults-aspx.aspx

February 9th, 2009 | Tags:

When you want to change your My Site to a different web site, you need to create a new site with the Template ‘My Site Host’ under ‘Enterprise’ tab.

If you don’t find this in MOSS, make sure you are creating a new site collection and not a sub site under a site collection.

February 9th, 2009 | Tags: ,

Make sure you have set the following properly:

1. In the Shared Services Provider –> Search Settings –> Content Sources –> <Your Search Site List> –> sps3://<sitename> has been specified. Most likely you have removed this from the list thinking it is not useful!

2. Make sure you have a Search Center site setup. If this is not available, create one using:

Site Settings –> Create Site –> Enterprise –> Search Center / Search Center with Tabs. (for e.g. let this be http://yoursite.com/Search)

3. Go to Site Settings (Site Collection Administration Settings) –> Search Settings –> Use Custom Scope –> http://yoursite.com/Search

Now you should start seeing your results!

February 9th, 2009 | Tags:

Problem: Search results in sub site showing only for administrator. For all users, it shows no results.

Resolution: Check you have read permission for the user in the parent site. I also did a re-indexing.

February 8th, 2009 | Tags:

You accidently created a user alert for another user, now you want to remove it, how?

Go to Site Settings –> User Alerts –> Display Alerts for (Select user)

Select alerts to remove and click ‘Delete’!

February 4th, 2009 | Tags:

After you deploy MOSS, if the user tries to click on the ‘My Settings’, he will be taken to a page where he will not be able to update anything!!! Enough articles are there in the web why it is so. My objective here is to remove that link and add a new one which points to the ‘EditProfile.aspx’ page which can be used to update the profile.

Note: If the user gets a ‘Access denied’ message when he tries to access the page, make sure he has ‘Manage User Profiles’ permission in the

Admin Site –> Shared Service Provider –> User Profiles and My Sites –> Personalization services permissions

image

Now to remove the ‘My Settings’  link, do the following.

http://blogs.pointbridge.com/Blogs/ajgaonkar_amol/Pages/Post.aspx?_ID=6

Adding a new link ‘My Profile’

To add a new item in the ‘Welcome’ menu, we need to create and deploy a feature.

  1. Go to <Program Files>\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES
  2. Create a new folder ‘UpdateMyProfile’
  3. Under this folder create a file ‘feature.xml’ and paste the following code in this file.
  4. <?xml version="1.0" encoding="utf-8"?>
    <Feature Id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        Title="My Profile"
        Description=""
        Version="1.0.0.0"
        Scope="Site"
        xmlns="http://schemas.microsoft.com/sharepoint/">
      <ElementManifests>
        <ElementManifest Location="elements.xml"/>
      </ElementManifests>
    </Feature>

    Note: the ‘Feature Id’ should be replaced by a new GUID. You can use the http://www.guidgenerator.com/online-guid-generator.aspx site to create a new GUID.

  5. Create another file called ‘elements.xml’ and paste the following code.
  6. <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <CustomAction Id="PersonalActionsMenu_MyProfile"
        GroupId="PersonalActions"
        Location="Microsoft.SharePoint.StandardMenu"
        Sequence="101"
        Title="My Profile"
        Description="Update your user information"
        ImageUrl="/_layouts/images/menuprofile.gif">
        <UrlAction Url="/_layouts/editprofile.aspx"/>
      </CustomAction>
    </Elements>
  7. Now install this feature to the farm using the stsadm command.
  8. stsadm -o installfeature -name UpdateMyProfile
  9. Now activate this feature to the site using the stsadm command.
  10. stsadm -o activatefeature -name UpdateMyProfile –url http://intranet.yoursite.com

Now if you login to your site, you should be able to see a new ‘My Profile’ link under the ‘Welcome’ menu!!