Slándáil Íosta Riachtanach Chun Foirmeacha InfoPath

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. (Is é seo an nua-cíos bhfoirm ar-dul ar bord a úsáideann Acmhainní Daonna a Seolann an sreabhadh oibre).

Chun freastal ar an cuspóir sin a, Chruthaigh mé chruthaigh dhá leibhéal nua cead ("create and update" and "update only"), broke inheritance for the form library and assigned permissions to a "create, thabhairt cothrom le dáta" user and a separate "update only" úsáideoir. The mechanics all worked, but it turned out to be a little more involving than I expected. (Má bhraitheann tú beagán shaky ar cheadanna SharePoint, seiceáil amach 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, Rinne mé an méid seo a leanas:

  1. Cruthaigh leibhéal chead nua.
  2. Glan ar shiúl na roghanna go léir.
  3. Selected only the following from "List permissions":
    • Cuir Míreanna
    • Féach Míreanna
    • Féach ar Leathanaigh Iarratais

Roghnú na roghanna cheadaíonn don úsáideoir chun foirm a nuashonrú, ach ní é a chruthú.

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, ach casadh amach go bhfuil sé.

Create-and-Update was even stranger. I followed the same steps, 1 trí 3 thuas. I had to specifically add a "Site Permission" rogha: "Use client integration features". Arís, Ní chuireann an cur síos ann é a dhéanamh cuma mhaith ba chóir dó a bheith ag teastáil le haghaidh foirm InfoPath, ach tá sé.

</deireadh>

Clibeanna Technorati: ,

Sin “I-Idir” Tuairimí; Tuairimí ar SharePoint Consulting

Faraor, 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, Am speisialta do chomhairleoirí foirne ar nós mé féin (as opposed to independents who must normally live in perpetual fear of in-between time 🙂 ). We staff consultants fill this time in various ways: Ag obair le díolacháin tíre chun moltaí a scríobh; líonadh i do dhuine nó tacaíocht suas le duine ar seo nó go poist corr; studying; Nuacht, agus Blagadóireacht :). It’s hard to plan more than a few days in advance. At times like this, cé go bhfuil mé beagán ama ar mo lámha, 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. Ach, itheann tú lón leis an gcliant, iad a chur amach chuig dinnéar agus / nó le haghaidh deochanna, fianáin a cheannach don fhoireann, dul ar siúl caife, a thabhairt / a fháil cártaí saoire — 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. Ar an láimh eile,, you’re a baby. On day zero, Níl comhairleoirí fhios ag an ainmneacha, the places or the client’s lingo. Most times, comhairleoirí riamh a fhoghlaim go léir.

Nuair a théann rudaí go maith, 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, riamh a bhaint amach go bhfuil siad ag déanamh air.

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, rialachas, tacsanomaíocht, cineálacha ábhar bunúsach, etc. agus ar go leor bealaí, méideanna le fada, 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, cur naisc BDC chun PeopleSoft, isteach sreabhadh oibre casta go leor le SharePoint Dearthóir, touched on basic KPI’s and more. A proper phase two would extend all of that with extensive, BDC beagnach forleatach, sreabhadh oibre i ndáiríre deas, Cuardach tiúnta agus níos fearr fíneáil, Taifid ionad, Seirbhísí barr feabhais agus is dócha is tábhachtaí, reaching out to other business units. Ach, nach bhfuil sé a bheith dom, and that’s sad.

Bunaithe ar an taithí le déanaí, 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, ar ndóigh.

That’s the consultant’s life and all of these little complaints are even worse in a SharePoint engagement. Mar a scríobh mé roimh, 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, is féidir leat a fheiceáil go leor bealaí gur féidir SharePoint cuidiú leis an gcuideachta a bheith níos éifeachtaí, am a shábháil, rudaí a dhéanamh níos fearr… but you don’t always get to do them.

Táim go minic ar ais go dtí mo chéad phost amach as an choláiste, 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, áfach,, 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! 🙂

In ainneoin mo giúmar lionn dubh, Ní féidir liom a shamhlú áit mhaith liom a bheith in áit (ach amháin ag an trá te le soláthar goodly de bhiotáille).

Ní féidir liom fanacht chun tús a chur i bhfeidhm an chéad cheann eile SharePoint tionscadal fiontraíochta.

(Apropos de rud ar bith, Scríobh mé an chuid is mó den iontráil seo bhlag ar NJ Idirthurais bus. I don’t think I made any friends, but one CAN blog on the bus 🙂 )

</deireadh>

Clibeanna Technorati:

Dé Domhnaigh greannmhar: “Tá siad go dona”

