Arkivji ta 'Kull Xahar: April 2008

Quick u sempliċi: Jagħmlu Formola InfoPath Aqra biss (InfoPath Formoli Servizzi fil MOSS)

Hemm xenarju tan-negozju komuni bħal dan:

  • User jimla formola InfoPath.
  • Jissottometti forma.
  • Proċess workflow fit-tmexxija kicks off.
  • Filwaqt li l-fluss tax-xogħol qed taħdem, aħna ma tridx xi ħadd li jibdlu l-kontenut tal-formola.

Dan l-eżempju office.microsoft.com describes how to create a separate "view" and mark the whole view as read-only. This is a workable approach but has the drawback that you’ve effectively created two entire versions of the same form and must now keep them in sync manually. If you add a field to the editable view, you must then add it to the non-editable view as well. Maż-żmien, mal-iżviluppaturi differenti, there can be some divergence.

Din l-alternattiva jista 'jaħdem aħjar f'xi każijiet:

  • Add a new field to the form called "IsEditable".
  • Issettja valur default tagħha li veru.
  • Jippromwovu meta jiġu ppubblikati l MOSS.
  • Fil-fluss tax-xogħol, jiffissa l-valur tal IsEditble biex falza.
  • Mur lura għall-forma.
  • Add a rule that "upon open of the form", jiskonnettja buttunaIssejvja tiegħek meta IsEditable hija falza.

The drawback to this approach is that all the fields will still be editable on the screen. The user can get a false impression that they can actually change content. You can mitigate that by putting in some text that the form is disabled, possibilment b'ittri ħomor kbar madwar l-quċċata tal-paġna.

Fi proġett wieħed, I created a "workflow status" ħsieb. As the workflow progressed, it would update specific status fields that had been promoted from the form. When the user opened the form, the "open form" regola awtomatikament ma din l-opinjoni u l-utent kellu status sbieħ sommarju ftit.

</aħħar>

Abbona għall-blog tiegħi.

Użu semafori fil Workflow Designer SharePoint għall-Prevenzjoni loops infinit

It’s possible to cause an endless loop in a SharePoint Designer workflow. A common implementation pattern like this causes the problem:

  • Oħloq workflow u jassoċjaw ma 'lista.
  • Indika li trid tibda fuq toħloq ta 'oġġetti ġodda u taġġorna ta' oġġetti eżistenti.
  • A step in the workflow updates a field in "Current Item".
  • Peress li l-oġġett kurrenti inbidlet, l-fluss tax-xogħol jibda mill-ġdid.

Biex dan jiġi evitat linja bla tmiem, jimplimentaw semafor sempliċi:

  • Żid kolonna sit (jew il-kolonna mal-lista / librerija jekk ma tkunx qed tużah tipi kontenut).
  • Jinħbew mill-paġna jeditjaw (faċli li tagħmel jekk kolonna sit permezz proprjetajiet tiegħu, mhux faċli jekk kolonna lista).
  • Fil-fluss tax-xogħol, tikkontrolla biex tara jekk il-valur tal-kolonna semafor huwa vojt.
  • Jekk huwa vojt, tistabbilixxi li valur mhux vojta u tipproċedi.
  • Jekk huwa ma jkunx vojt, ħruġ immedjatament.

Dan jista 'jsir soluzzjoni pjuttost sfumat, skond il-ħtiġijiet tan-negozju u oħrajn, iżda huwa kien mudell operabbli meta stajt bżonnha.

</aħħar>

Abbona għall-blog tiegħi.

Developers: Kif Tgħallem SharePoint?

UPDATE: 04/25/08: Ġie qbid fuq xi postijiet blog u sabet link li dan l-artikolu: http://www.networkworld.com/news/2008/032608-microsoft-sharepoint.html?page=1. I make note of it because in addition to asking, "how do I learn sharepoint?", some people ask "why should I learn sharepoint?". That article partly answers the later.

Fl-aħħar diversi xhur, tużżana jew aktar folks minn madwar il-pjaneta ġew email lili u tistaqsi l-mistoqsija ġenerali, "How do I learn SharePoint?"

Jien ma tantx awtorevoli, imma stajt kellhom xi ftit suċċess (u tipprova tikseb aħjar il-ħin) so I thought I’d document my personal road map. Others may find it valuable.

