Aylıq Arxiv: Yanvar 2008

Blog Stats

I thought some people might be interested in my blog’s statistics. You can use mine as a benchmark to compare your own.

I’m running my blog on windows live spaces. They collect stats for me and I don’t know any way to control that. It’s good as far as it goes, but it’s fairly limited in that I can’t do much actual analysis with it. I’d love, məsələn, to be able to generate a listing of my most frequently hit posts but I can’t do that without a prohibitive manual process. If someone knows better, please tell me.

Live spaces status tell me: total hits for the day, total hits for the week and total hits since day zero. It also tells me what people did to get to my blog (e.g. google, MSDN forum link, və s.).

Bəzi yollarla, a "hit" göz qabağındadır. Siz indi bu cümlə oxu edirsinizsə, demək olar ki, əlbəttə ki, bir hit kimi qeydə etdik.

RSS is a little confusing. On one hand, I see individual RSS hits all day long. Lakin, I also see RSS "sweeps". A sweep is when I see 20 və ya 30 RSS hits all within a one or two second window. I assume these are automated things like google checking in on my site, bəlkə başqa insanların tarayıcılar … əmin deyil. They are definitely some kind of automated process. I cannot tell, lakin, how many of my total hits are automated and how many have an actual human on the other side. I would guess at least 100 hits per day are automated.

On to the numbers!

I wrote my first blog entry on July 27th, 2007.

I have written approximately 60 blog entries since then, more than 50 of which directly relate to SharePoint.

I started to keep track of of my hits in a spreadsheet on a daily basis at the end of September.

Monthly Starts:

First week of: Total Hits
Oktyabr 1,234
Noyabr 2,162
Dekabr 3,071
Yanvar 2008 4,253

Total by Month

Month Total Hits
Oktyabr 6,620
Noyabr 11,110
Dekabr 13,138

High Water Marks

Növü Total Hits
Best Day 958
Best Week 4,253
Total Hits Since Day Zero 42,438

I’m interested in others’ stats. If you care to share yours in the comments, please do!

</son>

Technorati Tags:

Bazar Səhər Funny: “Bəli, Bəli, Bəli. Blah, blah, blah.”

Haqqında altı il əvvəl, my four-year-old son and I were upstairs watching a Discovery channel "shark attacks" xüsusi (bəlkə bu). He was very young at the point and I was always worried what he might see on a show like this and how he might take it. I didn’t want him to develop, məsələn, hər special fears of the water or blab something inappropriate to his friends and possibly cause his baby friend network to come crashing down.

Discovery handles these kinds of subjects very well. It’s not about creating a fear of something, but rather to show how unusual it is for sharks to attack humans.

Belə, we’re watching it and there is this one particularly scary attack involving a small girl. As Discovery is building the drama of the attack, my son (who has always been extremely jumpy anyway), is getting very excited. I make some noises about how unusual it is for sharks to attack people, and how bad the poor girl must feel. I’m trying to explain that people recover from these events and become stronger for it. Lakin, I had misinterpreted his excitement. He was not worried about the girl at all. Əvəzində, əllərini alqış edərkən, O mənə deyir, "The sharks love it! It’s terrific. It’s wonderful. Its a DREAM COME TRUE!"

Mən bu şən idi düşündüm, but also very disturbing. Bir tərəfdən, Mən sevindim — hətta bir az qürur — O, güclü empathic hisslər var ki,, cross-species though they may be. As humans, we need to develop our "empathic muscles" so speak or you’ll end up like this guy 🙂 On the other hand, he was feeling cross-species empathy toward a species who was exhibiting behavior inimical to his own. I was really struggling with this when the narrator used the word "paradigm". My son picked up on that and asked me what that meant.

That’s not such an easy word to describe to a four year old, but I gave it a try. When I think of the word "paradigm", Thomas Kuhn is never far from my thoughts. Mən oxumaq The Structure of Scientific Revolutions back at Lafayette and for better or for worse, the word "paradigm" is pregnant with extra meaning for me. (Sort of like the word "contact" after hearing a Movie Phone voice tell me where I could see that movie [I thought the book was better]; I always say to myself, "CONTACT!" whenever I see or hear someone say "contact").

Hər halda, I’m trying to explain to him a Kuhnian definition, that it’s "a historical movement of thought" and that it’s a "way of thinking with a number of built-in assumptions that are hard to escape for people living at that time." Əlbəttə, you can’t talk like to a four-year old, so I’m trying to successively define it to smaller pieces and feeling rather proud of myself as I do so. (I just knew that someone outside of college would care that I had read Kuhn!).