Ar ais in aice le 1999, Bhí mé ag caitheamh a lán de na seachtainí amach i Santa Barbara, CA, ag obair do chliant, 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. Áit éigin feadh na líne, I coined a phrase, "special fear", as in "Samantha has special fears." She as a special fear of "bugs", which to her are not flies or ladybugs, but rather microbes. She’s afraid of this or that virus or unusual bacteria afflicting our son, or me, but never really herself. (She is also specially afraid of vampires, miniature evil dolls (especially clowns) and submarine accidents; sí amach-fhás a eagla speisialta daoine gléasta i Santa Claus outfits).

Lá amháin, 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.

An oíche sin, 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, Dh'eitil mé é amach an fhuinneog."

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: I nguth ard: "My God! CAN THEY TAKE OVER YOUR MIND???"

S: Literally shuaimhneas mé: "No, ní bhíonn siad GO dona."

</deireadh>

Clibeanna Technorati:

Tapaidh agus éasca: Foirm InfoPath Huathoibríoch Oscailte Ó SharePoint Dearthóir Ríomhphost

Suas chun dáta: Madjur Ahuja pointí amach an nasc seo ó plé grúpa nuachta: 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, Is féidir leo cliceáil ar an nasc ó r-phost agus dul díreach chuig an fhoirm InfoPath.

Oibríonn an URL ollphéist tógála le haghaidh dom:

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

In ionad an téacs dearg bolded le hainm an fhoirm, mar a thaispeántar sa scáileán seo a leanas:

íomhá

Tabhair faoi deara go bhfuil a lán de cosán crua-códaithe sa URL, 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, féachaint ar an foinse an teachtaireacht chugainn agus gheobhaidh tú a fheiceáil gach rud atá uait a chur san áireamh.

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.

</deireadh>

Clibeanna Technorati:

Ag smaoineamh Maidir Táirgí Tráchtála

