Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

Browse by Tags

All Tags » SharePoint » .NET (RSS)
Any signs of life for the SharePoint Extensions for Visual Studio?
Has anything been released - or, in fact, talked about - since August's release of the v1.1 CTP ? Haven't done any web-part development in a while and wanted to get back in the game. I last used the v1.0 extensions, and was surprised that nothing much...
Dynamically creating a Sharepoint Web-Service proxy instance
In my current code, I find myself accessing many Sharepoint web services. In one run of code I can access 5-6 different web services on dozens of different sites, not necessarily even on the same server. Given that I find myself writing a lot of boilerplate...
Some more glaring omissions in the Sharepoint 2007 SDK and Web Services
I downloaded the new Sharepoint 2007 SDK today, published last week though it's dated from April 2007. There appears to be no change history for this version of the SDK. I was hoping for more information on new Web Service methods available in 2007 -...
Retrieving all properties for a Sharepoint list
When we call the GetListItems or GetListItemChanges methods in Sharepoint's Lists Web Service, we pass an XmlNode parameter specifying which fields we want to return, in this format: <ViewFields> <FieldRef Name="ows_ID"/> </ViewFields>...
Web Part Versioning
If you have a web-part on your development machine that occasionaly decides to die - give you Not Marked As Safe errors even though it is, and requires removal and readding for it to work (with no other steps necessary), you may have a version mismatch...
Posted: Dec 04 2004, 11:35 AM by AvnerK | with 1 comment(s)
Filed under: ,
Object Model Security
In a comment to my post here , Jim asked why he can't access the WSS object model in his code, even though it's running under the Sharepoint context. Since a month has passed and I can't re-enable comments on that post, I'll just answer here: By default...
Posted: Oct 24 2004, 02:09 AM by AvnerK | with no comments
Filed under: ,
Binding to Sharepoint List Items (Part 2 of 2)
In the first part of the post we went over binding an SPListItemCollection to a DataGrid for quick'n'dirty binding of Sharepoint list data. The problem with this approach is that extensibility is a problem. To paraphrase the specific request I got: "Remember...
Posted: Sep 22 2004, 09:00 PM by AvnerK | with no comments
Filed under: ,
Binding to Sharepoint List Items (Part 1 of 2)
Databinding is cool. It lets us connect our front-end GUI elements (say, a DataGrid) to our back-end data elements (a DataSet, for instance) without the drudgery of synchronizing the two all the time. True, ASP.NET Datagrids are one-directional, but it...
Posted: Sep 22 2004, 08:42 PM by AvnerK | with 7 comment(s)
Filed under: ,
How to get the current SPS Area in a Web-Part
When we write a WebPart or WebControl that resides in a SPS Area, we will want to know at runtime which area we reside in. This, surprisingly enough, is not trivial. It's not even easy. In fact, it's downright obscure You can easily get the current SPWeb...
Posted: Sep 14 2004, 12:49 AM by AvnerK | with 4 comment(s)
Filed under: ,
PortalRight - all wrong.
A followup to this post : The PortalRight enumeration defined in Microsoft.Sharepoint.Portal.Security is, for some reason, derived from UInt32 rather than Int32. You can see this in the Object Browser when in a VB.NET project. This anomaly - nothing more...
Posted: Aug 24 2004, 12:01 AM by AvnerK | with 2 comment(s)
Filed under: , ,
More Posts Next page »