I’m just warming to the task when he interrupts me. Waving his hand in my general direction and never taking his eyes off another brutal shark attack, he just says, "Yeah, Bəli, Bəli. Blah, blah, blah.".

So much for that 🙂

Bu noktada, Mən qaçmağa qərar, rhetorically danışan, dala oturmaq, və oğlu ilə shirks hücum insanlar izləmək zövq.

</son>

Technorati Tags:

Bir InfoPath Form istifadəçi ID əsaslanır Məlumatlarına bax Switch

Biz yeni kirayə yardım üçün bir çox views ilə InfoPath form inkişaf etmiş / on-boarding process. When the company hires a new person, İT şöbəsi və digər qruplar hərəkətə keçməsi lazımdır (əmək haqqı qurmaq, müvafiq ərizə çıxışı təmin, bir masa tapmaq, və s.). We use on form but a different view of the form for each of those functions.

At this company, most of the people involved in the business process are IT-savvy, so when they access the form, their default view is a "menu" view with buttons that direct them to their specific function. Lakin, we needed to simplify things for the new hire’s direct manager. This person should not see any of the IT related stuff. Faktiki olaraq, she should see just one view of the form and not even have an option to see the other views.

Bizim halda, that direct manager’s account is directly tied to the form courtesy of a contact selector (which I am always wanting to call a "people picker" for some reason).

The steps are as follows:

1. In design mode, go to Tools -> Form Options -> Open and Save.

2. Select "rules".

3. Create a new rule whose action is "switch to view" and whose condition leverages the userName() funksiyası.

İstifadəçi adı() returns the "simple" user name without the domain. If I log into SharePoint with credentials "domain\pagalvin", İstifadəçi adı() returns "pagalvin".

The contact selector provides three bits of information for a contact. The "AccountID" portion is most useful for this scenario. The only thing that makes this even a little bit of challenge is that the contact selector (in my environment anyway) returns the domain and user ID, as in "domain\pagalvin". This prevents us from doing a straight-forward equality condition since AccountID ("domain\pagalvin") will never equal userName() ("pagalvin").

We can get around this using the "contains" operator: AccountID contains userName().

We can take it further and pre-pend a hard-coded domain in front of the userName() function to get our equality check and eliminate the risk of a false positive on the contains operator.

We would have REALLY like to automatically switch view for other users based on their AD security group membership. Məsələn, when a member of the "IT Analytics" group accesses the form, automatically switch to the IT Analytics view. We didn’t have time to implement it, but my first thought is to create a web service that would have a method like "IsMemberOfActiveDirectorySecurityGroup", pass it the userName() and return back true or false. Does anyone have any other, more clever idea? Is there any SharePoint function we can leverage from InfoPath to make that determination?

</son>

Technorati Tags:

Qəzayla əlaqədar InfoPath Form Kod durub; Bilərəkdən çıxarmazdan

Bir forma düymələri ilə işləyən zaman, we often add rules. You access the rules editor from the properties of the button.

Tez ətrafında tıklandığında, it’s easy to accidentally click on "Edit Form Code" instead of "Rules …".

Mən bunu ilk dəfə, I canceled out of the code editor. Lakin, Mən bir az müddət sonra şəklində dərc çalıştığımızda, it required that I publish as an "Administrator-approved form template (qabaqcıl)". I didn’t actually do any programming and I absolutely didn’t want to go through an unnecessary approval process. I was in a bit of panic at the time due to time constraints. To get past it, I simply restored a previous backup and continued. I had recently seen some blog posts about people going into the form’s XML to tweak things and I was afraid I would have to do something similar.

Bugün, I did it again. Bu dəfə, Mən əlləri bir az daha çox vaxt var idi və asanlıqla bu geri ala bilərsiniz ki,.

Get:

Tools -> Form Options -> Proqramlaşdırma: "Remove Code"

Ki, daha asan əldə etmir.

</son>

Technorati Tags: ,

Minimum Təhlükəsizlik InfoPath formaları tələb

I needed to meet a security requirement for an InfoPath form today. In this business situation, a relatively small number of individuals are allowed to create a new InfoPath form and a much wider audience are allowed to edit it. (Bu, yeni işə bir iş edib ki, İnsan Resursları istifadə üzrə internat forması).

