An interesting issue came up some days back. Whenever we would try to add any list or doc lib to my links webpart on my site using the Add to my links function, it redirects to a page which populates the wrong list/doc lib URL in the textbox which is uneditable. The link that so gets created is wrong and is invalid. To give an idea, we have multiple webapplications as xyz, xyz-div1, xyz-div2........ Now whenever I try to add a list of xyz-div2 to my links using "Add to my Links" it stripped off the -div2 from the url. The url seemed something like - http://xyz/sites/team1/xyz/lists/emp/allitems.aspx instead of http://xyz-div2/sites/team1/xyz/lists/emp/allitems.aspx
On closer analysis of the url box of the internet explorer I found out that there is an intermediate portal api which sharepoint before going to the next page. When I googled that api with that particular command parameter I got a hit to msdn here http://msdn.microsoft.com/en-us/library/ms868609.aspx
I then took a look at the portal connection of the site collection and there it was. As part of the site provisioning process in the organization, a site is always connected to a portal site as http://xyz to act as a common home for all employees. We will see how we work this out so that add to my links work, but at least its good to know why it was happening.
Thursday, June 5, 2008
Friday, April 18, 2008
Enabling wildcard search in MOSS 2007
MOSS 2007 for some peculiar reason does not support wild card search. There are some solutions out there are which might be of use and I will try to list them here -
- Using specific metadata - While this may not suit your purpose, but you can search for somebody's firstname by, Firstname:Rob, this will give you all the people whose names are Rob, Robe, Robbie Robbin etc. (You get the idea) Similarly you can search for lastname too. Please note that if you try searching for Robbie using FirstName:bbie, you will NOT get the result.
- Customizing the search result web part - Mario Hadiwinata lists down a method of doing it. I have not tried it myself, but it looks pretty sleek. [Edit - this works for sps 2003 only and not for MOSS. Thanks sdec for pointing that out]
- Using a CEWP webpart - Ramon Scott lists down the code to use it on your homepage. This creates a new webpart with two text boxes, where you can do a wildcard search on people by lastname or firstname.
- Use Ontolica Wildcard Search - This is a free download provided by Ontolica here.
Other than these, there must be various solutions out there, but on the similar lines.
Wednesday, April 16, 2008
MOSS 2007 User Administration
Well, This was worth writing about. Having worked on 2003 before, the user administration for MOSS 2007 seems confusing to me. I spent the last 60 minutes trying to figure out, how can I see a group's permission and how to edit that. And also I remembered that I can see detailed permission list for a particular permission from 2003(For eg. Full Control). And found that out too. Not at all intuitive.
First of all in MOSS 2007, all users are added at Site Collection level and then reused for all the other sites. So Do not try to find out how to do all this at a subsite level. A good place to begin is http://office.microsoft.com/en-us/sharepointserver/HA101172091033.aspx
Now - To view what permissions a group has and how to edit those permissions.
1. Browse to your Site Collection
2. Click on Site Settings > People and Groups
3. Click on Groups on the Left side navigation.
4. Click on the Edit icon that appears between the group name and description.
You will now see the permissions as well as you can edit them here.
Second - You want to see a detailed permission map as well as maybe create a custom permission
1. Browse to your Site Collection
2. Click on Site Settings > People and Groups
3. Click on Site Permissions in the left side navigation.
4. Click on Settings>Permission Levels
From here you can see the existing site permission details as well as create a new site permission level.
First of all in MOSS 2007, all users are added at Site Collection level and then reused for all the other sites. So Do not try to find out how to do all this at a subsite level. A good place to begin is http://office.microsoft.com/en-us/sharepointserver/HA101172091033.aspx
Now - To view what permissions a group has and how to edit those permissions.
1. Browse to your Site Collection
2. Click on Site Settings > People and Groups
3. Click on Groups on the Left side navigation.
4. Click on the Edit icon that appears between the group name and description.
You will now see the permissions as well as you can edit them here.
Second - You want to see a detailed permission map as well as maybe create a custom permission
1. Browse to your Site Collection
2. Click on Site Settings > People and Groups
3. Click on Site Permissions in the left side navigation.
4. Click on Settings>Permission Levels
From here you can see the existing site permission details as well as create a new site permission level.
Subscribe to:
Posts (Atom)