Tapaidh agus éasca: Bain úsáid jQuery a Socraigh A Field Text Luach ar ar Fhoirm SharePoint

Thosaigh mé ag imirt ar fud leis jQuery yesterday. I’ve been wanting to do this for a long time, ó shin i leith Paul Grenier scríbhinn a thosaigh a shraith faoi ​​jQuery do Úsáideoirí Deiridh ag an venerable www.endusersharepoint.com web site. As I use it, I hope to add a series of “Quick and Easy” posts like this one. This post describes how to set a known text field’s value to anything you want.

Sa chás seo, Chruthaigh mé liosta saincheaptha a Breathnaíonn mar a thaispeántar "nua" fhoirm:

image

Is é seo an bhfoirm nua do liosta saincheaptha leis an gcolún Teideal réamhshocraithe agus dhá cholún liosta (Ní colúin láithreán; Ní dóigh liom gur chóir é a dhéanamh ar aon difríocht).

Is é an cuspóir luach treallach leis an réimse a shannadh, "DefaultMeFieldNoSpaces" (Is féidir leat insint Tá mé beagán de Coward leis an rogha "gan spásanna" rud ag dul ar, ach is féidir liom spice sé suas ag an deireadh an Airteagail seo).

An beagán de jQuery obair dom:

<Cineál script ="text/javascript">

  $(fheidhm() {

    $('Ionchur[title = DefaultMeFieldNoSpaces]').attr(
        {luach: 'Tá tú i lúbra twisty na pasáistí, gach araon. '});

  });

</script>

Mar a thuigim é seo beagán de jQuery ag rá, “find me any input tag whose title = DefaultMeFieldNoSpaces. Ansin,, go léir a gcuid luachanna a shocraítear le frása cáiliúil ó cluiche ríomhaire d'aois. "

Ós rud é a bheidh ann ach réimse amháin ar an bhfoirm le teideal cothrom le "DefaultMeFieldNoSpaces" tá muid cinnte de luach leis an réimse sin a shannadh agus aon eile.

Cad mar gheall ar réimse a bhfuil a ainm tá spásanna ann? It’s nearly the same:

<Cineál script ="text/javascript">

  $(fheidhm() {
     $('Ionchur[title = Réimse Sann Le Spás]').attr(
        {luach: 'Tá tú i lúbra twisty na pasáistí, gach araon. '});

  });

</script>

I mo thuairimse, tá sé seo le cur chuige cothrom sábháilte, meaning that we should be able to find the field that we want and only the field we want. If you look at the HTML SharePoint is giving us, tá sé saghas messy:

<ionchur
ainm="ctl00$m$g_bdb23c2c_fde7_495f_8676_69714a308d8e$ctl00$ctl04$ctl02$ctl00$ctl00$ctl04$ctl00$ctl00$TextField"
cineál="text"
maxlength="255"
id="ctl00_m_g_bdb23c2c_fde7_495f_8676_69714a308d8e_ctl00_ctl04_ctl02_ctl00_ctl00_ctl04_ctl00_ctl00_TextField"
teideal="DefaultMeFieldNoSpaces"
ranga="ms-long"
/>

"Title" sheasann amach mar tréith inaitheanta agus tá súil againn go leith chun cabhrú linn a aithint ar an gcolún ar leith a ba mhaith linn a shannadh ár n-luach treallach.

This is a foundational concept. Setting a field in an arbitrary way like this isn’t going to win any awards. Mar sin féin, más mian linn a dhéanamh stuif leibhéal foirm níos suimiúla (a bhfuil gach duine againn ag iarraidh i gcónaí a dhéanamh, ar ndóigh, ceart tar éis a chríochnaíonn muid ag níochán na miasa), Is maith athrú ar an luach de "réimse b" go huathoibríoch bunaithe ar an luach "réimse a", muid (Mé) gá a fhoghlaim na rudaí seo.

Sílim go bhfuil ár n-deis is fearr a fháil ar luach úsáideach fíor anseo tríd an teideal, at least for text fields. There may be a better, more reliable approach. If I find it, Feicfidh mé an post seo cothrom le dáta. If you know a better way, fág tagairt le do thoil.</deireadh>

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Clibeanna Technorati: ,