To meet that objective, I created created two new permission levels ("create and update" and "update only"), broke inheritance for the form library and assigned permissions to a "create, güncelleyin" user and a separate "update only" istifadəçi. The mechanics all worked, but it turned out to be a little more involving than I expected. (If you feel a little shaky on SharePoint permissions, check out this blog post). The required security configuration for the permission level was not the obvious set of granular permissions. To create an update-only permission level for an InfoPath form, Mən aşağıdakı etdi:

  1. Create a new permission level.
  2. Clear away all options.
  3. Selected only the following from "List permissions":
    • Edit Items
    • View Items
    • View Application Pages

Selecting these options allows a user to update a form, but not create it.

The trick was to enable the "View Application Pages". There isn’t any verbage on the permission level that indicates that’s required for update-only InfoPath forms, but turns out it is.

Create-and-Update was even stranger. I followed the same steps, 1 through 3 yuxarıda. I had to specifically add a "Site Permission" option: "Use client integration features". Yenidən, the description there does not make it seem like it ought to be required for an InfoPath form, but there it is.

</son>

O “In-arasında” Hiss; SharePoint Consulting dair müşahidələr

Qubarlı, phase one of my last project has come to a close and the client has opted to move ahead by themselves on phase two. We did our job too well, as usual 🙂 I’m now between projects, özüm kimi heyəti məsləhətçilər üçün xüsusi vaxt (as opposed to independents who must normally live in perpetual fear of in-between time 🙂 ). We staff consultants fill this time in various ways: Təkliflər yazmaq üçün satış xalq İş; kimsə üçün doldurulması və ya bu və ya qəribə iş bir şəxs qədər dəstək; studying; Blogging :). It’s hard to plan more than a few days in advance. At times like this, Mən əlləri vaxt bir az zamanı, I like to reflect.

I’m almost always sad to leave a client’s campus for the last time. We consultants form a peculiar kind of relationship with our clients, unlike your typical co-worker relationship. There’s the money angle — everyone knows the consultant’s rate is double/triple or even more than the client staff. You’re a known temporary person. As a consultant, you’re a permanent outsider with a more or less known departure date. Hələ, Siz müştəri ilə nahar yemək, nahar onları çıxarmaq və / və ya içkilər üçün, komanda üçün çerezleri almaq, qəhvə çalışır getmək, bayram kartları vermək / almaq — all the kinds of things that co-workers do. On one hand, you’re the adult in the room. You’re an expert in the technology which puts you in a superior position. Digər tərəfdən, you’re a baby. On day zero, məsləhətçilər adlarını bilmirəm, the places or the client’s lingo. Most times, məsləhətçilər bütün öyrənmək heç vaxt.

Şeyi də getmək zaman, you become very well integrated with the client’s project team. They treat you like a co-worker in one sense, and confidant in another. Since we don’t have a manager-style reporting relationship with the client, the project team often feels a little free to air their dirty laundry. They let their barriers down and can put the consultant into an awkward position, Onlar bunu həyata heç vaxt.

Consultants often don’t get to implement phase two and that never gets easy for me. I think this is especially hard with SharePoint. Phase one of of your typical SharePoint project covers setup/configuration, idarəetmə, taksonomisi, əsas məzmun növləri, və s.. və bir çox cəhətdən, uzun bərabərdir, extremely detailed discovery. That’s how I view my last project. We did all the basic stuff as well as execute some nice mini-POC’s by extending CQWP, PeopleSoft üçün BDC əlaqələri həyata, SharePoint Designer ilə olduqca kompleks iş təqdim, touched on basic KPI’s and more. A proper phase two would extend all of that with extensive, demək olar ki, yayılan BDC, həqiqətən gözəl iş, gözəl ayarlanmış və daha yaxşı axtarış, qeydlər mərkəzi, yəqin ki, excel xidmətləri və ən mühüm, reaching out to other business units. Lakin, bu, mənim üçün olmaq deyil, and that’s sad.

Bu son təcrübəyə əsaslanaraq, I think it’s fair to say that a proper enterprise SharePoint implementation is a one year process. It could probably legitimately run two years before reaching a point of diminishing returns. Details matter, əlbəttə.

