Geeks With Blogs

News These postings are provided "AS IS" with no warranties, and confers no rights.
Locations of visitors to this page virtusa corp sharepoint virtusa.com shehan peruma
Shehan Peruma October 2009 Entries
Display the users IP Address in a Data View Web Part
Quite simple really :) Open up an existing DVWP or create one. Right click the DVWP and select ‘Common Data View Tasks’ (or click the little arrow that appears on the top right of the DVWP) Click the ‘Parameters’ link In the dialog that opens up click the ‘New Parameter’ button. Provide a name for the parameter (e.g. IPAddress) In the ‘Parameter Source’ dropdown select ‘Server Variable’ In the ‘Server Variable Name’ text box enter REMOTE_ADDR Leave the ‘Default Value’ text box empty Click OK Now ......

Posted On Wednesday, October 14, 2009 9:20 PM

Data View Web Part error in SharePoint Designer
When I updated the ‘Filter Criteria’ of a fully functioning DVWP through SharePoint designer I was presented with the following error: The server returned a non-specific error when trying to get data from the data source. Check the format and content of your query and try again. If the problem persists, contact the server administrator. Took me a while to figure it out. This is what caused it and how to fix it: When you create a DWVP, SPDesigner adds a parameter called ListID and assigns it the GUID ......

Posted On Tuesday, October 13, 2009 9:08 PM

Exchange (Outlook) distribution list (mailing group) not showing up in SharePoint
This post is common knowledge to all SharePoint professionals out there, but for newbie's it can save hours of hair pulling (as I’ve got to learn from a bunch of people I’ve helped out) ;) Scenario: There is a distribution list you can see and use in outlook, but when you search for the same list in SharePoint it doesn’t show up in the people picker. What gives? Chances are that the distribution list is not security enabled. This would need to be done by your domain administrator. He would need to ......

Posted On Monday, October 12, 2009 2:38 AM

Get all replies to a discussion
A discussion list in unlike a normal list in that it consists of two content types - a Discussion content type that maps to the discussion topic and a Message that maps to all replies to the topic. If you examine the Discussion content type you’ll see that its inherited from the Folder content type. The reply contains a field called ‘ParentFolderId’ and as the name suggests it holds the ID of the discussion topic. So naturally if you were to do a query on the list for all items with the same ParentFolderId ......

Posted On Saturday, October 10, 2009 3:40 AM

mailto with ‘#’ in email address issue
It seems that if you use an email address that contains a ‘#’ character and is part of a mailto tag, then clicking on it on the browser will open Outlook, but will not add the complete email address in the ‘To:’ field; it adds all characters until the ‘#’ character. To overcome this replace the ‘#’ character with %23 So, if you had an email address like: #projectTeam@company.com the mailto tag should have it as %23projectTeam@company.com Technorati Tags: mailto ......

Posted On Saturday, October 3, 2009 11:21 PM

Copyright © shehan | Powered by: GeeksWithBlogs.net