Impression Quick: Pleanálaí Córas Toilleadh Ionad le haghaidh SharePoint

Fired mé suas díreach an uirlis phleanála cumas go gach rage na laethanta.

Fuair ​​mé sé éasca a úsáid agus go tapa bunaithe ar mhúnla timpeallacht cliant oibrigh mé ar an samhradh seo caite.

Le roinnt trepidation, Brúite mé an cnaipe deiridh OK agus mhol sé rud éigin go bhfuil go leor cosúil le cad a thug muid ár gcliant (chaith muid i ndáiríre i freastalaí dara iarratais ar úsáid excel sa todhchaí). I take that to be a good sign and increases my confidence in the tool.

Dealraíonn sé stuif deas cumhachtach phointe tosaigh i bhfad níos fearr ná mar leathanach bán.

I like that lets you get into some good detail about the environment. How many users, conas a theilgean tú go mbeidh siad úsáid as an gcóras (fhoilsiú, comhoibriú, etc), oifig brainse agus nascacht / network capacity between them and the mama server. Good stuff.

Iarrann sé ceisteanna bunaithe leathan agus ansin ligeann tú tweak na sonraí le haghaidh múnla deas granular de do thimpeallacht.

Hesitated mé é a íoslódáil toisc go bhfuil mé an oiread sin rudaí eile chun breathnú ar sé, read and try to digest. I’m glad I did.

It’s an easy two-step process. Download system center capacity planner and then download the SharePoint models. It runs nicely on Windows XP.

Bunaithe ar mo tuiscint tapaidh, Ní féidir liom a fheiceáil conas a d'fhéadfadh sé a cuntas a:

  • Cuardaigh: Cáipéisí Iomlán, b'fhéidir cineál doiciméid, Teangacha.
  • Excel freastalaí: cé mhéad, más rud é ar chor ar bith?
  • Foirmeacha freastalaí: cé mhéad, más rud é ar chor ar bith?
  • BDC: cé mhéad, más rud é ar chor ar bith.

Féadfaidh na a mhúnlú agus mé nach raibh ach iad a fheiceáil sna 10 athbhreithniú nóiméad.

Beidh mé ag úsáid cinnte é ar mo chliant seo chugainn.

Más rud é nach raibh mé comhairleoir agus ina ionad sin ag obair le cuideachta fíor :), I’d model my current environment and see how the tool’s recommended model matches up against reality. That would be pretty neat. It could lead to some good infrastructure discussion.

</deireadh>

Clibeanna Technorati:

Réiteach: System.IO.FileNotFoundException ar “SPSite = nua SPSite(moladh)”

Suas chun dáta: Phost mé an cheist seo go MSDN anseo (http://forums.microsoft.com/Forums/ShowPost.aspx?PostID=2808543&SiteID=1&mode=1) and Michael Washam of Microsoft responded with a concise answer.

Chruthaigh mé ar an ngréasán chun gníomhú mar Facade BDC-chairdiúil to a SharePoint list. When I used this from my development environment, d'oibrigh sé fíneáil. Nuair a migrated mé seo chuig freastalaí nua, Bhain mé an earráid seo:

System.IO.FileNotFoundException: An t-iarratas Gréasáin ag http://localhost/sandbox nach bhféadfaí a aimsiú. Fíoraigh go bhfuil tú clóscríofa i gceart an URL. Má ba chóir an URL a bheith ag freastal ar ábhar atá ann cheana, féadfaidh an riarthóir córas gá le mapála nua URL iarraidh a chur leis an iarratas beartaithe. ag Microsoft.SharePoint.SPSite .. ctor(SPFarm feirme, Uri requestUri, Boole contextSite, SPUserToken userToken) ag Microsoft.SharePoint.SPSite .. ctor(Teaghrán requestUrl) ag Conchango.xyzzy.GetExistingDocument(Teaghrán minId, Teaghrán maxId, Teaghrán teideal scagaire) i C:\Doiciméid agus Settings Paul Mo Doiciméid Visual Studio 2005 Tionscadail xyzzy BDC_DocReview BDC_DocReview DocReviewFacade.asmx.cs:líne 69

Anseo tá líne 69:

ag baint úsáide as (Láithreán SPSite = nua SPSite("http://localhost/sandbox"))

Bhain mé triail as athruithe éagsúla ar an URL, lena n-áirítear úsáid a bhaint as an fhreastalaí ainm fíor, a seoladh IP, slaiseanna trailing ar an URL, etc. I always got that error.

Bhain mé úsáid An Google to research it. Lots of people face this issue, nó malartú uirthi, ach an chuma aon duine a bhfuil réiteach air.

Tricksy MOSS ar fáil den sórt sin earráid mionsonraithe nach raibh sé tarlú go dom a sheiceáil leis an 12 hive logs. Faoi dheireadh, faoi 24 uair an chloig tar éis mo chomhghleacaí Mhol féidir liom mar sin, Sheiceáil mé amach an 12 logáil hive agus fuair sé seo:

Eisceacht Tharla agus ag iarraidh a fháil ar an bhfeirm áitiúil:
System.Security.SecurityException: Nach dtugtar rochtain clárlann Iarrtha cheadaítear.
ag System.ThrowHelper.ThrowSecurityException(ExceptionResource acmhainn) ag
(Ainm Teaghrán, Inscríofa Boole) ag
(Ainm Teaghrán) ag
() ag
() ag
(SPFarm& feirme, Boole& isJoined)
Ba é an Crios an tionól gur theip:  MyComputer

D'oscail sé seo suas bealaí nua taighde, mar sin bhí sé ar ais go dtí an Google. A thug mé chun an fóram phost: http://forums.codecharge.com / posts.php?post_id = 67,135. That didn’t really help me but it did start making me think there was a database and/or security issue. I soldiered on and Andrew Connell ar post finally triggered the thought that I should make sure that the application pool’s identity account had appropriate access to the database. I thought it already did. Mar sin féin, Chuaigh mo chomhghleacaí agus thug an app linn snámha aitheantais cuntas rochtain iomlán a bheith SQL.

Chomh luath agus a rinne sí go bhfuil athrú, everything started working.

Cad a tharla ansin is fearr a shloinneadh mar haiku dán:

Fadhbanna a ardú a lámha.
You swing and miss. Try again.
Rath! But how? Cén fáth ar?

Ní raibh sí ag iarraidh chun rudaí a fhágáil ina n-aonar mar sin, preferring a thabhairt ar an cead íosta is gá (agus is dócha le súil a scríobh ar iontráil bhlag; Buille mé léi chun an Punch, muhahahahaha!).

Bhain sí ceadanna a chéile ón gcuntas aitheantais linn snámha app go dtí … there was no longer any explicit permission for the app pool identity account at all. The web service continued to work just fine.

We went and rebooted the servers. Everything continued to work fine.

Mar sin,, a recap: we gave the app pool identity full access and then took it away. The web service started working and never stopped working. Bizarre.

Má tá aithne ag duine ar bith cén fáth ar chóir a bheith ag obair, fág tagairt le do thoil.

</deireadh>

Clibeanna Technorati:

Réiteach (saghas): Socraigh Tosaíocht ar Tasc Ag baint úsáide as SharePoint Dearthóir

Tá mé cás gnó mar seo:

  • A uaslódála úsáideora doiciméad leabharlann doiciméad.
  • Roghnaíonn sí cineál inneachair agus a thiocfaidh sonraí meta mar is gá. Is é ceann de na réimsí sonraí meta bratach, "Urgent".
  • Triggers seo sreabhadh oibre Dearthóir SharePoint go, i measc nithe eile, uses the "Collect Data from a User" gníomh.

"Collect Data from a User" Cruthaíonn mír i dtasc liosta cheadú iarraidh don cháipéis.

Is gá dom a chruthú d'fhonn an liosta tasc a léirigh iarratais phráinneacha le faomhadh.

Réiteach: Put the word "URGENT:" into the title of these tasks.

I would have preferred to specify the priority field directly. Mar sin féin, Raibh mé in ann é sin a dhéanamh ar chúiseanna éagsúla:

  1. Ní dhéanann an gníomh a bhailiú sonraí a sholáthróidh meicníocht le nuashonrú ar bith eile seachas an réimse teideal (agus iad siúd réimsí breise a ba mhaith leat chun sonraí a bhailiú).
  2. The "assign a to do item" Tá an fhadhb chéanna gníomh.
  3. Tá sé is féidir a chur isteach le mír i liosta (i.e. cuir mír isteach ar an liosta tasc díreach) but this not a blocking action. That means that the workflow will not wait for the user to complete that task.

Mheas mé cúpla cur chuige roimh (buíochas le Dia) realizing we could just put "urgent" sa teideal.

  1. Tosaigh le sreabhadh oibre ar an liosta tasc féin ionas gur nuair atá tasc nua a cruthaíodh, sé trasna ar bhealach tagairtí ar ais chun an doiciméad a thosaigh an chéad sreabhadh oibre, pull out the urgent flag value and update priority as needed.
  2. Do something similar with an event receiver. On create of the task, an doiciméid ghaolmhara a aimsiú agus a thabhairt cothrom le dáta tosaíocht mar is gá.
  3. Use the "create list item" action in conjunction with the "wait for field change" action and an event receiver. If we create a list item, we can specify all the fields we want. Use an event receiver to update the original item when the user completes the task and the "wait for field change" action’s condition would be met and the workflow would proceed. (Ar chúis éigin, Bhí mé níos mó nó níos lú a shocrú ar an gcur chuige seo sula gcinnfidh sé críonna chun siúl amach ar feadh tamaill).

Tá míbhuntáiste le mo réiteach (ar leataobh as an bhfíric go léir iúl ach amháin an téacs an teideal práinne). Since "collect feedback" ach glacann ainmneacha teideal códaithe crua, I need to use two different collect feedback actions whose only difference is that hard coded title.

Ach, ar a laghad, níl a réiteach nach gá glacadóirí imeacht nó gníomhartha SPD saincheaptha.

Má tá duine éigin réiteach seo ar bhealach níos cliste, cuir in iúl dom.

</deireadh>

Dé Domhnaigh greannmhar: Coimeád Do Son Ar a Toes

One of the many joys I take in being the parent of a ten year old boy is finding new ways to make him laugh or think a little differently about questions and things in the world. I’ve used these techniques over the years:

===

Misconstrue chuid ceisteanna:

A: Cén lá é?

Daid: Lá amháin roimh Dé Céadaoin.

S: Ní, Cén lá den mhí go bhfuil sé?

D: Ó, tá sé 4 lá tar éis Jan 25.

===

Tickle dó agus a insint dó go mbainfidh tú stop a chur nuair a stopann sé ag gáire.

===

Téigh síos staighre go dtí an seomra teilifíse agus a fhógairt, "It’s good to be the daddy." Ansin,, phiocadh suas dó a fháil ar an láthair te ar an tolg agus an cainéal athrú go rud maith, cosúil leis an cainéal scifi.

===

Read stories out loud. Insert ridiculous sentences in the middle of the story. My favorite is to add "killing him instantly" when the main characters encounters some minor trouble. Mar shampla, "the knife slipped in his hand, gearradh a mhéar innéacs, marú dó láithreach." Nothing quite gets your son out of a complacent and passive listening mode as the main character being killed instantly.

===

Read stories incorrectly. Read sentences backward. The best part of this is that the first couple of times I did this, my son thought he was helping me out by pointing out that I wasn’t reading the words in the right order. The down side is that he really doesn’t want me to read to him any more.

===

Go to Burger King for lunch. My son would eat BK morning, night and day if we let him. When going, insint dó, "I know you hate going there, but we simply have no choice." When he tries to explain that he loves BK, talk over him and say things like "We don’t have time to argue about it! We’re going and I don’t want to have a discussion!"

(Seo i gcuimhne dom ar mo Borg joke is fearr leat: "Borger King: We do it our way. Your way is irrelevant." hahaha!)

===

Leabhar Oscailte do leathanach 9 agus a rá, "hmm, that’s an odd page".

===

Fill the world with arch enemies. "We’re going to run quick over toe 7-11, arch-enemy of 11-7".

"Your aunt lives in Ringwood, namhaid áirse go dtí an baile na Squarewood."

===

Tiomáint muid suas go dtí Massachusetts, ón New Jersey cúpla uair sa bhliain agus a thógann sé go minic faoi 5 hours door to door. As we arrive home and pull into the driveway say, "oh, Rinne mé dearmad, ní mór dúinn a dhéanamh Fleasc mear Baile Depot."

===

Nuair a breathnú ar eipeasóid foréigneach i seó teilifíse (mar shampla Heroes), insint do mhac, "some times, ag an obair, I need to destroy my enemies by burning them alive using the powers of my mind. I don’t like doing it, ach gotta leat a dhéanamh cad gotta leat a dhéanamh."

===

Nuair a breathnú ar scannáin horror dona (see "It’s good to be the Daddy" thuas), ascribe improbable motives to the evil character. Mar shampla, tell your son that the reason Jason is so angry is because he wants some cake and they won’t let him have any.

===

Explain phone numbers incorrectly. Instead of telling your son to dial "201-111-2222", tell him it’s "2-011-1-12222".

===

Cad iad na cleasanna a úsáideann tú?

</deireadh>

Clibeanna Technorati:

Aoi Blagadóireacht?

It seems fairly common in the political blogging world for a given blog to host a "guest blogger". When I’m in political blog land I must be wearing a different pair of eye glasses because it never occurred to me that "guest blogging" might make sense for a technical blog like mine. That is, until I read this post by Kanwal Khipple over at The Best of SharePoint Buzz- Eanáir 2008.

Thinking on it, I believe there could be a lot of people out there in SharePoint land that have the itch to put together an article, short or long, technical or more business oriented, etc, but don’t run their own blog for all the usual reasons. If you’re one of those people, I’d be happy to host it. You can reach me via email or leave a comment. I haven’t thought through any kind of guidelines, but I suppose that I’d want it to be oriented around SharePoint, but I also like to throw in some personal observations about consulting now agus ansin. I’m also trying to publish a "Dé Domhnaigh greannmhar" every week and I’m bound to run out of ideas for that.

If you’re a regular blogger already but would like to experiment with guest blogging, I’m definitely open to that too, either as a host or a guest 🙂

</deireadh>

Clibeanna Technorati:

Tá sé seo Cén fáth nach féidir liom Cosúil Ag baint úsáide as Uirlisí nialais Lá

http://groups.google.com/group/microsoft.public.sharepoint.portalserver.development/browse_thread/thread/41e8cbe4f15e8b4c/76506ea401403e35?#76506ea401403e35

Má tá an uirlis ag déanamh rudaí nach dtuigeann tú agus ansin go mainneoidh sé i chéim n ar líon anaithnid na céimeanna, go bhfuil tú marbh san uisce…

</deireadh>

Clibeanna Technorati:

Réiteach a theipeann Iompórtáil BDC ADF: “An earráid seo a leanas a tharla:”

Bhí mé arís crafting BDC comhaid ADF de láimh (ionas gur féidir liom a thógáil suas mo "a fháil as mo Lawn!" Mé) agus bhuail an earráid seo álainn:

íomhá

"Application definition import failed. An earráid seo a leanas a tharla:"

Mar a fheiceann tú, níl earráid, ach … Ní sé ag dul a insint dom cad é.

I mo chás, the issue turned out that I had started off with a functional ADF for a different project that connected to a database and executed a SQL query against a view. In this new project, I am calling a method on a web service. I had stripped out the DB specific stuff and added my web service stuff, ach theip chun cothrom le dáta an <LobSystem>’s Type attribute. I switched it to "WebService" agus bhog mé sona sásta ar earráidí allmhairithe níos nuaí agus níos spreagúla, Láimhseáladh in am trátha.

Seo é an LobSystem mícheart:

<LobSystem
xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation =http://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="Database"
Version="1.0.0.0" Name="xyzzy"
xmlns="
http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">

Tá sé seo ceart:

<LobSystem
xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation =http://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="WebService"
Version="1.0.0.0" Name="xyzzy"
xmlns="
http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">

</deireadh>

Clibeanna Technorati:

Dealraíonn BDC ar Athsholáthar Inmharthana Chun lookups

Suas chun dáta: Tá an MSDN phost roinnt tuairimí suimiúla ó JXJ bunaithe ar a, den chuid is mó diúltach, taithí ag dul síos an cosán: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2623565&SiteID=1

We have a business scenario where we need to link two documents libraries via a common "document ID" réimse.

We often use a lookup column to implements links like this. There are several drawbacks to lookup columns, three of which are:

  1. Only one column from the lookup lookup library can be linked.
  2. Performance: The source library could contain hundreds of entries. That’s too many entries in the lookup.
  3. Cuardaigh: There is no integrated search. I don’t mean in the MOSS sense of search, but there’s no way to search / filter on multiple columns from the source document library and locate the link you want.

Backed by BDC, we can use a "business data" column type and it provides a superior search and even allows multiple columns of data to appear in list views.

I’ve had some preliminary success with this approach and plan to write more about it.

If you’ve worked this angle before and have any comments, please share!

</deireadh>

Clibeanna Technorati:

Réiteach a Earráid Iompórtáil BDC: “Níorbh fhéidir luchtú Cineál cur síos TypeName TypeDescriptor ar …”

Tá mé ag obair leis inniu BDC, coding ADF files by hand and generating myself some errors. One such error:

Allmhairiú sainmhíniú Iarratais theip ar. An earráid seo a leanas a tharla: Níorbh fhéidir luchtú Cineál cur síos TypeName TypeDescriptor ar. Ainm Paraiméadar: Thángthas Earráid typeName ag nó díreach roimh an Líne: '35’ agus Seasamh ó: ’20’.

MOSS taispeáint earráid seo nuair a rinne mé a allmhairiú an comhad XML ADF.

Rinne mé taighde ar an Internets agus fuarthas amach go raibh mé ag tagairt don ainm mar shampla LOB (ó na <LobSystemInstance>) i mo <TypeDescriptor> nód nuair ba chóir dom a bheith tagairt an t-ainm LOB féin (ó <LobSystem>).

Mícheart:

<TypeDescriptor TypeName="Conchango.KeyValue, LOB Ainm Cúirte Céadchéime" Name="KeyValue">

Correct:

<TypeDescriptor TypeName="Conchango.KeyValue, Ainm LOB" Name="KeyValue">

Tá súil agam go Sábhálann an ceann duine éigin uair an chloig nó dhá cheann de ama.

</deireadh>

Liostáil le mo bhlag!

Clibeanna Technorati: