بایگانی ماهانه: مه 2008

شیرپوینت مهاجرت نکته: استفاده “داده untagged” نمایش ها برای مهاجرت افزایشی

In one or my very first blog posts, I described the overall process we followed to migrate a customer from SPS 2003 to MOSS. A reader left a comment asking for more detail and here it is.

For that migration project, we had to find a good way to move a lot of SPS 2003 documents over to MOSS. The initial load was easy enough. Create a new target document library in MOSS and use windows explorer to move the documents.

This is the new document library:

تصویر

Open up two windows explorers. Point the first at SPS 2003 and the second at the new document library in MOSS. The following screen shot shows this. Note that the top browser is actually pointing at my c:\temp drive, but you can imagine it pointing to an SPS 2003 document library:

تصویر

After that drag and drop operation, my target looks like this:

تصویر

Now it’s time to deal with the metadata. Assume we have just one column of metadata for these documents named "location." We can see from the above "all documents" view that the location is blank. It’s easy enough to use a data sheet view to enter the location, or even go into each document’s properties one by one to add a location. Let’s assume that there is no practical way to assign the location column a value automatically and that end users must do this by hand. بعلاوه, let’s assume there are hundreds of documents (maybe thousands) and that it will take many many days to update the metadata. As we all know, no one is going to sit down and work for four of five days straight updating meta data for documents. در عوض, they will break that out over a period of weeks or possibly longer. To facilitate this process, we can create an "untagged data" view as shown:

تصویر

اکنون, when someone sits down to spend their allocated daily hour or two to tag migrated documents, they can use the "untagged documents" view to focus their effort:

تصویر

As users tag documents, they drop off this list.

This notion of an untagged data view can also help with a class of data validation problem people inquire about on the forums. خارج از کادر, there’s no way to prevent a user from uploading a document to MOSS and then not enter meta data. We can specify that a particular site column is mandatory and the user won’t be allowed to push the save button. اما, if the user uploads and then closes the browser (or uses windows explorer to upload the document), we can’t force the user to enter meta data (دوباره, از جعبه).

This approach can be used to help with that situation. We can use a "poorly tagged data" view to easily identify these documents and correct them. Couple this with a KPI and you have good visibility to the data with drill-down to manage these exceptional circumstances.

</پایان>

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

برچسب ها:

جستجو در شیرپوینت کلمات: “نرم افزار” بنیادی است. “برنامه نویسی”

در MSDN جستجو در انجمن, مردم اغلب سوال شبیه به این را بپرسید:

"I have a document named ‘Programming Guide’ but when I search for ‘Pro’ جستجو آن را پیدا می کند نیست."

این نه ممکن است احساس آن را دوست دارم, but that amounts to a wildcard search. The MOSS/WSS user interface does not support wildcard search out of the box.

اگر شما را به بخش های جستجوی وب حفاری, شما یک چک باکس, "Enable search term stemming". Stemming is a human-language term. It’s not a computer language substring() تابع نوع.

اینها برخی از ساقه:

  • "fish" is a stem to "fishing"
  • "major" is a stem to "majoring"

این ناشی نمی:

  • "maj" is not a stem to "major"
  • "pro" is not a stem to "programmer"

The WSS/MOSS search engine does support wild card search through the API. Here is one blog article that describes how to do that: http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/03/06/how-to-use-the-moss-enterprise-search-fulltextsqlquery-class.aspx

A 3rd party product, Ontolica, provides wild card search. I have not used that product.

</پایان>

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

برچسب ها:

ورود فعالیت گردش کار در طراح شیرپوینت

هفته گذشته, من چگونه می توان به حلقه و پیاده سازی یک ماشین دولتی با استفاده از شیرپوینت طراح و ذکر, کنار, که من احتمالا یک پست وبلاگ در مورد ورود به سیستم گردش کار بهتر نوشتن.

خوب, Sanjeev Rajput beat me to it. یک نگاه.

صرفه جویی در مصرف اطلاعات ورود به سیستم را به یک لیست سفارشی به نظر می رسد نسبت به با استفاده از تاریخ گردش کار به طور منظم:

  • این فقط یک لیست سفارشی, بنابراین شما می توانید صادرات آن را به راحتی به اکسل.
  • شما می توانید نمایش ایجاد کنید, به صورت پویا داده ها فیلتر, غیره.
  • این موضوع به پاکسازی خودکار شما را با سابقه گردش کار به طور منظم دریافت کنید.

برخی از خطرات وجود دارد / جنبه های منفی:

  • بسیاری از گردش در حال اجرا با تعداد زیادی از ورود به سیستم می تواند داده های بسیار زیادی را می شود به این لیست نوشته می شود.
  • Maybe you *do* want automatic purging. You don’t get that feature with this approach (بدون برنامه نویسی).
  • Security is tricky. In order to write to the list, the user must have permission to do so. That means that it’s probably not suitable for any kind of "official" audit since the user could discover the list and edit it. This could be overcome with some custom programming.