SharePoint Taispeántas: SharePoint Giarála a thógáil Iarratais Ghnó Ingearach

[Tabhair faoi deara: Ba mhaith liom a rá láithreach go bhfuil mé leas airgeadais an toradh inmhianaithe an taispeántas seo, a lua mé ar mhaithe le nochtadh iomlán, etc. Seo i ndáiríre an chéad uair mé blogged riamh faoi ócáid ​​nuair a seasamh mé leas a bhaint go pearsanta ar an mbealach seo.]

Cuireann an taispeántas ar siúl gréasáin Déardaoin, 06/04 ag 12:30 EDT, dar críoch 1:30AM EDT.

I gcomhar le mo chomhpháirtí gnó den scoth, Córais Comhtháite agus Grúpa Seirbhísí (ISSG), I have been working to develop a vertical business application using SharePoint as the platform. Sa chás seo, we’re building an application that serves the needs of manufacturers that make customized product for their customers. In these cases, a great deal of collaboration needs to take place between the customer and the manufacturer. There’s also a great deal of collaboration required between different groups within the manufacturer, lena n-áirítear díolacháin, innealtóireacht, taighde agus forbairt, grúpaí dlí agus eile.

Tá an taispeántas ag dul a léireoidh cur i bhfeidhm a éascaíonn chineál sin de chomhoibriú, chomh maith le plé ar conas is gá gach ceann de na píosaí comhoibriú a chomhtháthú le córas ERP Inneall.

Ar deireadh, this isn’t going to be a SharePoint demo. This is a demonstration of a solution for a specific niche problem that happens to use SharePoint as the platform.

Mar sin,, cén fáth go mbeadh tú bodhraigh a shíniú suas agus a fheiceáil an taispeántas? I don’t expect too many readers of my blog to be all that interested in a solution for make-to-order manufacturers 🙂 Your take-away would be the concept itself – using SharePoint purely to deliver a business solution without regard to SharePoint itself.

Má tá suim agat, clárú anseo le do thoil(https://www323.livemeeting.com/lrs/8000043750/Registration.aspx?pageName=skmqfwbr5smmlx20).

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

An féidir leat a Pry SharePoint Dearthóir Ó Mo Fuar, Lámha Dead

My latest article is up at www.EndUserSharePoint.com. I wrote about SharePoint Designer, Úsáideoirí Deiridh agus imlíne na straitéise go mb'fhéidir go mbeadh úsáideoirí Deireadh iarracht a dhéanamh agus leanúint d'fhonn inniúlacht a léiriú agus muinín a thógáil ar fud an uirlis seo.

Is iad na tuairimí níos suimiúla ná an t-alt féin.

Seiceáil sé amach.

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Héifeachtach Lean Microsoft SharePoint (agus Eile) SharePoint Forums

Bhí mé ag tar éis fóraim MSDN le go maith os cionn bliain (agus b'fhéidir beagnach 2 bliana ag an bpointe seo) and every now and then I hear from someone how “hard” it is to do that. I find it quite easy and thought I’d share my “technique”. This technique also works for www.endusersharepoint.com (http://www.endusersharepoint.com/STP).

Ag tabhairt MSDN mar shampla, Liom dul chéad leathanach fóram caighdeán cosúil leis an Ceisteanna Ginearálta do SharePoint príomh-leathanach anseo: http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/threads

Ba chóir duit fógra ar an bpointe boise go bhfuil na fóraim RSS cumasaithe, mar a thaispeántar:

image

Tá mé ag baint úsáide as Google Reader a bhainistiú mo RSS feeds ar feadh i bhfad anois (www.google.com / léitheoir). I go there, add the RSS feed for the forum and now I’m getting all new forums posts via RSS. My Google feeds for SharePoint forums look like this:

image

Google Soláthraíonn dom d'fhonn deas a phostú féin:

image

Agus ar deireadh, Google ligeann dom a bhaint as an méarchlár a scrollbharra tríd an postings i bhfóraim ar an mbealach seo.

Is féidir liom a scanadh go tapa trí phoist agus díriú ach ar na dóigh liom gur féidir liom a dhéanamh ar ranníocaíocht úsáideach.

Alerts close the loop. Updates to posts don’t come through RSS (cé I mo thuairimse, a úsáidtear iad chun i bhfad ó shin). Mar sin féin, má liom post a fhreagairt ar fóram phost, the forums alert me via email and IM that someone responded in turn. Nó, más rud é nach féidir liom a dhéanamh ar ranníocaíocht úsáideach ach ba mhaith liom a fháil amach cad iad na daoine eile a rá, Is féidir liom a druilire isteach é agus go follasach iarraidh foláirimh nuair a dhéanann daoine eile freagra a.

I uair an chloig nó níos lú is féidir leat a leagtar ar an bpróiseas suas agus agus in aghaidh na seachtaine de úsáid go rialta, foghlaim na cleasanna éagsúla agus méarchlár aicearraí ionas go mbeidh an dara cineál.

I use the exact same technique for End User SharePoint.Com’s “Stump the Panel” forums. This is their RSS feed: http://www.endusersharepoint.com/STP/rss/.

Tá fóraim ar bhealach uamhnach, b'fhéidir, an bealach is fearr gearr de thaithí phearsanta dhíreach, na foghlama ar an táirge agus ag fáil suirbhé deas ar conas ar fud an domhain, i gcoitinne, uses SharePoint. Give it a try!

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Clibeanna Technorati:

Bain úsáid as Liostaí Chustaim do níos mó Iniúchadh Sreabhadh Oibre Éifeachtach

Tá mé atheagrú mo shaol le beagán agus fuair sé roinnt ama d'airteagal a chur faoi bhráid www.endusersharepoint.com. My latest article is up here: Bain úsáid as Liostaí Chustaim do níos mó Iniúchadh Sreabhadh Oibre Éifeachtach (http://www.endusersharepoint.com/?p=1658).

Is é seo an oscailt 'graf:

SharePoint Designer workflow doesn’t give us a lot of visibility into what’s happening with our workflow solutions. Agus, Is é an infheictheacht a dhéanaimid a fháil ag cur bac le comhéadan sách lag agus 60 day time window. Seo 60 day window can be a major disappointment to new SharePoint Designer users because it’s not advertised by the tool itself. It’s not at all uncommon for someone to fire up SharePoint Designer, a chruthú réiteach sreabhadh oibre a ghiaráil an "Log Chun Stair Liosta" gníomh ...

Is é an fhadhb atá ann go tar éis 60 lá, aon teachtaireachtaí go bhfuil tú a chruthú ar an mbealach seo a scriosadh ón liosta stair sreafa oibre! After a bit of teeth gnashing and “what were they thinking?"Argóintí, Is é an líne bun seo: it happens and it needs to happen. Is í an cheist, conas is féidir linn a fháil timpeall air?

The official answer is to rely upon SharePoint’s built-in auditing feature. From an end user’s point of view, áfach,, that’s very weak in WSS and not much better in MOSS. Fortunately, we can still leverage the familiar SharePoint Designer tool to create a durable workflow history and audit trail which is an order of magnitude more useful to boot. Here’s how.

I describe how to create a more friendly and useful audit solution for declarative workflow created in SPD.

I was inspired to write this article from a recent project for a client that had developed nine technical SPD workflows in support of one logical business process. Assuming for now that nine is a reasonable number, it was certainly a challenge to debug it or view the overall status of the process in one simple view. Each of these separate technical workflows has its own independent workflow history list and that’s just not manageable. I was able to combine all of them into a single audit list using the technique I describe on the site.

Seiceáil sé amach.

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Cúiseanna Féilire bambú Idirghníomhú le SharePoint "Tharla earráid gan choinne"

Sa lá atá inniu, I’ve been working in an environment that uses a Bamboo calendar web part for some improved collaboration. This a standard medium/small farm with two load balanced WFEs, ar "freastalaí iarratas" maidir le hinnéacsú agus InfoPath agus deireadh ar ais cnuasaithe SQL.

The client installed some disaster recovery software onto one of the WFEs and that resulted in a broken WFE for a specific site in the site collection. Whenever load balancing pointed at the affected WFE and that site, users saw a largely blank white screen with the sentence “An unexpected error occurred”. No other info showed, go díreach abairt.

They asked me to look at it. I easily reproduced the problem and then added a ?contents=1 to the end of the URL. This is how I learned they were using the Bamboo web part. I went back to the page and now, go tobann, Léirigh sé dom teachtaireacht earráide deas ordúil:

image

Níl a fhios agam cad a bhí ag tarlú nó cad a rinne mé a fháil ar an teachtaireacht earráide rialaithe a chur ar taispeáint eile seachas ceangal ar an ?contents=1 bit of the query string.

Tá sé seo is dócha go bhfuil cás imeall an-annamh, ach má fhaigheann tú teachtaireacht go, "Tharla earráid gan choinne" dul ar aghaidh agus cuir ?ábhar = 1 leis an teaghrán cheist agus a fheiceáil nuair a thoradh go.

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Clibeanna Technorati: ,

Griping faoi Windows Live Rialú Comment

Phioc mé spásanna beo fuinneoga ar ais i mí Iúil na 2007 as my blogging platform. For the most part, Ní dóigh liom go bhfuil aon oth agus a leathnaíonn Microsoft cinnte é le himeacht ama (cé go liom a fháil den chuid is mó amach faoi ghnéithe nua de thimpiste).

My biggest complaint right now is blog spam. This person / áireamh (http://cid-82b0534bceed9881.profile.live.com/) (i measc daoine eile) frequently adds a lot of spam comments to my blog in the form of comments. MSFT added a nice feature to show “recent comments” so at least I can fairly quickly identify them (ach sula, Bhí mé ag dul isteach i ngach iontráil bhlag ar leithligh) and clean them up. It’s still time consuming.

Is mian liom go:

  1. Bheadh ​​MSFT chur ar roinnt scagadh níos fearr do spam.
  2. Go raibh mé bloc dhaoine ar leith ó chur tuairimí.
  3. Má theipeann ar an thuas, I could more easily identify and delete spam. Right now, Is gá dom a dhéanamh trácht a dhéanamh ag trácht agus tá sé mall, go háirithe nuair a chuireann duine éigin robot spam / clár 25 go 50 tuairimí in aon seisiún amháin.

Má tá tú i d'úsáideoir beo fuinneoga agus tá roinnt cleasanna úsáideach a roinnt, Ba mhaith liom a bheith buíoch.

</endGripe>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Leanann SharePoint Dé Sathairn Feiniméan (níos mó, mo deic sleamhnán)

I returned from Washington DC yesterday after attending the latest SharePoint Dé Sathairn. What a remarkable event! Continuing the tradition of other SP Saturday’s, it was very well run. The environment, an eagraíocht iomlán, an sreabhadh, réimse díoltóir, bia ... go raibh gach ceann de na sé terrific.

Ar ndóigh,, the best part is the content and I don’t think anyone was disappointed.

It’s really quite amazing to me how so many people are rousing themselves out of bed early on a Saturday to go and listen to people talk about SharePoint for 8 hours 🙂 Amazing.

Odds are, there’s a SharePoint Saturday event coming your way and if there isn’t, why don’t you start one?

I presented at the conference with the tongue twisting title, “Using the SharePoint Platform to Build Vertical Business Applications.” You can get the presentation here: https://cid-1cc1edb3daa9b8aa.skydrive.live.com/browse.aspx/Public. It’s not my usual sort of presentation and I had fun with it. I’ll be giving this again in June at the North VA user group conference at the end of June.

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Is Rialachas Plean Margaíochta Too

An chúis a chaitheamh againn an oiread sin ama (nó ba chóir, mar sin féin) working out governance plans is because we want the SharePoint solution to be as effective as possible. We want good infrastructure and rules to keep it humming and safe in case of disaster. We want good security processes to both properly secure the environment but also make it reasonable to manage. We want a good information architecture that will stand the test of time, ideally managing to survive a major organizational change in the company.

Chun cuspóir inmhianaithe a bhaint amach, Is féidir cáipéis rialachais agus plean chineachadh isteach a bunch de "beidh tusa" agus "Ní dhéanfaidh tusa ar", mar atá i:

  • Ní bheidh Thusa chruthú SharePoint grúpa slándála; AD úsáid in ionad.
  • Ní bheidh Thusa fillteáin i leabharlanna doiciméad chruthú; úsáid a bhaint as cineálacha ábhar agus tuairimí ionad.
  • Beidh tusa a chruthú gach cineál ábhar doiciméad bunaithe ar thalamh le cineál sonrach bonn saincheaptha.
  • Ní bheidh Thusa chruthú tacsanomaíocht eolais bunaithe ar thalamh chairt org an lae inniu cuideachta.

"Déanfaidh Thou" agus "Ní bheidh tusa" Tá a n-áit cinnte sa phlean rialachais.

A more successful governance plan will also have a strong marketing angle. It should sell and justify itself to the maximum extent possible. A truly successful governance plan relies upon the voluntary cooperation of all SharePoint users. (Tá cásanna imeall an áit a bhfuil bhfuil feidhm ag comhar an phobail ag teastáil, mar shampla nuair a bhíonn SharePoint úsáid ag líon an-bheag na n-úsáideoirí a bhainistiú go docht; Tá mé cinnte gur féidir leat smaoineamh ar dhaoine eile). If the user community doesn’t buy into your governance plan then it will be partially successful at best.

I use that word “buy” deliberately. The community will buy the governance plan if it’s fundamentally sound and you go to some effort to sell them on it. Selling leads to marketing and that’s why I think that a governance plan should be considered a marketing plan too. Convince your end users that they need to follow the governance plan and they will voluntarily follow it. If you can get a critical mass of people following the governance plan then the plan’s benefits follow and you’ll have a stronger environment for it.

</deireadh>

Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Clibeanna Technorati: , ,

Réiteach: Thiomsú CAONAIGH Lucht Féachana Adds Uimh Baill Nua

Bottom line: más mian leat a úsáid ar mhaoin próifíl i riail don lucht féachana a chruthú, Ní mór an mhaoin a bheith le feiceáil le "gach duine."

I was working with a co-worker yesterday and he was building out a MOSS audience based on a custom user profile property in MOSS. Sa chás seo, Is é an mhaoin lucht féachana darb ainm "SITECD" agus de réir an ghnáis, Stórálann a 3 Cód carachtar. Bhí sé an lucht éisteachta sainithe agus riail a dúirt go más rud é "ionann SITECD 'ABG'", ansin áireamh go phróifíl úsáideora sa lucht féachana.

Bhunaigh sé phróifíl úsáideora amháin leis an luach agus tiomsaíodh an lucht féachana, but MOSS simply wouldn’t add that user. I noticed that the privacy setting for that profile was set to “me only” (an fhoirm is sriantach) and I remembered reading somewhere that property profiles used in rules must be visible by “everyone”. He made that change and that solved the problem.

The really funny thing about this is that I “remembered” reading about this. It was nagging at me this morning for some reason and I realized that I had written a chapter in this book, CAONAIGH Míniú: An Oibrí Faisnéise Léim Deep isteach i SharePoint Microsoft Server Oifig 2007, agus gur clúdaithe mé an bpointe seo sa chaibidil an-scríobh mé :). I would have thought that every word I wrote in that chapter would be seared into my memory.

Matt Morse scríobhann seo suas go mion álainn anseo agus tagairt mé é sa chaibidil: http://blogs.pointbridge.com/Blogs/morse_matt/Pages/Post.aspx?_ID=50

</deireadh>Liostáil le mo bhlag.

Lean mé ar Twitter ag http://www.twitter.com/pagalvin

Clibeanna Technorati: ,