SharePoint, XBOX, .NET, Technology - What I am reading

    [Home] [Recent] [Site Map] [SharePoint] [XBOX]

   

SharePoint Blogs

6/2/2007 SPSiteDataQuery - The query cannot be completed because the number of lists in the query exceeded the allowable limit

Today I learned a hard lesson.  A single letter was causing a big problem for me:

The query cannot be completed because the number of lists in the query exceeded the allowable limit. For better results, limit the scope of the query to the current site or list or use a custom column index to help reduce the number of lists.

MaxListsLimit vs MaxListLimit

After a while of researching, I found out that the original example that I had been using for the basis of my SPSiteDataQuery had used MaxListsLimit where MaxListLimit should have been

For the Lists property of my SPSiteDataQuery

I was using

"<Lists BaseType="1" MaxListsLimit="0"/>"
When what I needed was just:
"<Lists BaseType="1" MaxListLimit="0"/>"
This made the error go away as it let me search all of the lists in the entire site.  Not specifying a MaxListLimit would only search 1000 lists, but seems to throw an error if there are more than 1000 lists, instead of just searching the first 1000 that it finds.  I would recommend always using "0" if you are not sure that the client will have less than 1000 lists. 
6/2/2007 1st Post :)

HI everyone, my name is Zachary Denholm i have been an ASP.net developer for many years and have just recently started developing is MOSS 2007 and WSS 3.0. I would like to thank www.sharepointblogs.com for giving me this blog.

6/1/2007 Post Installation Tasks for MOSS 2007 and WSS 3.0
Add Command Line Shortcut to "12 Hive" Don’t just create a shortcut to the 12 Hive (the directory where just about everything WSS v3 is installed) on your desktop/Quick Launch. At first I created a mapped network to the “12” directory location [not very secure]. When you"re in a command prompt, sometimes you need to navigate to the 12 Hive directory. But no one wants to type the directory path to c:\Program Files\Common Files\Microsoft Shared\web server extensions\12 . Wouldn"t it be easier if you...(read more)
6/1/2007 New MOSS Blog Site Created
Welcome to a new site, I see alot of people are having problems with the SSL Kerberos or maybe its just me... I have found very few that have this working.... mainly just one that has lead me on the path to get it working on our environments. Martin Kearn is a MS blogger that has a great article on this HERE . Along with this article we have been running into constant other problems. One of which you have to setup all the site with IP"s ... problem not so much when your inside the network but how...(read more)
6/1/2007 Hidden treasure in WSS SDK
Microsoft Office SharePoint Server 2007 (MOSS) together with Windows SharePoint Services 3.0 (WSS) makes one very powerful platform. Because of very tight integration with ASP.NET 2.0 all good feetures of that platform are simply integrated in MOSS based sites. On the other hand, some times MOSS can be quite difficult to customize, especially to beginners in SharePoint world (like myself). There are some very good blogs on the Internet that SharePoint developers can use during development process,...(read more)
6/1/2007 Windows Live Writer

I"ve seen an increasing number of posts about Windows Live Writer the new Microsoft desktop client for publishing weblog content so I though I"d download the beta and give it a try.

I haven"t been blogging all that long and I"ve always used the online control panel facility provided by Community Server (the software that SharePointBlogs.com runs on) to manage posts which, although perfectly functional, can be a little painful when writing longer posts (in particular the server round tripping when saving draft versions!) It seems to me that a smart client application is the perfect fit for the purpose of publishing web content (blog posts or otherwise), the number one benefit is that I"ll only need an Internet connection at the point I want to publish. Other benefits such as spell checking (as I (mis-)type) and (truly) rich content editing are real bonuses.

Although I clearly have no experience of the competition first impressions of the Live Writer beta are very promising. I had a slight issue connecting to my blog, when it came to selecting the provider I chose Community Server and the default Remote posting URL was http://<hostname>/blogs/metablog.ashx. I changed this to http://www.sharepointblogs.com/blogs/metablog.ashx but that didn"t work. I played around with the URL and eventually found that it should actually be http://www.sharepointblogs.com/metablog.ashx.

wlw1

So this is my inaugural post using my new found friend and I"m really happy I decided to finally get on board and equip myself with the proper tools for the job. Whether it"s one of the better offerings around remains to be seen but I"ll certainly post any observations I deem useful or worthy. Maybe I"ll even try one or two of the competition to qualify my observations...

6/1/2007 Custom Navigation Tabs

I am currently working on a large SharePoint project looking to migrate to MOSS 2007.  I have been involved in the investigations into the migration of our custom 2003 web parts over to MOSS.

One of my current challenges is to replace the top navigation bar with custom tabs, as our customer does not require the "standard" set of tabs to be displayed.  Also the tabs are dynamic depending on what level of user is logged in and what responsibilities they have to the organisation.

So far I have found 2 strategies:

  1. Add a custom web part to the page that will generate the custom tabs when the page is loaded.  This also requires the "My Home", etc tabs to be removed via editing the master pages.  This is quite slow and increases the load time of the page.
  2. Add a custom navigation provider to the master page.  This is quite involved but does have the advantage of fast load times for the page if implemented properly.

Will post more details later as I am in the middle of developing something else (non-sharepoint)