That’s the consultant’s life and all of these little complaints are even worse in a SharePoint engagement. Mən əvvəl yazılı etdiyiniz kimi, SharePoint’s horizontal nature brings you into contact with a wide array of people and business units. When you’re working with so many people, SharePoint şirkət daha səmərəli ola kömək edə bilər ki, bir çox yollarla edə bilərsiniz, vaxtınıza qənaət, daha yaxşı şeylər… but you don’t always get to do them.

Mən tez-tez kollec həyata mənim ilk iş geri baxmaq, before starting a consulting career 1995. We did get to do a phase two and even a phase three. Those were nice times. On the downside, lakin, that means that that would mean a lot of routine stuff too. Managing site security. Tweaking content types. Creating views and changing views. Dealing with IE security settings. Restoring lost documents. Blech! 🙂

Mənim həzin əhval baxmayaraq, Mən daha olarıq bir yerdə təsəvvür edə bilməz (ruhlar gözəl təchizatı ilə isti çimərlik istisna olmaqla,).

Mən növbəti müəssisə SharePoint layihə həyata başlamaq üçün gözləyin bilməz.

(Heç bir yerinde, Mən bu blog giriş ən yazdı NJ Transit avtobus. I don’t think I made any friends, but one CAN blog on the bus 🙂 )

</son>

Technorati Tags:

Bazar Funny: “Onlar ki, pis deyilik”

Geri yaxın 1999, Mən Santa Barbara həftə bir çox həyata sərf edilmişdir, CA, bir müşteri üçün iş, leaving my poor wife back here in New Jersey alone. I dearly love my wife. I love her just as much today as I did when she foolishly married me 1,000 years or so ago. Somewhere xətti boyunca, Mən bir söz coined, "special fear", as in "Samantha has special fears." She as a special fear of "bugs", Onun hansı uçur və ya ladybugs deyil, but rather microbes. She’s afraid of this or that virus or unusual bacteria afflicting our son, və ya mənə, but never really herself. (O, həmçinin Vampires xüsusi qorxur, miniatür pis dolls (xüsusilə klounlar) və sualtı qəza; o Santa Claus kıyafetlerinize ildə geyimli insanlar öz xüsusi qorxu out-artıb).

Bir gün, my co-worker and I decided to drive up into the nearby mountains near Ohai. At one point, we got out of the car to take in the scene. When we got back into the car, I noticed that a tick was on my shoulder. I flicked out the window and that was it.

Bu gecə, I told her about our drive and mentioned the tick. The conversation went something like this:

S: "Oooo! Those are bad. They carry diseases."

P: "Well, Mən pəncərə həyata flicked."

S: "They are really bad though. They can get under your skin and suck blood and transfer bugs. You better check your hair and make sure there aren’t any in your head!"

P: Qışqıra-qışqıra: "My God! CAN THEY TAKE OVER YOUR MIND???"

S: Sözün mənə güvən: "No, Onlar pis deyilik."

</son>

Technorati Tags:

Tez və asan: SharePoint Designer E-poçt avtomatik olaraq Open InfoPath Form

UPDATE: Madjur Ahuja bir bu link göstərir haber qrup müzakirəsi: http://msdn2.microsoft.com/en-us/library/ms772417.aspx. It’s pretty definitive.

===

We often want to embed hyperlinks to InfoPath forms in emails sent from SharePoint Designer workflows. When users receive these emails, Onlar e-poçt linki basın və InfoPath form birbaşa bilərsiniz.

Bu canavar URL tikinti mənim üçün işləyir:

http://server/sites/departments/Technical Services/InformationTechnology/HelpDesk/_layouts/FormServer.aspx?XmlLocation=/sites/departments/Technical Services/InformationTechnology/HelpDesk/REC REM RED Forms/REC2007-12-18T11_33_48.xml&Source=http://server.corp.domain.com/sites/departments/Technical%20Services/InformationTechnology/HelpDesk/REC%20REM%20RED%20Forms/Forms/AllItems.aspx&DefaultItemOpen = 1

Şəklində adı ilə qalın harflerle qırmızı mətn əvəz, Aşağıdakı ekran göstərildiyi kimi:

image

Sabit kodlu yolu bir çox URL var Qeyd edək ki,, as well as a URL-encoded component. If this is too hard to translate to your specific situation, try turning on alerts for the form library. Post a form and when you get the email, E-poçt mənbəyinə və sizə daxil lazım olan hər şeyi görəcəksiniz.

Astute readers may notice that the above email body also shows a link that directly accesses the task via a filtered view. I plan to explain that in greater detail in a future post.

</son>

Technorati Tags: