Sorting Calendar Items in the Calendar View

I’m using a calendar to track panel discussions on a given day. I have two sessions: morning and afternoon. I want to create a view that shows morning sessions only listed alphabetically via a session ID. This is a little tricky to accomplish (unless I missed something real obvious).

I can easily create a filtered view showing just that day’s events. The calendar will show all those events and if they all take place on the same hour, it lists them side by side in the hour slot. That’s great. The tricky part is that, by default, it wants to list them in ID format. پس, if I add "Session 02" and then "Session 01" to the calendar, it shows them in that order (i.e, Session 02 and then Session 01). To list them in Session ID order, I thought to try these things:

  1. Configure the view using the web user interface. No luck. There are no options to sort items this way.

    Since that didn’t work, I am now hoping there’s a CAML query somewhere in there that will allow me to override the sort. CQWP lets me make that kind of change, maybe calendar will as well?

  2. Edit the web part, look for an "export" function and … BZZZT! I can’t export its XML. There is no export option.

    I’m still holding out hope that I can find and modify some CAML query. Since I can’t export the web part, that leaves SharePoint Designer.

  3. I add the calendar web part to a sandbox site and open that site using SharePoint Designer. I look at the markup for the web part and I find what I’m looking for. It’s encoded madness, but it’s there: "<ListViewXml …. >encoded madness</ListViewXml>". به طور خاص, there’s this gem:

<پرس و جو>
<جایی که>
<DateRangesOverlap>
<FieldRef Name="EventDate"/>
<FieldRef Name="EndDate"/>
<FieldRef Name="RecurrenceID"/>
<Value Type="DateTime">
<Month/>
</ارزش>
</DateRangesOverlap>
</جایی که>
<OrderBy><FieldRef Name="Session_x0020_ID" /></OrderBy>
</پرس و جو>

(I’ve decoded the &LT;’s and &gt’s and split them out to multiple lines for clarity’s sake).

Add the <OrderBy> bit and now it sorts by Session ID, not the internal list item ID.

GIGANTIC tip o’ the hat to بکی Isserman for her comment to Isha Sagi’s blog post: http://www.sharepoint-tips.com/2008/07/caml-sorting-by-file-name.html. I wouldn’t have put the <OrderBy> in the right place without her comment.

I hope to write this up more clearly with screen shots soon, but in case I never do, at least I did this much.

</پایان>

NJ شیرپوینت نشست گروه کاربری با دیو مان … یا .. چیزی که باب گفت

باب فاکس lets us know that Dave Mann, SharePoint workflow genius, is speaking at the NJ SharePoint user group meeting on Wednesday evening, 11/19/08. Don’t miss it. (متاسفانه, my corporate overlord has scheduled a big group meeting Wed night and I will miss it).

Click here to register and get more details.

Here are some session details:

Session Title “Deploying Workflows in a Large Scale SharePoint Environment"

Workflow in SharePoint is an exciting new capability. اما, it is a capability that is often misunderstood when it comes to the impact it has on your environment. For small environments, the out-of-the-box settings, configurations and architectural approach are probably sufficient. But what about an environment that will be processing thousands of documents per day? How can you make sure that those environments will not falter under the load, but still meet SLA’s for performance and responsiveness? This session will explore why focusing on your workflow subsystem is important, and cover the needs of a large scale workflow environment from the farm level down to individual workflow design specifications. Learn why all workflows need to be looked at in light of performance and scalability as well as how to build workflows that scale in an environment that scales, monitor workflow processing and overcome common obstacles. در این جلسه راهنمایی های معماری برای محیط شیرپوینت خود را به عنوان شیوه های برنامه نویسی خاص به اطمینان می کنید بیشتر از گردش کار شیرپوینت شما را پوشش.

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

برچسب ها:

ویژگی های شیرپوینت & راه حل مدیریت — آیا U در CRUD را فراموش کرده ام (یا D که برای ماده)