</پایان>

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

مشکل با Tribbles ها … گمراه شدن .. KPI ها

This past week I finished off a proof of concept project for a client in Manhattan. While implementing the solution, I ran into another shortcoming of MOSS KPIs (see here for a previous KPI issue and my workaround).

زمینه: We used SharePoint Designer workflow to model a fairly complex multi-month long business process. As it chugged along, it would update some state information in a list. KPIs use this data to do their mojo.

We decided to create a new site each time a new one of these business processes kicks off. Aside from the workflow itself, these sites host several document libraries, use audience targeting and so forth. Just a bunch of stuff to help with collaboration among the internal employees, traveling employees and the client’s participating business partners.

We also wanted to show some KPIs that monitor the overall health of that specific business process as promoted by the workflow state data and viewed using the KPIs.

سرانجام, we used KPI list items that do a count on a view on a list in the site (as opposed to pulling from another data source, like excel or SQL).

The Problem: As you can imagine, assuming we were to carry the basic idea forward into a production world, we would want a site template. Provision a new site based off a "business process" قالب.

The problem is that you can’t seem to get a functioning KPI that way. When I create a new site based on a template with a KPI List and KPI web part, the new site’s KPI data are broken. The new site’s KPI list points at whatever source you defined when you first saved it as a template.

By way of example:

  • Create a new site and build it to perfection. This site includes the KPI data.
  • Save that as a template.
  • Create a new site and base if off the template.
  • This new site’s KPI list items’ sources point to the site template, not the current site.

The instantiation process does not correct the URL.

I tried to solve this by specifying a relative URL when defining the KPI list item. اما, I couldn’t get any variation of that to work.

I always want to pair up these "problem" blog posts with some kind of solution, but in this case I don’t have a good one. The best I can figure is that you need to go in to the newly provisioned site and fix everything manually. The UI makes this even harder because changing the URL of the source list causes a refresh, so you really have to redefine the whole thing from scratch.

If anyone knows a better way to handle this, لطفا نظرتان را تایپ کنید.

</پایان>

برچسب ها:

خزه نصب و راه اندازی مزرعه کوچک و پیکربندی داستان جنگ

این هفته, I’ve struggled a bit with my team to get MOSS installed in a simple two-server farm. Having gone through it, من درک بیشتری برای انواع مشکلات مردم در انجمن MSDN و جاهای دیگر گزارش.

پیکربندی مزرعه نهایی:

  • SQL / صفحه اول / اینترانت WFE در داخل دیوار آتش.
  • WFE در DMZ.
  • نوعی از فایروال بین DMZ و سرور داخلی.

قبل از اینکه ما شروع پروژه, we let the client know which ports needed to be open. During the give and take, به جلو و عقب که بیش از, ما هرگز به صراحت دو چیز مهم است گفت::

  1. SSL معنی است که شما نیاز به یک گواهینامه.
  2. The DMZ server must be part of a domain.

روز اول, we showed up to install MOSS and learned that the domain accounts for database and MOSS hadn’t been created. To move things along, we went ahead and installed everything with a local account on the intranet server.

در این مرحله, سردرگمی بیش از گواهی اس اس ال و کشف, متاسفانه, decided to have our infrastructure guy come back later that week to continue installing the DMZ server. در این زمان, ما معماران راه حل های پیش رو با مسائل کسب و کار نقل مکان کرد.

آخر هفته می رود و توسط مشتری به دست آوردن گواهی.

مرد زیرساخت های ما نشان می دهد و در می یابد که سرور DMZ به هر دامنه ملحق نشده (هر دو دامنه محیط با اعتماد محدود و یا دامنه اینترانت). We wasted nearly a 1/2 روز به روز بر آن. If we hadn’t let the missing SSL certificate bog us down, we would have discovered this earlier. Oh well….

یکی دیگر از روز می گذرد و کمیته های مختلف امنیتی, اشخاص علاقه مند و (نه چندان) تماشاگران بی گناه همه اتفاق نظر دارند که آن را OK برای پیوستن به سرور DMZ با دامنه اینترانت (این POC است, بعد از همه, نه یک راه حل تولید).

Infrastructure guy comes in to wrap things up. This time we successfully pass through the the modern-day gauntlet affectionately known as the "SharePoint Configuration Wizard." We have a peek in central administration and … یی به دست چپ رفتن! … DMZ server is listed in the farm. We look a little closer and realize we broke open the Champaign a mite bit early. WSS services is stuck in a "starting" وضعیت.

داستان کوتاه مدت, it turns out that we forgot to change the identity of the service account via central administration from the original local account to the new domain account. We did that, دوباره فرار جادوگر پیکربندی و voila! We were in business.