6/1/2007 Bill Gates & Steve Jobs :: Entrevista

Mayo 2007: Bill Gates y Steve Jobs, juntos, discutiendo sobre tecnología, contribuciones tecnológicas, etc: http://d5.allthingsd.com/20070530/steve-jobs-and-bill-gates-together-part-1-of-7/

-.M.-

6/1/2007 Autenticación biométrica en SharePoint (Precise BioMatch)
Adam Buenz ha publicado un artículo acerca del desarrollo de un SDK para la autenticación biométrica aplicada a MOSS, al menos para productos Precise BioMatch. De todos modos es muy interesante eh! dale una leida aqui.
5/31/2007 Explore the SharePoint 2007 object model with Python

SharePoint 2007 is based on Microsoft"s .NET 2.0 Framework, and provides an amazing amount of access through its object model. This is a guide to exploring and making use of the SharePoint 2007 object model interactively. We use Python as our language of choice for this task, as it has a great interactive mode that makes inspection easy.

Getting started

Python is a great modern language that you can use interactively. You can get IronPython, a port of Python to the .NET framework, from the Iron Python home page at http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython.

Once you"ve got it installed, start ipy.exe and you"ll be in the Python shell. Since IronPython needs a bit of assistance in knowing where to find files, copy the Microsoft.SharePoint.dll file in to the folder that you"re running ipy.exe.

The python prompt is >>>.  When you see this, you can start entering Python code directly and Python will run it. Let"s get started!

In a C# program, we usually start by importing some libraries by adding a reference to a dll, and then by using the "using" keyword in our code. In Python we do the same kind of thing. Firstly we need the .NET common language runtime:

>>> import clr

We can investigate the methods and properties provided by an object by using python"s built-in dir() function. We"ll be using this a lot to see what SharePoint offers. For now, let"s find out what the clr object provides:

>>> dir(clr)

["Accepts", "AddReference", "AddReferenceByName", "AddReferenceByPartialName", "AddReferenceToFile", "AddReferenceToFileAndPath", "ArgChecker", "Dispose", "Equals", "Finalize", "GetClrType", "GetHashCode", "GetPythonType", "GetType", "LoadAssemblyByName", "LoadAssemblyByPartialName", "LoadAssemblyFromFile", "LoadAssemblyFromFileWithPath", "MakeDynamicType", "MemberwiseClone", "Reduce", "Reference", "ReferenceEquals", "References", "ReturnChecker", "Returns", "Self", "ToString", "__class__", "__doc__", "__init__", "__module__", "__new__", "__reduce__", "__reduce_ex__", "__repr__", "__str__", "accepts", "returns"]

Notice the AddReference method - we"ll be using it to make SharePoint available.

>>> clr.AddReferenceToFile("Microsoft.SharePoint.dll")

If you get an error here, you have to move the .dll file in to the right directory. Note also that the filename is case sensitive - there"s a capital P in the middle of "SharePoint". Now just one more thing to make the namespaces easier to deal with:

>>> from Microsoft.SharePoint import *

Ok, we"re ready to explore.

Exploration

One of the most important SharePoint classes is the SPSite class. We can investigate it using python"s dir() method as mentioned above.  The Python equivalent of C#"s SPSite mysite = new SPSite(url);  is as follows:

>>> mysite = SPSite("http://localhost/");
>>> dir(mysite)
[List of methods and properties]

>>> print mysite.Owner
SPSTRIAL\administrator

Next time, we"ll dive deeper in to the object model and investigate SharePoint"s lists and audit logs!

 

上一页 1 2 3 4 5 6 7 8 9 10 下一页

   

Site List:
>>Xbox Live_s Major Nelson
>>Xbox 360 & SharePoint 2007 Weblog
>>Carsten Keutmann_s Blog
>>Mohamed Zaki_s Blog [Sharepoint MVP]
>>The Mit_s Blog
>>Mart Muller_s Sharepoint Weblog
>>Microsoft SharePoint Products and Technologies Team Blog
>>SharePoint Solutions Blog
>>4GuysFromRolla.com Headlines
>>ASP.NET Blogs
>>SharePoint Blogs
>>SharePoint Blogs
>>Joel on Software
>>ADO Guy_s Rants and Raves
>>Microsoft Live Labs
>>GadgetNews
>>Windows Vista Team Blog
>>VoIP & Gadgets Blog
>>schrankmonster blog
>>Via Virtual Earth Blog
>>Feed
>>MSDN Blogs
>>Mashable!

Links:
Jack's Readings

Month Archives:
Oct 2007
Sep 2007

Top Tags:
social software social networking .NET mashable Sharepoint ASP.NET Web 2.0 Web2.0 Startups Community News Search Marketplace General Software Development AJAX Windows Vista Visual Studio Microsoft myspace Silverlight People Powered! YouTube Vista MOSS Featured News C# Events MOSS 2007 Google WPF Office 2007 Web Community Security General Personal Xbox 360 facebook Tools development SharePoint 2007 Fun Atlas Architecture ASP.NET AJAX myspace codes TheLongTail IIS SQL Server Developers Revenue Sharing Video Pictures WCF Mobile 2.0 Announcements Orcas MIX07 Arcade Team System JavaScript News



@2007 All rights Reserved