ما جمعی صرف یک معامله بزرگ از زمان تفکر در مورد راه حل های شیرپوینت — چگونگی بوجود آوردن آنها, که ابزاری برای استفاده, چه اتفاقی می افتد زمانی که آنها موفق به استقرار, مشاغل تایمر, حوزه, غیره. We spend so much time thinking about the up-front bits that it’s easy to forget that we need to retract them as well. Retracting solutions is probably more difficult, از یک دیدگاه طراحی مفهومی, than deploying them. Deployment is basically a cookbook affair. Typically, نصب یکی از ویژگی های, شاید یک گیرنده از ویژگی های بارگذاری برخی از داده ها را در یک لیست, that sort of thing. اما, طبیعتی است که به طور بالقوه پیچیده تر است.

یک راه حل داده شده ممکن است آثار مکشوفه از این قبیل ایجاد کنید:

  • نوع محتوا
  • لیست تعریف
  • تعریف سایت
  • داده ها در یک لیست
  • حتی گیرنده
  • فرم های InfoPath

لیست در می رود.

در حالی که آن را به وضوح مهم برای طراحی یک راه حل است که تمثل آن شی ء به درستی, it’s just as important to consider the update and delete cases. If your solution creates a new list and populates that list with data, وقتی که راه حل به عقب چه اتفاقی می افتد? In some cases, the list should be deleted. In other cases, it should be left intact for historical purposes. Your business requirements will guide you to the right decision.

برای کمک به این, create a matrix that lists each artifact your solution deploys to SharePoint. List three columns per artifact, یکی برای ایجاد, به روز رسانی و حذف. For each case, تعیین نتیجه صحیح برای انجام این عملیات.

This sort of analysis is obviously best done before the solution is ever deployed to a SharePoint farm. اما, مانند سیگار کشیدن, it’s never too late to start doing things correctly. Create that matrix and develop a plan to address the missing update/delete scenarios. It may be a hard problem to solve, اما حداقل شما یک جعبه در اطراف مشکل قرار داده.

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

شیرپوینت گردش کار طراح می تواند دسترسی نیست “دور” یا “خارجی” لیست

در اینجا یکی دیگر از رایج شیرپوینت طراح سوال گردش کار:

"Can I access (خواندن / نوشتن) شیرپوینت لیست ها از طریق گردش که اقامت ندارند در همان محل به عنوان لیست خود?"

پاسخ ساده است: نه.

همانطور که در بسیاری از راه, اما, ما باید واجد شرایط که (است که چیز خوبی در این مورد). The platform lets us create extensions to the produce in many ways, از جمله اقدام های سفارشی (پروژه codeplex کمی من را ببینید در اینجا برای مثال). A custom action lets us do basically anything we want from SharePoint designer workflow. I’m a big fan of this, در واقع, از آن به ما می دهد بهترین از هر دو جهان — کاربر نهایی طراح دوستانه اعلانی با عمق پر از چارچوب دات نت در نوک انگشتان ما.

متاسفانه, اگر شما با استفاده از SPD, یک فرصت خوب برای شما انجام می دهند که دلیل این که شما می توانید از ویژوال استودیو استفاده نمی کند وجود دارد (با توجه به این واقعیت است که ویژوال استودیو نیاز به پس زمینه توسعه دهنده عمیق). I don’t have any good answer to that problem except that you should prevail upon one of your technical co-workers to create the kind of custom action you need. Alternatively, کار با مدیریت به استخدام و یا قرارداد این نوع از منابع.

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

شیرپوینت در قطار

امروز, I was reading through Mike Walsh’s Teach Yourself SharePoint 2007 به 24 Hours و, فوق العاده, بانوی بر روی صندلی بعدی من گفت:, "We just implemented SharePoint in our company." It’s "incredible" because people just don’t talk to me on the train 🙂 It’s funny how SharePoint was the catalyst.

The other interesting aspect was that she didn’t realize that there were books on the product. Here comment was along the lines of "It must be pretty important if people are writing books about it." I think everyone reading my blog would agree with that.

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

برچسب ها:

ریسندگی WFE موقت مجازی برای تفریح ​​و سود

I was one of 20 یا 30 (or maybe 100?) panelists last night at the نیویورک شیرپوینت کاربران گروه meeting. Instead of the usual presentation format, this was all about Q&A between the audience and the panel members. Early on, Michael Lotter introduced me to a new idea and I wanted to share.

An audience member described how his company had paid a consultant to write an application for his company. The consultant wrote it as a console application using the SharePoint object model. به عنوان یک نتیجه, this meant that the program had to be run on a server in the farm. This meant that anyone that wanted to use the app would have to log onto the server, do the work and log off. At first, this wasn’t a problem, but soon, more and more (non-technical) users needed to use the utility. His question was (paraphrasing):

"What are my options? I don’t want to keep letting users log directly onto the server, but they need that functionality."

Michael Lotter suggested that he configure a new virtual machine, join it to the farm as a WFE and let users run the application from there.

This is a pretty stunning idea for me. Generalizing this solution brings to mind the notion of essentially temporary, almost disposable WFE’s. I think it’s a pretty neat concept. This temporary WFE can run a console application that uses the SharePoint object model. You could also use it to run stsadm commands. It doesn’t have to be part of regular local balancing. If it goes down or gets wrecked, you can just spin up a new one. I repeat myself, but I just have to say that I think it’s a really neat idea.

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

برچسب ها:

خدمات بر روی سرور لیست نشده جستجو — چرا?

داشتم امروز چت با اگنس مولنر (تنها کسی که من می دانم که من در مجارستان) about a strange search configuration problem. Namely, search was missing from the "services on server" نمایش (از طریق مدیریت مرکزی -> عملیات ها -> خدمات بر روی سرور).

من تا به حال یک نگاه در یک VM عملکردی در دستگاه خود من و با هم, we determined that search was not installed on that server. There are probably a few ways to do this, but we did it by confirming that "Office SharePoint Server Search" از لیستی از خدمات را از طریق شروع گم شده بود -> ابزارهای اداری -> خدمات.

عجیب, همراه است. EXE *، * بر روی سرور بود ("C:\Program Files\Microsoft Office Servers\12.0\Bin\mssearch.exe").

من انجام یک جستجوی سریع و این وبلاگ: http://msmvps.com/blogs/obts/archive/2006/10/19/189466.aspx

این زنجیره ای ایمیل با این نکته کلیدی:

"I solved this problem. این اشتباه من بود. I choose "Web front end" instead of "Complete" در هنگام نصب."

این امیدوار کننده, but we weren’t sure if the installer had actually picked WFE instead of complete when installing MOSS.

ما برای اولین بار چک (اولین) نسخه از PSCDiagnostics * فایل در 12 کندو دایرکتوری وارد شوید و در آن وجود دارد, ما متوجه شدیم که نصب بود, در واقع, configured this server to be a web front end. End of story and it had a happy ending.

(جایی در امتداد خط, باب فاکس درگیر کردم, اما من به یاد داشته باشید او را به بحث کمک یک نظر در مورد بود افسانه 2).

بروز: وبلاگ اگنس در مورد این مطلب در اینجا: http://dotneteers.net/blogs/aghy/archive/2008/11/06/wfe-vs-complete-installation.aspx

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

استخدام گرفتن مهاجم کوچک?

یا آن را فقط به من? I’ve received three or four calls at my house since late September looking for SharePoint work. I’m used to the email solicitations, but these phone calls are a little unnerving. I haven’t had an updated resume on a job site I(like Monster pr Dice) since almost two years ago exactly. And back then, my resume was all about BizTalk and MS CRM. That’s the only place my phone number appears on line anywhere, تا آنجا که من می دانم.

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

برچسب ها:

فقط وقتی که من درباره برای غیر فعال کردن نظرات هستم …

They pull me back in!

Windows Live Spaces doesn’t do a good job protecting me from comment spam. I assume MSFT has good spam detection, but that the spammers are better. The fact remains, اما, that I get far more spam comments than I get real comments and I was just thinking in the last week or so that I was going to disable comments.

اما, امروز, I found two excellent comments in response to this post (about Limited Access) و this post (about limiting search to documents, as opposed to folders). Those comments are so complementary (in that they add a lot of value to my post), I can’t see disabling comments and thereby closing off that avenue of useful information. پس, I’ve resigned myself to being a human spam catcher / cleaner. Live spaces does provide a pretty decent way to clean up comments, but who wants to waste time doing that?

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin

کتاب محاسبات اجتماعی برای شیرپوینت 2007

در اواسط ماه ژوئیه, من یک شانس برای نویسنده دو فصل ارائه شد Brendon شوارتز و مت Ranlett است کتاب تا آینده, رایانه اجتماعی با مایکروسافت شیرپوینت 2007: برنامه های کاربردی برای پیاده سازی شیرپوینت برای فعال کردن همکاری و تعامل در تصدی. (من فکر می کنم آنها سعی داشتند تا برنده مسابقه طول که با عنوان; من فکر می کنم که آنها به دست آورد). I jumped on the opportunity and now, سرانجام, کل کتاب انجام شده است, پس از رسیدن به فروشگاه ها در ماه فوریه.

همانطور که شیرپوینت بالغ, publishers have begun to produce a new wave of books. This book is part of that wave. This wave builds upon the previous round of technical reference manuals explaining core features and functions and begins to describe how to use those features and functions to deliver business value in a very non-superficial way. I’m not saying that is anything superficial about reference manuals or their value. در واقع, a book like this on Social Computing probably couldn’t have been written a year ago. (عینا, البته می توانست آن را نوشته شده است, اما من فکر نمی کنم جامعه بزرگتر را برای آن آماده شده است). The new wave of books tends to assume the reader basically understands core features and instead describes how to use those core features in interesting new ways.

همانطور که از عنوان به سادگی می گوید, this is a book about Social Computing. Social Computing is a subject ripe for discussion and exploration and indeed, the discussion is well underway among early adopters. Many companies are now quite comfortable with document libraries, نوع محتوا, جستجو, گردش کار اساسی, غیره. Having implemented and mastered these bread and butter features, they are ready for the next level. This book offers insights and strategies to do that and thereby, بهره برداری از فرصت های جدید و جالب که محاسبات اجتماعی به ارمغان می آورد را به جهان.

Social Computing is a big and evolving subject and covers a lot off things, از جمله وبلاگ ها, ویکی, social tagging, جستجو, interactive media, mashups, "people," and other socially-oriented "stuff." SharePoint has a very strong story to tell in this arena and now, at this time in Internet & SharePoint history, is the time to tell it. All things being equal between companies, those that successfully leverage Social Computing will outpace and outgrow those that do not. The train is getting ready to leave the station and you don’t want to miss it! این کتاب بلیط خود را برای یک کرسی در آن قطار است 🙂

خط پایین, this is a blog entry pitching the book. It’s due out in February. Pre-order it here: رایانه اجتماعی با مایکروسافت شیرپوینت 2007: برنامه های کاربردی برای پیاده سازی شیرپوینت برای فعال کردن همکاری و تعامل در تصدی.

(Full disclosure — there’s no royalty money in it for me if you choose to buy the book, so this isn’t an effort to boost my savings account, though if it sells well, it will help out my ego, which always wants more, more, more!)

As an aside, but very important aside, I thank باب فاکس for connecting me with Brendon. And naturally, I thank Brendon and Matt for taking a chance on a newbie such as myself and letting me author chapters in their very important book!

</پایان>

مشترک شدن در وبلاگ من.

من در توییتر در http://www.twitter.com/pagalvin