</پایان>

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

انالز Culpa — شیرپوینت طراح * حالت، گردش ماشین را ایجاد کنید

I’ve recently learned that it’s possible and even fairly easy to create a state machine workflow using SharePoint Designer. Necessity is the mother of invention and all that good stuff and I had a need this week that looked for an invention. Coincidentally, من در سراسر آمد این ارسال انجمن MSDN as well. My personal experience this week and that "independent confirmation" lends strength to my conviction. I plan to write about this at greater length with a full blown example, اما در اینجا جان کلام آن است:

  • این رویکرد اهرم این واقعیت است که گردش می توانید یک قلم اول از اقلام لیست, thereby triggering a new workflow. I’ve normally considered this to be a nuisance and even بلاگ مورد با استفاده از سمافورها به آن دسته.
  • شیرپوینت اجازه می دهد تا چند گردش مستقل فعال در برابر یک قلم اول از اقلام لیست خاص.

آن را پیکربندی کنید:

  • طراحی ماشین دولت خود را (به عنوان مثال, دولتها و چگونگی انتقال کشور از یک به بعد).
  • اجرای هر ایالت را به عنوان گردش کار جداگانه.
  • پیکربندی هر یک از این گردش دولت به اجرا در پاسخ به هر گونه تغییر در قلم اول از اقلام لیست.

هر گردش کار دولت به دنبال این الگوی خشن:

  • پس از مقداردهی اولیه, determine whether it should really run by inspecting state information in the "current item". Abort if not.
  • انجام کار.
  • Update the "current item" with new state information. This triggers an update to the current item and fires off all the state workflows.

گذشته از منافع آشکار است که می تواند اعلانی گردش دستگاه دولتی ایجاد, تمام اطلاعات دولت فوق العاده برای KPI ها ساختمان و دیدگاه های جالب.

دارای اشکال نسبتا قابل توجهی — استاندارد ردیابی تاریخ گردش کار است و حتی بیشتر بی فایده تر از حد نرمال 🙂 که به راحتی رفع, اما. Store all of your audit type information in a custom list. That’s probably a good idea even for vanilla sequential workflow, اما این برای وبلاگ دیگر 🙂

I call this a "mea culpa" چون من, متاسفانه, said more than once on forums and elsewhere that one must use visual studio to create a state machine workflow. That simply isn’t true.

</پایان>

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

برچسب ها:

آموزش راه سخت — WFE DMZ باید در یک دامنه

Although it’s not literally true, as a practical matter, an internet-facing web front end in a DMZ must be in a domain (i.e. not some standalone server in its own little workgroup). It doesn’t need to be in the same domain as the internal WFE(ها) and other servers (and probably shouldn’t), but it needs to be a domain.

My colleagues and I spent an inordinate amount of time on a proposal which included SharePoint pre-requisites. This included a comprehensive list of firewall configurations that would enable the DMZ server to join the farm and so forth. متاسفانه, we failed to add a sentence somewhere that said, to the effect, "the whole bloody point of this configuration is to allow your DMZ WFE server, in a domain, to join the internal farm."

A perfect storm of events, where we basically looked left when we might have looked right, conspired to hide this problem from us until fairly late in the process, thus preventing me from invoking my "tell bad news early" rule.

Sigh.

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

برچسب ها:

اگر شما از توییتر سعی نمی …

Twitter is a very odd duck. I’ve been using Twitter for a little over a month and in some indefinable way, it’s almost as important to me as email. I find myself vaguely unsettled if I wait too long before looking over what others are twittering about. I get annoyed at Twitter’s occasional performance problems because it means I’m missing out. I get a little puff of excitement when I see a new Woot announcement.

این یک سازنده جامعه واقعی در راه است که واقعا مکمل وبلاگ ها و انجمن ها و حتی چهره شخصی به جلسات صورت.

در ماه گذشته, من تلاش یک نفر را در تکان دادن سرد در حالی که تلاش برای مدیریت سدر دنبال کردهاید و.

I’ve learned personal detail about many folks I mainly "know" از طریق وبلاگ ها — جایی که آنها زندگی می کنند, نوع پروژه آنها در کار, که آنها را به یک کار / مسائل مربوط به خانواده را به مدیریت درست مثل من.

مادر یک شخص درگذشت … a sad event for sure. But sharing that fact changes and enhances the character of the whole experience.

این فقط مسائل شخصی.

There’s more to it than that. It’s also another medium for sharing ideas, و یا در اغلب موارد من فکر می کنم, seeking help. Throw a question up on Twitter and you’re never left hanging and the responses typically arrive within minutes.

اگر شما آن را محاکمه نشده, you should really give it a go.

من نگاه کردن در http://www.twitter.com/pagalvin

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

برچسب ها: