Engin súpa fyrir þig! Er Cisco súpuna nasista af NLB vörum?

Í dag, I tried to access a document library via windows explorer. This doc lib is living inside a system that consists of two WFE’s load balanced by some kind of Cisco NLB solution. (Ef / þegar netið töframaður segja mér hvað það er, Ég uppfæri þessa færslu).

Windows explorer couldn’t connect. I did some research and eventually, net töframaður sagði að WebDAV er óvirkur / ekki studd / beneath the dignity of the NLB.

Svo, assuming the network wizards aren’t just telling me the network wizard equivalent of "take a long walk off a short bridge", Ég verð að furða — gerir NLB, eftir eðli, slökkva WebDAV? Do we lose our windows file explorer interface to SharePoint? Is Cisco the Súpa nasista?

Annast mosa / WSS Umhverfi — fylgjast með grunn þekkingu Microsoft

Microsoft creates knowledge base articles day in and day out and some of those are darned important to know about if you live in the SharePoint world.

Ég halda upp til hraði með þeim í gegnum þjónustu veita við góða fólkinu á www.kbalertz.com. KBAlertz enables you to sign up for your favorite MS technology and they send you digest versions of Microsoft KB articles via email.

Vefur Umsókn Policy, Öryggi Staður og Öryggi Snyrting — Vita uppsetninguna

(UPPFÆRT 11/29 að útskýra hvernig á að nálgast vefur umsókn stefnu stillingum um HÍ)

I had one of those "why is MOSS doing this to me????" moments today. Í lok, það er allt mér að kenna.

We have an enterprise MOSS project going on and we want to secure "place holder" sites so that no user may access it or see it. That’s easy:

  1. Farðu á síðuna.
  2. Brjóta öryggi arf.
  3. Fjarlægja hvern notanda / hóp úr leyfi á síðuna.

Ofangreind ætti að fara bara samansafn síða stjórnandi með leyfi til að sjá síðuna.

Ef einhver annar skráir sig í, þeir ættu ekki lengur að sjá síðuna og það ætti að vera öryggi stytt úr öllum venjulegum stöðum.

En … það var ekki. Á sama tíma, I suddenly realize that my "Joe User" standard user test account with no priv’s other than restricted read access has a "Site Actions" choice everywhere he goes. I double check one thing and double check something else. I pick up the phone to call a colleague, but put it down and check something else. I go for a walk and try everything all over again. I call a colleague and leave a message. And then, loksins, Mér finnst að á Ethan er blogg, his opening graph makes it quite simple:

Moss 2007 hefur a nýr lögun gestur Vefur Lögregla Umsókn. Þetta eru öryggi leyfi sem er bundinn við Vefur Umsókn. Þessar öryggi stillingar forgang allir öryggi stilling sem er sett á the staður safn eða blogg (Web) stigi fyrir þann notanda.

A quick visit to web application policies shows that "NT Authority\authenticated users" had been granted Full Read. I removed them from the list and everything finally started working as expected. I believe they were added in the first place by someone with the mistaken impression that that is best method to grant read access to everyone in the enterprise. It does, en, að þenja tilvitnun, "It does not mean what you think it means."

Access web application policies this way:

  1. Fara á miðlægri stjórnsýslu
  2. Veldu Umsókn Stjórn
  3. Select "Policy for Web Application"
  4. Á þeim skjá, make sure you pick the correct web application. Fyrir mig, vanskil það til the vefur umsókn Mið admin sem getur ekki verið það sem þú vilt.

Þegar ég hafði þetta vandamál, Ég leitaði fyrir eftirfarandi setningar og fékk furðu lítið í skilmálar af beinni aðstoð um þetta mál:

Site aðgerðir sýnileg fyrir alla notendur

Site aðgerðir sýnileg öllum notendum

síða aðgerðir eru öryggis ekki snyrt

tryggja MOSS síðuna

kynning á mosa öryggi

Technorati Tags:

Fljótleg og einföld: Nota Fast leitarorð fyrirspurn í Leita Core Úrslit

Fljótleg og einföld Leiðbeiningar:

Breyta síðu og bæta Core leitarniðurstöður vefur hluti.

Edit that web part and expand "Fixed Keyword Query".

Bæta fast leitarorð fyrirspurn (e.g. ContentType:"Training invoice" TrainingInvoiceNumber:1111)