Chuir mé suas SharePoint tionscadal síntí Dearthóir suas ag CodePlex níos luaithe i mbliana agus cé tá sé i ndáiríre go leor teoranta ó thaobh raon feidhme, Measaim go bhfuil sé curtha íoslódáil ag 40 go 60 (b'fhéidir fiú 100) companies in just about two months. That indicates to me that there’s a market for that solution and if I were to successfully commercialize it, that could translate into a goodly amount of beer 🙂

Is é mo chúlra i ndáiríre i bhfad níos mó i bhforbairt an táirge agus tá a fhios agam cad atá ag teastáil a thabhairt táirgí barr-notch, i gcomparáid le tionscadal Caitheamh aimsire CodePlex, to market. In my saol atá caite, Bhí mé freagrach as táirge T&D for all software products. The difference between then and now is that I’m a consultant now working for an (den scoth) gnólacht dul i gcomhairle (Conchango). Roimhe seo, Bhí mé ag cuideachta ar fad taobh thiar dom agus i os comhair dom, selling and supporting the products we brought to market. Sa lá atá inniu, Ba mhaith liom a bheith ina n-aonar.

Tá mé smaointe a táirge éagsúla i gcuimhne, but I think the easiest would be to create a commercial version of the above-mentioned CodePlex project that uses that as a starting point and extends it further. My fuzzy off-the-cuff thinking is to charge something like $100 ar cheadúnas bhforbróir neamhtheoranta agus $500 per production web front end. I think I would also give away the source code.

Má tá smaointe nó taithí a bhfuil tú sásta a roinnt, fág nóta nó thoil ríomhphost chugam díreach. I’d like to hear opinions like:

  • An bhfuil sé fiúntach ar fad?
  • Moltaí praiticiúla do mhargaíocht, airgead a bhailiú, dháileadh.
  • Praghsáil.
  • Tacaíocht.
  • Aon tuairimí eile gur mhaith leat a fhágáil.

It’s "easy" chun teacht suas le smaointe a táirge agus iad a chur i bhfeidhm, though many dozens of hours of work are required. The other stuff is not as easy for me.

</deireadh>

Clibeanna Technorati:

Maidin Dé Domhnaigh greannmhar: “Jesus Must Die”

Cheannaigh muid ár gcéad (agus gan ach) "luxury" car back when hurricane Floyd nailed the east coast of the U.S. We got a LOT of rain here in New Jersey and roinnt laethanta a rith before life returned to normal. Just before Floyd struck, rinne muid tairiscint le haghaidh Volvo úsáid 850 GL agus tar éis Floyd bhuail, thiomáin sé abhaile.

It was our first car with a CD player. Like most new car owners, chuaigh muid ar CD dÚsachtach beag, revived our dormant CD collection and went on long drives just to listen to CD’s in the car. Like all fads, this passed for us and we ended listening to the same CD over and over again. I ár gcás, go raibh sé Íosa Críost Superstar.

Ceann de na (go leor) píosaí iontach sa mhéid is go ceoldráma carraig á chanadh ag na cineálacha foras crábhaidh, faoi ​​stiúir Caiaphas, the "High Priest". They sing their way into deciding how to handle the "Jesus problem" and Caiaphas directs them to the conclusion that "Jesus must die". The refrain on the song is "Just must die, Ní mór bás, Ní mór bás, this Jesus must die". You hear that refrain a lot in that piece.

Ag an am, my son was about three years old. You can probably see where this is going.

I came home from work one day and my son is in the living room playing with toys and humming to himself. I’m taking off my jacket, breathnú tríd an ríomhphost agus go léir mo siúlóid-an doras-i-is gnách stuif agus realize mé go tobann go bhfuil sé ag rá go díreach, Ní canadh i ndáiríre: "Jesus must die, Ní mór bás, must die." I was mortified. I could just see him doing that while on one of his baby play dates at a friend’s house — probably the last play date with that baby friend.

We pulled that CD out of the Volvo after that 🙂

</deireadh>

Clibeanna Technorati: ,

Google An raibh Glac Mo Beo Spásanna Blag Isteach an Clár AdSense

Suas chun dáta: Amhail an 03/09, I have found no way to integrate my live spaces account with Google Adsense. Microsoft’s system here seems to prevent all of the technical mechanisms that Google provides would-be adsense hosters. I tend to believe this is mainly a side effect of the security they’ve built into live spaces, not a direct effort to disable Adsense.

This is not a SharePoint post, but might be of interest to bloggers generally.

Someone commented on their Windows Live Spaces blog that Google affirmatively denied their application to participate in AdSense. She theorized that Google denied her because Windows Live Spaces hosts her blog. Mar sin féin, I was recently accepted into the program for my live spaces blog, so the policy has either changed or Google denied her for some other reason.

Ar ndóigh,, Ní féidir liom a fheiceáil aon bhealach soiléir a chomhtháthú Google AdSense i mo spás beo, but it’s a start 🙂

</deireadh>

Clibeanna Technorati: ,

Cur chun feidhme Máistir / Caidrimh Sonraigh Ag baint úsáide Liostaí Saincheaptha

Fóram úsáideoirí go minic mar ceisteanna mar seo:

> Dia duit,
>
> Do thoil, inis dom má tá aon féidearthachtaí a thógáil liosta saincheaptha le
> máistir agus sonraí cineáil (cosúil le sonraisc) gan úsáid a bhaint as InfoPath.
>

Soláthraíonn SharePoint roinnt amach as na gnéithe bosca a thacaíonn le cineálacha riachtanas gnó mar sin.

Go ginearálta, one links two lists together using a lookup column. List A contains the invoice header information and list B contains invoice details.

Bain úsáid as liostaí breise a choimeád ar bun líon na gcustaiméirí, uimhreacha a táirge, etc.

Bain úsáid as ábhar mar chuid gréasáin cheist (i CAONAIGH amháin) and/or a data view web part to create merged views of the lists. SQL Server Reporting Services (SRS) Tá fáil freisin ar an taobh tuairisciú air.

Mar sin féin, there are some important limitations that will make it difficult to use pure out-of-the-box features for anything that is even moderately complex. These include:

  • Méid na liostaí chuardaigh bhaineann vs. "smartness" of the lookup column type. A lookup column type presents itself on the UI differently depending on whether you’ve enabled multi-select or not. In either case, the out-of-the-box control shows all available items from the source list. If the source list has 1,000 míreanna, that’s going to be a problem. The lookup control does not page through those items. Ina áit sin, it pulls all of them into the control. That makes for a very awkward user interface both in terms of data entry and performance.
  • Lookups "pull back" one column of information. You can never pull back more than one column of information from the source list. Mar shampla, you cannot select a customer "12345" and display the number as well as the customer’s name and address at the same time. The lookup only shows the customer number and nothing else. This makes for an awkward and difficult user interface.
  • No intra-form communication. Tá mé scríofa faoi seo anseo. You can’t implement cascading drop-downs, coinníollach ar chumas / dhíchumasú réimsí, etc.
  • No cascading deletes or built-in referential integrity. SharePoint treats custom lists as independent entities and does not allow you to link them to each other in a traditional ERD sense. Mar shampla, SharePoint féidir leat a chruthú dhá liosta saincheaptha, "customer" and "invoice header". You can create an invoice header that links back to a customer in the customer list. Ansin,, you can delete the customer from the list. As an bosca, there is no way to prevent this. To solve this kind of problem, Ba mhaith leat é a úsáid de ghnáth láimhseálaithe imeacht.

Féadfaidh sé cosúil gruama, but I would still use SharePoint as a starting point for building this kind of functionality. Though there are gaps between what you need in a solution, SharePoint chuireann ar ár gcumas na bearnaí sin a uirlisí úsáid a bhaint as mar sin do líona:

  • Event handlers. Use them to enforce referential integrity.
  • Colúin saincheaptha: Create custom column types and use them in lieu of the default lookup column. Add paging, buffering agus gnéithe AJAX a dhéanamh sofhreagrach dóibh.
  • BDC. This MOSS-only feature enables us to query other SharePoint lists with a superior user interface to the usual lookup column. BDC can also reach out to a back end server application. Use BDC to avoid replication. Rather than replicating customer information from a back end ERP system, use BDC instead. BDC features provide a nice user interface to pull that information directly from the ERP system where it belongs and avoids the hassle of maintaining a replication solution.

    Is BDC gné CAONAIGH (nach bhfuil ar fáil i SSU) and is challenging to configure.

  • Bhfoirm gréasáin ASP.NET: Cruthaigh foirm AJAX-chumasaithe lán-feiceáil go n-úsáideann an tsamhail réad SharePoint agus / nó seirbhísí gréasáin do liostaí SharePoint ghiaráil am céanna ag soláthar comhéadan úsáideora an-sofhreagrach.

Féadfaidh an rogha dheireanach gur mhaith leat go bhfuil tú ag tosú ó scratch, ach smaoineamh ar an bhfíric go dtosaíonn an ardán SharePoint tú amach leis na gnéithe lárnacha seo a leanas:

  • Samhail Slándála, le cothabháil.
  • Córas Menu le cothabháil.
  • "Master table" (i.e. liostaí saincheaptha) le slándáil, tógtha-i cothabháil agus iniúchadh.
  • Cuardaigh.
  • Ar ais deireadh uirlisí comhtháthú (BDC).

Má tá tú tús le tionscadal nua folamh i stiúideo amhairc, bhfuil tú a lán de bhonneagar agus pluiméireachta a thógáil sula bhfaigheann tú gar do cad a thairgeann SharePoint.

I do believe that Microsoft intends to extend SharePoint in this direction of application development. It seems like a natural extension to the existing SharePoint base. Microsoft’s CRM application provides a great deal of extensibility of the types needed to support header/detail application development. Although those features are in CRM, the technology is obviously available to the SharePoint development team and I expect that it will make its way into the SharePoint product by end of 2008. If anyone has an knowledge or insight into this, fág tagairt le do thoil.

</deireadh>

Clibeanna Technorati:

Leid Thapa: Cuid Web Content Iarratas, Lookup Luach Colún agus XSL

I have a column name in a content type named "Real Estate Location".

That column is of type "lookup".

Tá mé modhnaithe <CommonViewFields> agus ItemStyle.xsl a thaispeáint ar an gcolún.

A simplí <XSL:luach-ar roghnú =…> tuairisceáin ar ais luach inmheánach go n-áirítear sonraí seasamh ordinal, mar shampla:

1;#Miami

Chun a fháil ar an luach daonna-chairdiúil, úsáid a bhaint as XSL bhfotheaghrán-tar éis, mar a thaispeántar:

<XSL:value-of select="substring-after(@ Real_x005F_x0020_Estate_x005F_x0020_Location,'#')"></XSL:luach-ar>

Bain úsáid as an teicníc aon uair a bhfuil tú ag obair le luachanna lookup i transforms XSL agus is gá a fháil ar an luach daonna-chairdiúil.

<deireadh />

Clibeanna Technorati: , ,

SharePoint Beagle Nollaig eisiúint Up & Beo

Go leor de fhios agat seo cheana féin, ach an t-eagrán na Nollag de SharePoint Beagle Is beo.

Tá gach airteagal fiú a léamh i mo thuairim.

Ba mhaith liom a bump beag breise a thabhairt do airteagal mo chomhghleacaí (Natalya Voskrensenskya). She provides a screen-shot extravaganza while describing how she used custom lists, sreabhadh oibre, SharePoint Dearthóir, data views and other elements to implement a self-service training feature in MOSS. She describes techniques that can be applied in many different business scenarios. Check out a bhlag cé go bhfuil tú ag sé.

Ná déan dearmad a sheiceáil amach mo airteagal as well 🙂 I wrote about using MOSS to help an HR department manage open positions.

</deireadh>