Qabel I tagħmel dan, I biss jixtiequ josservaw li huwa ovvju li lili, ibbażata fuq dawn l-emails personali u n-numru akbar ta 'MSDN / SharePoint postijiet Università tal-istess natura, that there is huge developer interest in getting up to speed with WSS/MOSS. I wonder what it’s going to be like a year from now … faċli biex issib talent SharePoint tajba? The same? Are folks committing themselves to the platform at a rate sufficient to keep up with demand for good resources? How could you even figure something like that out short of a WAG?

Roadmap Pawl

I was full time employed by the good folk at Conchango while I followed this road map. This means that from a learning perspective, I was actively engaged in projects as I followed the steps I outline below.

Xi Termini bażiċi

Għall-persuni li jidħlu f'din id-dinja, hemm żewġ akronimi ewlenin:

  • WSS: Windows SharePoint Servizzi
  • MOSS: Microsoft Office SharePoint Server

WSS is "free" f'dak huwa marbuta mal-Windows server 2003 (jew għall-inqas tista 'titniżżel minn SM). I put quotes around free because you need a box, a O valida / S liċenzja u probabbilment SQL (though there’s a "free" tip ta 'SQL kif ukoll).

MOSS is built on top of WSS and extends it. There is no MOSS without WSS. MOSS is not free.

Forsi mhux jum wieħed, iżda malajr wara li tkun ħadthom ltqajna xi għarfien bażiku tal-pjattaforma, it’s important to learn the differences. Per eżempju, parti web qawwija, il-kontenut Mistoqsija Web Parti, is a MOSS feature and not available WSS. People often make the incorrect assumption that CQWP is available in WSS and then end up scrambling for a stop-gap measure when they realize their error.

Hit-Books

I started working with WSS/MOSS on about 01/02/2007. I had a little prior experience with SPS 2003 but very little. To get myself started, I xtara l- żewġ kotba elenkata hawn (http://paulgalvin.spaces.live.com/lists/cns!1CC1EDB3DAA9B8AA!203/).

I started with the big blue administration book. Naturally, it covers administration. Fl-istess ħin, huwa jipprovdi stħarriġ ta 'kull karatteristiċi MOSS (u l-karatteristiċi WSS kif ukoll).

Għalija, mhuwiex daqshekk importanti li wieħed jiftakar id-dettalji varji kollha (sakemm wasal iż-żmien biex tikseb ċċertifikati) but it’s good to know the boundaries. (I isegwu dan l-istess approċċ fil 1 tiraturi persuna I play fuq il-Xbox jew PC — I enter a room and tend to make a counter-clockwise loop until I get back where I started. I just feel better knowing the shape of the box I’m in.)

Wara l-qari l-ktieb blu big, I would read the entire Inside WSS book. It dives deeply into issues that developers care most about.

Oħloq Ambjent Virtwali

Sabiex tagħmel kull żvilupp jew l-użu kif suppost tal-ambjent, għandek bżonn minfuħa twieqi server sistema operattiva sħiħa ma SharePoint Designer, Visual Studio 2005 (2008 xogħlijiet, iżda xi għodod utli għad iridu jiġu portati mill-kitba ta 'dan l-artikolu), InfoPath 2007 and some other stuff. There are many good blog entries describing this process. I’d have a look at these two:

Minbarra, Andrew Connell qasmu l-esperjenzi tiegħu ma VMware hawn:

Use your favorite search engine to see what other people do. It’s a useful learning exercise in and of itself.

Spend a few minutes angrily denouncing the fact that you need a server environment on which to do development. Iżda … don’t bother blogging about it or posting it to MSDN forums. It’s already been done 🙂. Minflok, embrace it and move on. You’ll be better off for it.

Get Certified

Nemmen li l-SharePoint ċertifikazzjoni triq MS, li jikkonsisti f'erba 'eżamijiet, is exhaustive. I suggest that you follow their online preparation guide and do your best to understand each of the areas of the test.

I ma suggest that you take the exam just to pass it. I ma suggest that you use one of the "brain dump" style 3rd party "tools" for passing MS tests. If you can take the test, tgħaddiha ibbażata fuq taħlita ta 'studju tiegħek diretti u l-idejn fuq l-esperjenza, inti ser tkun iżviluppatur b'saħħitha u kandidat impjieg għaliha.

There are four tests in two "tracks":

Developer:

Admin:

I recommend that developers study for all of these exams. You’ll be strong for them, għalkemm I jissoponi jekk inti skipped-eżamijiet admin, inti se tikseb minn.

I sabu l-verżjoni WSS li jkun konsiderevolment aktar ta 'sfida mill-verżjonijiet MOSS korrispondenti, much to my surprise. I was in a class recently and several others made the same point.

Filwaqt I kien jistudja għall- 70-542 exam (Iżvilupp MOSS) I tracked my study resources. These may be helpful to you as well: http://paulgalvin.spaces.live.com/Blog/cns!1CC1EDB3DAA9B8AA!192.entry

Ipplaggja Yourself Into-Komunità

Il-komunità SharePoint hija vibranti, qawwija u dejjem tikber akbar il-ħin kollu.

Inti tixtieq li tħares lejn dawn li ġejjin biex tibda:

  • Blogs
  • Forums
  • Codeplex
  • Twitter

Blogs

Jekk ma tifhimx RSS, stop everything and learn it. It will take 10 minuti biex jitgħallmu, forsi ieħor 10 minuti biex isibu web ibbażat RSS reader (I simili qarrej google, www.google.com / qarrej).

Start by adding this blog to your RSS reader 🙂

Li jmiss, żid www.sharepointblogs.com to your reader. They aggregate many blogs into a single feed.

Maż-żmien, you’ll find blogs that are not aggregated that way. Just add them individually.

I subscribe to a few dozen blogs which I’ve accumulate over the last year. Jekk inti tixtieq, I jistgħu jesportaw lista tiegħi u l-email.

Eventwalment, you may want to start your own blog. I personally think that a series of blog entries describing a "newbie’s" progress tagħlim WSS / MOSS ikun serje interessanti. Nixtieq I kienu għamlu dak myself.

Forums

I jipparteċipaw b'mod attiv f'żewġ gruppi ta 'forum: MSDN u SharePoint Università.

Forums are excellent places to learn. People ask questions ranging from the very simple ("How do I create a site column") għall-panicked ("My server is down!") għall-mistoqsijiet disinn aktar ipotetiċi.

Ladarba inti tikseb togħma ta 'l-ambjent, venture out and start replying. Short of directly interacting with a customer, xejn hija aħjar minn dan għall-idejn fuq l-esperjenza.

Codeplex

Mur www.codeplex.com.

Iċċekkjaha u tfittxija għal proġetti SharePoint.

Abbona għall-sommarju CodePlex għalf kuljum tiegħek għalf qarrej.

Żid xi proġetti SharePoint ġodda biex qarrej tiegħek għalf.

Eventwalment, wara l-qari l-forums u iħares 'l isfel WSS / MOSS demons tiegħek, jikkunsidraw tqegħid flimkien tal-proġett tiegħek CodePlex stess.

Twitter

Kif jikteb dan blog dħul, ħafna ta 'folk SharePoint bdew jużaw Twitter.

It’s hard to characterize Twitter. You’ll just have to check it out yourself.

Konklużjoni

That wraps up my roadmap and makes me current. I just started using Twitter two weeks ago.

WSS/MOSS is a very cool platform and the community is growing all the time. Use community resources to improve your skills and enjoy the journey!

</aħħar>

Abbona għall-blog tiegħi.

Manager Protezzjoni tad-Data: Tidher qisha backup SharePoint Gran / Restore Soluzzjoni

Fil- New Jersey SharePoint User Group laqgħa aħħar lejl, Microsoft Sr. speċjalista prodott DuWayne Harrison ippreżentat Microsoft Manager Protezzjoni tad-Data 2007. DuWayne was great (u kien appoġġjat minn wieħed jew żewġ kollegi mill-udjenza li l-ismijiet I ma recall). Tista 'tikseb l-materjali preżentazzjoni hawn.

Sa l-aħħar bil-lejl, I qatt ma semgħu DPM.

Jien ma sistema persuna tip admin, so I’m writing this from SharePoint consultant’s perspective and may get some of the words wrong. Lili, DPM is a backup/restore solution for Microsoft "stuff":

  • Fajls
  • SQL
  • O / S
  • Magni virtwali (backup tal-VM jgħixu, anki jekk il-VM innifsu qed taħdem Unix).
  • Rkupru ta 'metall Bare (I.E. ħsara fil-hardware katastrofiku).

Lil hinn minn dan Jittieħed, which I would consider to be minimal requirements for any kind of "real" backup / jirrestawraw prodott, DPM also has built-in intelligence for SharePoint. It understands about server farms and lets you restore:

  • Databases Kollu (e.g. kontenut, konfigurazzjoni, eċċ).
  • Kollezzjonijiet sit
  • Siti individwali
  • Oġġetti individwali (e.g. dokumenti).

The actual restore process involves extracting the target data from the backup and save it into a "restore farm" u mbagħad minn hemm, jmexxuh għall-ambjent tal-produzzjoni (jew fejn inti tixtieq li terġa). I think this is seamless, but there was a lot of emphasis on the need for a "restore farm". The restore farm does not need to match the production environment in every particular (prinċipalment fil-topoloġija fiżiku) iżda ma bżonn li jaqblu f'termini ta 'mudelli, Verżjonijiet, eċċ.

I ma tara tmiem sħiħa li tintemm demo, but DuWayne did show screen shots and some live demos. It seems to be as good as it needs to be, inqas għal ambjent daqs moderat.

I was particularly struck by the pricing. Obviously, ma jżommux me dan, imma nemmen li l-prezzijiet l-aktar għali hija bejn wieħed u ieħor kif ġej (f'USD):

  • $600 għall DPM innifsu.
  • Hardware għal server DPM (u l-għalf assoċjati għall-midja u dak kollu li).
  • $450 għal kull server li inti tixtieq li back up ("enterprise" liċenzja).

A farm server ħamsa tiswa aktar:

  • $600 għall DPM
  • $450 x 5 servers = $2,250

Spiża totali fil-liċenzji: $2,850

Fil-prattika, it would be less. You wouldn’t necessarily need to have DPM installed on each web front end, per eżempju. You don’t necessarily need enterprise licenses either.

The user interface is seems very simple probably would not require any special training to get up to speed. I did ask about that specifically and there is apparently a 1.5 klassi jum disponibbli, għalkemm mhuwiex ovvju għalija li xi ħadd se verament bżonn li teħodha.

Kollox ma 'kollox, Naħseb li huwa ċertament min investigazzjoni jekk int hemmhekk tfittex għal soluzzjoni għall-protezzjoni tad-data SharePoint.

</aħħar>

Abbona għall-blog tiegħi.

Twitter: http://twitter.com/pagalvin

Walk-through: Waħħal Employee Taħriġ Template Disponibbli Seats Bug unregister

Peress li ħafna nies jafu, the Employee Training template provided by Microsoft here has a bug that we can reproduce following these steps:

  • Oħloq klassi ta 'daqs max ta' 10 istudenti.
  • Reġistru –> Total available seats properly decrements by one. Riżultat: 9 postijiet disponibbli.
  • Unregister: –> Bug. Total available seats should increment by one. It does not. Riżultat: 9 available seats as per SharePoint, but in fact, there are 10 postijiet disponibbli.

Soluzzjoni: Use SharePoint Designer to correct the workflow.

Ewwel, open up the site. The folder list for me looks like this:

immaġni

If we have a look at the "Attendee registration" workflow, we see that there is a step labeled "Enforce seating policy". It looks like this:

immaġni

This step in the workflow updates the item by incrementing the "Filled Seats" metadata column on the course. If we pull that up in more detail, we see this:

immaġni

That’s all the information we need to fix the unregistration workflow.

If we flip over to the unregistration workflow, there is no similar workflow step. Add it as follows:

1: Expand "Attendee unregistration" and open up the XOML (see first screen shot if you’re lost).

2: Add a new workflow variable, "New Filled Seats" of type "Number".

3: Assign a value to "New Filled Seats" kif muri:

immaġni

4: Decrement the Filled Seats by 1:

immaġni

5: Update the related Course item:

immaġni

6: Make sure all the steps are in the right sequence. Għalija, jidher qisu dan:

immaġni

7: Finish the workflow to re-build it.

8: Test.

</aħħar>

Abbona għall-blog tiegħi.

Random Osservazzjoni Sibt filgħodu

Stajt ġiet fil-klassijiet dawn aħħar ġimgħatejn u ħaġa waħda li jolqotni huwa li hemm ħafna ta 'maħsub, nies intelliġenti jaħdmu fuq SharePoint (bħala konsulenti jew IT persunal) li ma blog, twitter, jidher konxji ta 'bordijiet messaġġ pubbliċi bħall MSDN forum jew SharePoint Università, iżommu Facebook jew LinkedIn profili, eċċ. They are pure information consumers. Not bad, biss interessanti.

</aħħar>

Abbona għall-blog tiegħi.

Parti kontenut Web Mistoqsija: Taħdit fi New York SharePoint Utenti Grupp

I se jkun jitkellem mal-kollega tiegħi, Natalya Voskresenskaya, fil- New York SharePoint Utenti Grupp Laqgħa L-Erbgħa 7 Mejju.

Grazzi għall Bob Fox għall jitfg ismijiet tagħna fis-kappell u tgħinna nikseb din l-opportunità!

Tema ġenerali tagħna hija l-kontenut Mistoqsija Web Parti u nittamaw li tagħti xi informazzjoni utli għal żewġ udjenzi distinti:

  • Utenti kummerċjali (mhux iżviluppaturi): Uri kif CQWP jista 'jiġi kkonfigurat biex isolvu ċerti problemi komuni tan-negozju mingħajr ebda kodifikazzjoni.
  • Developers: Show how CQWP can be extended to do some pretty interesting things that a business user wouldn’t normally feel comfortable doing themselves. This part of the presentation will help business users understand what’s possible using this web part so that they can provide better and more realistic requirements to their developer partners.

Hawnhekk huwa l-avviż NYSPUG impustata aktar kmieni din il-ġimgħa:

"Using Content Query Web Part to Solve Business Problems".

MOSS 2007’s Content Query Web Part (CQWP) enables users to create custom views of data queried from many sources, and present that data in one place. Despite its powerful query & content refinement options, CQWP is often an underrated and overlooked feature. CQWP is both a "data extraction engine" (find documents or list items anywhere in a site collection) and also a first-class presentation tool that enables users to control how content is presented by wrapping HTML and styles to format the display nearly any way you wish.

In this demo-heavy session, they will show how to use the CQWP to solve business problems by showing off core features.

  • use default CWQP features, including audience targeting

  • use CWQP as a reporting tool anywhere in a site collection via filter criteria such as "all documents created today".

  • change look & feel of query results to highlight business data, show additional columns of information, display information in a grid format, and others.

  • show how CQWP can aid in content type administration (I.E. find all documents of a particular content type so as to understand potential impact of changing a CT definition).

  • describe some limitations of CQWP

  • provide a list of resources for advanced CQWP techniques, inklużi blogs, ECQWP Codeplex project & MSDN documentation.

</aħħar>

Abbona għall-blog tiegħi.

Integrazzjoni SharePoint FAST: Tesegwixxi Mistoqsija sempliċi

This is a continuation in my FAST coding mini-series for SharePoint folk. The bit of code below executes a search for the term "test" in FAST via a Console application. Obviously, huwa tal-ħops, skip u jaqbżu l bogħod biex nagħlaq din il-loġika ġewwa parti web jew paġna applikazzjoni:

użu Sistema;
użu System.Collections.Generic;
użu System.Linq;
użu System.Text;
użu System.Collections.Specialized;
użu Com.FastSearch.Esp.Search;
użu Com.FastSearch.Esp.Search.Http;
użu Com.FastSearch.Esp.Search.Navigation;
użu Com.FastSearch.Esp.Search.Query;
użu Com.FastSearch.Esp.Search.Result;
użu Com.FastSearch.Esp.Search.View;
użu System.Collections;

namespace Conchango
{
    klassi InvokeSimpleFASTQuery
    {
        statiku null Main(string[] args)
        {

            #reġjun Initialize komunikazzjoni tagħna ma FAST
            ISearchFactory searchFactory;

            NameValueCollection nameValueCollection = ġdid NameValueCollection();

            nameValueCollection.Add("fastsearchengine", "Com.FastSearch.Esp.Search.Http.HttpSearchFactory");
            nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.QRServers", "fastdemoback:15100");
            nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.RequestMethod", "GET");

            searchFactory = SearchFactory.NewInstance(nameValueCollection);

            #endregion

             Titnieda tiftixa

            string queryString = "test";

            Mistoqsija query = ġdid Mistoqsija(queryString);

            query.SetParameter(BaseParameter.Clustering, falza);
            query.SetParameter(BaseParameter.NAVIGATION, vera);
            query.SetParameter(BaseParameter.NAVIGATION_DEEPHITS, 100);

            ISearchView searchView;
            searchView = searchFactory.GetSearchView("sharepointconn");

            IQueryResult Riżultat = searchView.Search(query);

            Console.WriteLine("Total results from search: [" + result.DocCount + "].");

            int docCounter = 0;

            filwaqt li (docCounter < result.DocCount)
            {

                docCounter    ;

                IDocumentSummary thisDocSummary = result.GetDocument(docCounter);

                Console.WriteLine("[" + docCounter + "]: " + thisDocSummary.GetSummaryField("url").StringValue);

            } // filwaqt li

            Console.ReadLine();
            #endregion

        }
    }
}

Huwa jiġġenera-riżultat li ġej:

immaġni

</aħħar>

Abbona għall-blog tiegħi.

Tags: ,