Expand Results Query Options and change "Cross-Web Part query ID" to a value other than "User Query" (e.g. "Query 2").

Skýringar:

Using core search results in this manner allowed me to create a page that shows information from another site collection. The client has two major site collections: Deildir og vörur.

Þessi síða vara safn inniheldur, náttúrulega nóg, product information. Each product in the site collection aggregates data from multiple sources.

Eitt af deildum, kóðar og próf, is on such source. When users access product XYZ, they should see codes and testing data directly on the XYZ main page. Since codes and testing is hosted in another site collection, it’s a little awkward. We decided to use the core search results web part since search spans site collections. Codes and Testing manages product data via a custom list that is constrained by a specific content type. Aa keyword query that uses first the content type and then the product number narrow down the search to a single row in the custom list.

The keyword query above is an AND. It returns documents of content type "Training Invoice" and where the invoice number equals "1111".

A ágætur ávinningur af þessari nálgun: We can edit the XSL from the core search results web part and generate any format that we want.

Sjá hér (http://devcow.com/blogs/jdattis/archive/2007/04/17/SharePoint_2007_How_to_Rollup_Content_from_multiple_Site_Collections.aspx) til umræðu annars blogger um þetta efni.

</enda>Gerast áskrifandi að bloggið mitt.

Segðu mér frá blogginu þínu!

Ef þú halda a blog þessi er amk óverulega tengd SharePoint, please let me know in comments. I would love to add you to my blogg lista.

Ef þú halda a blog þessi er ekki tengd við SharePoint en langar mig til að bæta því samt, láttu mig vita. I’ll may create a separate blog list.

Vinsamlegast gefið:

  • Blogg slóðina þína (augljóslega)
  • Stutt lýsing á blogginu þínu.

I want to keep the link to "active" blogg, which I’m roughly defining as one post per week and minimum three months old. If you don’t meet that "requirement" add your name to comments anyway. It’s *my* list so I can break my own rule if I want to.

Takk!

Starfsmaður Þjálfun Stundaskrá og Efni Snið — Lækka galla í sniðmátið

The client noticed a bug today with the above mentioned template.

Course managers create courses. When creating a course, framkvæmdastjóri skilgreinir hámarksfjölda laus sæti.

The template provides for self-service enrollment. I enroll and a workflow attached to the registration list decrements the "available seats" tengslum við þessi námskeið.

Individuals may also unregister from a course. The bug lies here. Unregistering from a course does not increment the available seats counter. Þar af leiðandi, available seats is not accurate. This bug is compounded by the fact that when available seats decrements to zero, ekki meira sjálf-þjónusta skráning er leyfilegt.

Sem betur fer, Microsoft provides the workflow for this process. Even better, það er beinn-áfram workflow búin með SharePoint Designer.

Fylgdu þessum háu skrefum stigi að festa það:

  1. Skjóta upp SDP.
  2. Opna síðuna byggt af þjálfun sniðmát.
  3. Access "Attendee unregistration" workflow.
  4. Settu skrefum (Ég gerði þá fyrstu tvö skrefin):
    1. Reikna Námskeið:Fyllt Sæti mínus 1 (Framleiðsla til Variable:Calc)
    2. (þá) Uppfæra atriði í Námskeið

Smelltu á Ljúka og þú ert búinn.

Skjár skot:


SharePoint Designer:

mynd

Lokið workflow:

mynd

Reikna bora niður:

mynd

Uppfæra atriði í Námskeið:

mynd

Gefðu góða fréttir oft; gefa slæmar fréttir snemma

Ég hef verið ráðgjafi fyrir mikið af ár núna og eins og allir reyndur ráðgjafi veit, good communication is one of the key pillars to the successful delivery of a project. Það er svo augljóst, it’s really almost boring to talk about. This isn’t a post about generic communication. Staðinn, Ég ætla að skrifa um dekkri hliðar samskipta — communicating bad news.

It goes without saying that giving good news to the client is done all the time, as often as possible. Who doesn’t want to give good news? Who doesn’t like to hear good news?

On the flip side, bad news is no fun at all. I have always struggled with this. In the earlier days of my career, I would know something was awry with a project and instead of telling the client, I would work longer hours to try and solve the problem. I would enjoin my team to work harder. It’s a natural enough impulse to think that a super-human effort can save the day. Some times this works, some times it does not. Even when it "works" it’s often a mixed bag. Is the quality of the deliverable really up to spec when key parts have been developed over several 60 að 80 hour weeks?

What is the best way to handle bad news? The answer is: tell it early. Don’t wait until one week before the project budget will be consumed. If you know six weeks out that there simply isn’t enough time to deliver some bit of promised functionality, tell the client right then and there. The client may get upset (probably will), there may be incriminations and accusations and hurt feelings. En, when emotions cool off, there’s still six weeks left on the project. Six weeks is a good chunk of time. There’s time to adjust plans, change schedules, get the ball rolling on budget extensions (good luck!) and just generally come to grips with the "facts on the ground" and devise a new plan that still results in a successful project.

Case in point: I’m working on a project characterized by:

  • T&E budget with a capped "Not to exceed" dollar amount.
  • A "best efforts will be made" promise to deliver X, Y and Z by project’s end.
  • Lack of promised key resources on the client side. These resources were not withheld on purpose, nor for any "bad" reason, but they were withheld.
  • A dawning realization as the project passed the half-way point that we were not going to be able to deliver "Z" (mainly because the promised resources were not actually available).
  • Regular status reports and "CYA" documentation that backed us (the consulting team) up.
  • Tightly knit implementation team with members drawn from the consulting organization (Fyrirtækið mitt) and the client.
  • Distant management team, in both a metaphorical and physical sense. The management team was focused on another large enterprise project and due to space constraints, the implementation team was housed in a separate building on campus, down a hill and relatively far way from "civilization".

With roughly six weeks left on the project budget, við (the implementation team) knew that we were trouble. The contract said that we needed to deliver "Z". Even though the project is time & materials and even though we only promised "best efforts" to deliver Z and even though we had great justification for missing the delivery … the bottom line is that it wasn’t looking good — we were not going to deliver Z in a shape a quality that would make anyone proud.

Recognizing this, we went to management and told them that the project budget would be consumed by a certain date and that we were in trouble with Z.

A mini firestorm erupted over the next few days.

Day 1: Management team calls in its staff for a special meeting (við, the consultants are not invited). Contracts are printed and handed out to everyone and a line-by-line review ensues. Management puts the staff members on the defensive. I don’t think the phrase "Stockholm Syndrome" is *actually* used, but you get the picture. We’re a tight-knit group, eftir allt, and the staff has been working with us consultants day in and out for several months now.

Day 2: Management calls another staff meeting. They feel a little better. They want options and ideas for moving forward. They realize there’s still six weeks remaining in the current project budget, which is still a decent bit of time. One of the action items: schedule a meeting with full implementation team (including consultants).

Day 5: Full team meets, constructive meeting ensues and a new achievable plan put into place. Even better, we’ve already begun discussing phase two and the client invites us to prepare proposals for that phase immediately.

If we had waited until just three weeks remained, or even worse, one or two weeks, it would have been much different. Instead of a constructive meeting to re-align the project, we would have been pulling out status reports, parsing the contract and reviewing old emails to justify this or that decision. We would have "won" but is it really "winning" í þessu tilfelli?

Svo, if you have to give bad news, give it early. Bad news given late isn’t just bad, það er hræðilegt.

Notkun “Einstakling eða hóp” í reiknað dálki

People commonly ask about using a column of data type "Person or Group" in another column of data type "Calculated".

Neðsta lína, þetta virkar ekki í WSS 3.0 (eða Moss).

Þegar að bæta við reiknað dálk, WSS shows the list of fields it allows you to use for the calculation. If you type in the name of a column that is not in its list, it tells you:

One or more column references are not allowed, because the columns are defined as a data type that is not supported in formulas.

Lausn: Use an event handler. The event handler fires when the user saves the item. It performs the update you would have wanted the calculated column to do for you.

Useful links on calculated fields in general:

Quick disclaimer: I believe the above to be true and accurate, but I’ve seen enough clever tricks here and there in MOSS/WSS that I wouldn’t be extremely surprised (agog if you will) if someone has figured out a way to do this without resorting to code. If you’ve figured out clever work-around or know someone that did, please let me know!

MOSS / WSS segir mér: “Síðan hefur verið breytt af öðrum höfundi á …” en í raun, það var ekki.

We did some heavy duty re-organizing of our site taxonomy via "Manage Content and Structure". For reasons unknown to me, þetta ferli (þó að vinna í helstu) broke some navigation links in the quick launch. The broken links are characterized by:

  • Wrong URL. Til dæmis, it should be "/sites/departments/HumanResources/…". Hins, the new link is "/sites/Corporate/HumanResources/…".
  • Endurtekin bitar á fyrirspurninni band af fyrirsögninni, eins og í:

/staður / deildir / HumanResources / _layouts / viewlsts.aspx?BaseType=0?BaseType=0?BaseType=0?BaseType=0

That’s easy enough to fix via site settings/navigation. Except, MOSS kynnir mig með þetta þegar ég reyna að gera það:

mynd

Staðreyndin er, enginn er að gera allar breytingar þar (innskot frá mér, auðvitað).

A fljótur leita snýr upp þessa MSDN umræður: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1691577&SiteID=1

William Heurdier setur það út fallega í penultimate (og með 10/02/07) staða:

Staðreyndin er:

Til að núllstilla skemmd fyrirsagnir, þú þarft að :

– fjarlægja allar skrár undir skemmd lið

– fjarlægja skemmd stefnir

– Af listanum stillingum, add a removed list to the quick launch (Þetta endurfæða a non skemmd stefnir)

Þú ert þá gott að fara….


Sharepoint Expert – Cap Gemini Sogeti Sviss

Ég var dálítið ruglaður af því að ég hélt að vilja fara á flakk síðuna, make the change and then get hit with the "page was modified" message. Lokum, I realized I had to go to the list settings and remove/add it to quick launch. That did the trick. Happy times are here again!

</enda>

Gerast áskrifandi að bloggið mitt!

Vandamál með “Hlé Þangað Dagsetning” virkni í SPD-skapa workflows

UPDATE 12/10/07: Hotfix as described in MSDN KB929816 solved the problem for us mentioned below. Obtain the hotfix and then install on each server on the farm. Þá, sharepoint configuration utility on each server. Here is the MS Support link for that KB: http://support.microsoft.com/kb/932816.

Bakgrunnur:

Við hafa a viðskipti kröfu þar umhverfis verkfræði framkvæmdastjóri þarf að tryggja að 30 some-odd manufacturing locations located throughout the United States needs to ensure that those plants file for their various state-mandated permits in a timely fashion. One approach we’ve investigated leverages the "Pause Until Date" activity available to us via SharePoint Designer worfklow. The engineering manager (eða aðstoðarmaður hennar) enters all the required permits and reminder dates at the start of the year. The system then does all the heavy lifting.

Umhverfi:

Moss, 64 hluti, raunverulegur vél umhverfi (þróun kassi), 2 netþjónum (SQL á vefþjóninum #1, allt annað á þjóninum #2).

Vandamál:

The Pause Until Date action seems like the perfect solution and it may well prove itself to be. Hins, það virkar ekki vel út af the kassi (fyrir okkur).

  1. The workflow starf var ekki áætlað að keyra, ever. I discovered this by reading through Christopher er hvítur (http://chrissyblanco.blogspot.com/2007/06/issues-with-delay-activity-in-moss.html) excellent write-up by using stsadm thusly:

    C:\>stsadm -o getproperty -propertyname "job-workflow" -url HTTP://localhost

    <Property Exist="No" />

    C:\>

    Það var óvart vegna en auðveldlega leyst:

    C:\>stsadm -o setproperty -propertyname "job-worfklow" -propertyvalue "every 1 mínútur á milli 0 og 59" -url HTTP://localhost

    Aðgerð lokið.

    C:\>

    Þegar aðgerð sem, the first "In Progress" workflow rekinn fljótt upp og gerði það starf.

  2. Því miður, the next one didn’t work as expected. Sem betur fer, Christopher refers us hér (http://support.microsoft.com/kb/932816). As of writing of this entry, við erum að bíða eftir að IT deild til að fá að snarhasti, but it does look promising. Our copies of the affected .dll’s do not share the same byte size, svo vonandi mun þetta leysa vandamál.

Lausn:

Re-running the stsadm -o setproperty command seemed to prod the workflow timer awake. It would, u.þ.b. 7 mínútum síðar, actually wake up and continue along with the workflow.

Spurningar / Mála sem:

Hlé þar til dagsetning virkar ekki.

Hlé þar til dagsetning ekki aftur.

Workflow status does not change from "In Progress"

Workflow status stays "In Progress"