Problem: While creating a new list definition with Event Handler in Visual Studio 2008, the events are not triggered.
Reason in my case: In the ListDefinition.xml, I modified the “Type=” from the Visual Studio assigned one to a value of “10001”, since that is what MS recommends to avoid clashes in future. If you change the value here you need to make sure you change the value in the “schema.xml” also (in the “<List” tag)!!!
Technorati Tags:
SharePoint
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
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.
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.
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!
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
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.
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!
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.
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’!