Mjesečni arhiv: Listopad 2009

U slavu jQuery Enhanced Search-as-you-Type (Jana Tielens)

Radim na BPOs demo (Uskoro u se na Microsoftovim stranicama) and I wanted to add a little pizzazz. I’ve known about Jan Tielen’s efforts for quite a while and I thought it would be a great technique to add to the demo, so I did. You can read about it here: http://weblogs.asp.net/jan/archive/2009/07/02/sharepoint-search-as-you-type-with-jquery.aspx. It’s so simple to use it should probably be a crime (and maybe is somewhere).

I add just two points to what he already created / wrote about:

  1. This does, zapravo, work in a BPOS (SharePoint online) okolina.
  2. To make it work without an annoying popup message prefix the reference to the jquery library with https instead of http, kao u:
<skripta type ="Text / javascript" src ="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></skripta>

Jan points out that you should probably move the library itself to your site. Feeling a little lazy today, I decided to blog about it instead 🙂

</kraj>

Ovo je još jedan post na mom blogu u tijeku seriju o tome kako koristiti jQuery sa SharePoint.
Ako želite saznati više o jQuery, JA visoko preporučiti: jQuery u akciji od strane medvjeda i Bibeault Yehuda Katz.

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags:

SharePoint Trgovina Razgovor četvrtak 10/29 na 12:30 PM EDT

Sljedeći SharePoint Shop Razgovor se održava u četvrtak, na 12:30PM EDT.

Poduzeli smo dva tjedna off (zbog SharePoint konferenciji prošlog tjedna) i kao rezultat, imamo niz pitanja u redu, not to mention all kinds of cool stuff to talk about regarding SharePoint 2010. All of the panel members attended SPC, so bring your SP 2010 questions to the call or email them to questions@sharepointshoptalk.com.

Aside from a good part of the call set aside to talk about some SP 2010 goodness, we’ll also discuss:

  • Why SharePoint shows different navigation options under site settings (this varies based on features and site configuration)
  • Modifying versions.aspx – problems, difficulties doing so (I”m not surprised 🙂 ).
  • Embedding RSS feeds into a site when the source is authenticated.
  • Using stsadm to manage logging.

Registrirajte se ovdje: https://www.livemeeting.com/lrs/8000043750/Registration.aspx?pageName=p663256djrrflfdw

As usual, send any questions or discussion topics to questions@sharepointshoptalk.com, email me directly or twitter to @pagalvin.

We hope to see you there!

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags:

Quick Hit: Čitanje InfoPath XML izravno iz SPListItem u sustavu SharePoint

I’m been working on a project where I need to extract attachments from an InfoPath form. There are some good resources for parsing InfoPath forms (koji su samo XML datoteke, tako da je zapravo vrlo jednostavno).

Dok sam bio izgradnju projekta, I started by downloading an InfoPath form and saving it to my local hard drive. My c# code was reading directly from that instance. Međutim, the InfoPath forms are really living inside a SharePoint forms library. I did a little half hearted searching to find out how to read it directly from the library and almost gave up, in which case I would have saved the form to a local temp directory and read it from there. Međutim, there’s no need to go through those hoops as you can read it directly from the library. This little snippet shows how:

/// Class definicija stvari ovdje, uključujući:
privatni SPFile mySharePointFile; /* Dio je SPList */
// Više kod ide ovdje, a unutar metode u klasi imamo:
XmlTextReader textReader;
textReader = novi XmlTextReader(mySharePointFile.OpenBinaryStream());

textReader.WhitespaceHandling = WhitespaceHandling.Nijedan;

textReader.Read();

// Ako čvor ima vrijednost

dok (textReader.Read())
{

… and so on and so forth …

Oni su ključni malo iznad je da možemo pročitati InfoPath izravno putem OpenBinaryStream() method call on the SPFile as a parameter to the constructor on XmlTextReader. It works great.

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags:

Brzo i jednostavno: Pošaljite e-poštu koristite Gmail SMTP poslužitelja u. NET C #

To nije točno novu temu, ali kad mi je trebalo to učiniti, I found a lot of “why won’t this work for me” and not too many direct answers. I hope someone finds this useful.

Sljedeći malo koda će poslati e-mail koristeći svoj Gmail račun za to učiniti, uključujući privitke:

pomoću System.Net.Mail;
pomoću System.Net;

NetworkCredential loginInfo = novi NetworkCredential("[My Gmail ID]", "[My Gmail Password]");
MailMessage msg = novi MailMessage();
msg.From = novi MailAddress("[M Gmail Id]@gmail.com");
msg.To.Add(novi MailAddress("paul.galvin@arcovis.com"));
msg.Subject = "Test infopath dev subject";
msg.Body = "<html><tijelo><strong>A strong message.</strong></tijelo></html>";
msg.IsBodyHtml = pravi;

foreach (niz aFile u NIPFD.GetAttachmentNamesAndLocations())
{
    msg.Attachments.Add(novi Attachment(aFile));
} // Adding attachments.

SmtpClient client = novi SmtpClient("smtp.gmail.com");
client.EnableSsl = pravi;
client.UseDefaultCredentials = lažan;
client.Credentials = loginInfo;
client.Port = 587;
client.EnableSsl = pravi;
client.Send(msg);

A few key bits that slowed me down and other observations / notes:

  • The first line that creates the loginInfo object needs to use the gmail ID stripped of “@gmail.com". Tako, if my gmail email address is “sharepoint@gmail.com” and my password is “xyzzy” then the line would look like:

NetworkCredential loginInfo = novi NetworkCredential("sharepoint", "xyzzy");

  • My gmail account is set up to use SSL and that wasn’t a problem.
  • There is some conflicting information out there on what port to use. I used port 587 and it worked fine for me.
  • U mom slučaju, I also needed to send attachments. That NIPFD object has a method that knows where my attachments are. It’s returning a fully path (e.g. “c:\temp\attachment1.jpg”. In my test, I had two attachments and they both worked fine.

I used visual studio 2008 to write this code.

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags: ,,,

SharePoint konferencija 2009 - Get Your Real Time sirovi podaci iz Twitter

Ja očekujem da gotovo svatko zna to svejedno, but I thought I’d toss out a quick note that there’s a tremendous amount of very interesting information available via twitter. The hash tag #SPC09 seems to be the most popular. Like always, postoji puno glupavost i "u" šale, but if you can get past that, check it out. I do my best to respond to comments or questions directed to me and I know that a lot of others do as well, so it’s not just a one-way flow of information.

New sessions start in just under two hours and continue up until about 3pm EDT this Thursday. It will start to pick up then.

Check out the twitter feed here: http://twitter.com/#search?q=%23spc09

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags:

Programski Izdvajanje privitke Od InfoPath Forms (Uključujući njihova imena!)

I have an expense entry solution for a client that leverages InfoPath and workflow. At one point during the approval process, Trebam generirati e-mail koji je sve to dobrim InfoPath podataka, kao i privitke sebe, tako da (uzdah) netko može uzeti te podatke i ručno ponovno Ključ je u primjeni Oracle baze podataka.

It’s not very difficult to get at or parse the InfoPath form. I didn’t know how to handle the attachments, međutim. After an hour or two of poking around the Internets (vječnosti!) Otkrio sam ovaj članak: http://support.microsoft.com/kb/892730

It provide some handy code to extract the attachment from a node in the form. (Još uvijek je potrebno pronaći čvor i sve to, ali to je samo XML raščlanjivanjem).

Znam da privitak base64 kodiran i ja izvorno je otišao na put samo vađenje u base64 podatke, decoding it and saving it. Međutim, Brzo sam shvatio nisam znao kako da biste dobili naziv datoteke se sve dok nisam pronašla spomenuti članak.

Zapravo sam našao da je dosta rano, ali sam je odložio po podijeljenom osobnošću. U jednu ruku, the article *says* it’s good for InfoPath 2007. Još, kôd i upute su sve o Visual Studio 2003 i reference na InfoPath 2003.

Bottom line, kod koji članak dali radi dobro za mene (dosada). I can get my InfoPath form, Mogu ga analizirati, I can find and decode the attachment and I know its name. What more can one ask of one’s life?

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags: ,,

Ako ste zabrinuti da vaše SharePoint okoliš može biti TAD nezdravo, dopustite mi da vam pomoći da popraviti sa zdravstvenog pregleda.

SharePoint Shop Razgovor rekapitulacija za 10-08-2009

Današnji SharePoint Shop Razgovor pokrivena svoju uobičajenu širok spektar tema:

  • We discussed the issues around opening up parts of a SharePoint site collection to your trading partners. It’s not the most complicated thing in the world, ali kad počnete govoriti o naglas, you realize there are a lot of small individual things that need to be done to do this correctly. You have to consider the firewall, licenciranje (Vaš intranet SharePoint licenca ne može biti, i vjerojatno neće biti, dovoljan), SharePoint konfiguraciji (AAM, proteže web aplikacija za zone koje su vjerojatno HTTPS omogućili), itd.. If anyone has a checklist of what to do and the sequence, I’d love to see it in comments. This question wins the “Most Discussed Question” aware of the year (dosada).
  • I got to ask a question about the image library functionality that generates those thumb nail images. I speculated that an event receiver on the image library is generating the thumb nail. I’m probably way off base, but it does seem like there’s an entirely separate image on the web server for the thumb nail itself. Vamshi, Razgovor SharePoint Shop redovito, ističe ovaj blog stupanja: http://pathtosharepoint.wordpress.com/2009/08/23/picture-libraries-take-advantage-of-web-friendly-formats/. That’s a pretty interesting post about images in SharePoint if you’re interested in it.
  • Razgovarali smo običaj uređivanje obrazaca (koji ste stvorili preko SPD) and the fact that you lose the attachment functionality when you do that. Laura Rogers has blogged on that subject here: http://sharepoint911.com/blogs/laura/archive/2009/09/10/fix-for-the-custom-form-attachments-issue.aspx

Ovaj tjedan, uveli smo novu značajku gdje smo proveli oko 10 minutes demonstrating an interesting tip/trick in a SharePoint environment. Ovaj tjedan, pokazali smo kako je dodao web dio sadržaja urednika (i zapravo bilo kojeg web-dio) to a newitem.aspx page. U tom slučaju, the objective was to show some extensive online help for that newitem.aspx page. This is also one of the usual starting points for integrating jQuery into your environment. Sljedeći tjedan, we do plan to show a jQuery tip/trick. We hope to see you there.

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags:

SharePoint Shop Talk 10/08/08 na 12:30 PM EDT

Mi smo domaćin naš sljedeći tjedni SharePoint sjednicu Shop Talk sutra u 12:30 PM EDT.

Ovo je otvoren P&A and general kibitzing session on all topics SharePoint related.

Možete pročitati razne recaps od prethodnih sjednica ovdje kako bi dobili osjećaj za ono što radimo na tim pozivima ovdje: http://paulgalvin.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&_c=BlogPart&partqs=cat%3dPublic%2520Speaking

Registracija je i spremno ovdje: https://www.livemeeting.com/lrs/8000043750/Registration.aspx?pageName=0z40kg9nb0t0842f

Twitter svoja pitanja za mene, @ Pillowcase.

Pošaljite ih na questions@sharepointshoptalk.com or just show up on the line and ask them out loud.

Nadamo se da ćemo vas vidjeti onda!

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags:

Na blog ili ne blog - To je pitanje (Blog O)

Primijetiti: To je izvorno objavljena u www.endusersharepoint.com.

A few weeks ago I had the chance to speak at SharePoint Saturday in New York. Još jednom, a tremendous event. Ovaj puta, I spoke about “learning SharePoint” – a very broad topic. During the presentation (koji možete dobiti ovdje), Razgovarao sam o različitim tehnikama za "učenje" SharePoint, uključujući i stvari kao što je knjiga učenju, učionica obuke, kreiranje vlastite VM i što je najvažnije (meni), community participation. One way to participate in the SharePoint community is via blogging. Someone asked me about blogging in particular and asked my opinion on a few concerns he had that I’ve heard others mention before. It’s been itching at the back of my head for a few weeks so in my usual fashion, Ja sam grebanje taj svrab bloganje o tome.

Neki ljudi misle da su toliko kvalitetni blogeri vani na sceni danas i da su mnogi kvalitetni blog unosa je napisao da je u nekom smislu, there’s nothing new to write about. Ili, the “new” thing is so narrowly focused that it’s not going to be interesting to anyone. I don’t agree with those sentiments or the underlying assumption about them.

Za početak, Ako ste bloganje, jer to je dio vašeg osobnog pokušaj učenja i SharePoint, it’s really irrelevant if someone has written on your topic or not. One of the drivers behind community participation, da li je za osobnu učenja ili ne, je da potrebno da se to pravo. No one wants to put up some weak blog entry and look silly in front of the world. In the course of getting it right, idete razmišljati temu kroz više pažljivo, itd.. Thus, razmišljate, studiranja i obzirom ovu temu iz svih vrsta kutova, s lijeva na desno, gore prema dolje, iznutra i izvana (ili barem što bi trebao biti). That’s a very valuable exercise. Zapravo, it’s almost beside the point of pushing the “post” button by the time you finish writing it since you’ve already derived much of the benefit by now. Naravno, vi ne želite gurnuti poštanski gumb ionako za niz razloga, but I digress. The bottom line is that blogging is a valuable learning exercise in and of itself, razdoblje.

I also reject the “it’s already been done” argument. So what if it was? The terrible consequence is that people who are looking up your topic via bing will now find two or five or a dozen articles. Who cares? I always prefer to find several articles on the same topic when I go searching the tubes for stuff. Different points of view, različiti stilovi pisanja, different approaches to the same problem – they all help me understand what I need. In my opinion, Zajednica je nema gdje blizu postizanja točku zasićenja na dobrim člancima kvalitete blog o bilo kojoj temi u SharePoint svijetu.

Tako, blog u gostima! You won’t hear me complaining about it. I guarantee it 🙂

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags: ,

Ne budite Bull u staklarni

Kratka povijest SharePoint (Od relativno pridošlica perspektive)

Primijetiti: Ovaj članak je izvorno objavljen u www.endusersharepoint.com. Zaboravio sam to objaviti na svom blogu 🙂

SharePoint je evoluirala mnogo od svojih ranih dana, kao svojevrsno inkubacije tehnologije u Microsoftu –to je evoluirala gotovo kao horor filma, gdje je ludi znanstvenik kreacija se na vlastiti život, breaking free of its creator’s expectations and rules. The technical evolution is obvious – the WSS 3.0 Objektni model je bogatiji i složeniji od WSS 2.0, which was itself an improvement over earlier versions. The next version will no doubt show tremendous improvement over 3.0. From an End User’s perspective, međutim, SharePoint evolucija je još značajniji.

U ranim danima, SharePoint didn’t offer much to End Users. They would have their usual functionality requirements, work with IT to define them well and implement a solution. IT would use SharePoint to solve the problem. The product wasn’t very accessible to End Users. I’ve thought threw a few analogies, but I decided to stick Venn Diagrams to show what I mean. When Microsoft first released SharePoint to the world as a commercial offering, to slijedi relativno tradicijski način za krajnjeg korisnika <-> IT relationship. A lot of End Users, komunikaciju i rad s vrlo malim brojem ljudi nje da dostavi rješenja koja rješavaju poslovne probleme:

image

Ukupna Problem domene za koje SharePoint je pogodna isporuku platforme je mala (especially compared to today’s SharePoint. End Users and IT worked in a more classic arrangement with IT: definirati zahtjeve za IT, čekati za to rade svoj posao iza zavjese i uzeti isporuku finalnog proizvoda.

Kao SharePoint evoluirao 2.0 svijet (WSS 2.0 i SharePoint Portal Server), several things happened. Prvi, the “problem domain” increased in size. By problem domain, I mean the kinds of business problems for which SharePoint could be a viable solution. Na primjer, ne bi previše razmišljati o provedbi ozbiljnu pretragu rješenje u SharePoint okoliš dok SPS (pa čak i onda, to nije bio tako dobar kao što je potrebno kako bi se). Istovremeno, Krajnji korisnici imaju neviđenu sposobnost ne samo definirati, but also implement their own solutions with little or no IT support.

The 3.0 platforma (WSS i MOSS) maintained and increased that momentum. The problem domain is enormous as compared to the 2.0 platforma. Virtually every department in a company, u rasponu od proizvodnje zdravlja i sigurnosti odjela za marketing, od prodaje kontrole kvalitete - oni mogu naći dobro iskoristiti za SharePoint (a to nije slučaj gnječenje okrugli klin u rupu trgu). Istovremeno, the platform empowers even more End Users to implement their own business solutions. I try to capture that with this diagram:

image

This has proven to be both a potent and frustrating mixture. The 3.0 platform turns previously stable roles on their heads. Suddenly, Krajnji korisnici su učinkovito sudac, porota i krvnik Poslovni analitičar, application architect and developer for their own business solutions. This gets to the heart of the problem I’m writing about. But before I dive into that, razmotrimo slona u sobi.

Prodiranje u Crystal Ball

Kako će SharePoint 2010 utjecati na ovaj uzorak? Will it be incremental or revolutionary? Will more, manje ili približno isti broj krajnjih korisnika nađu ovlaštena za izgradnju rješenja u sustavu SharePoint 2010? Will SharePoint 2010’s problem domain expand even further or will it just refine and streamline what it already offers in WSS 3.0 / MOSS?

Ima dovoljno informacija "vani" za sigurno reći da general odgovor:

  • The problem domain is going to dramatically expand.
  • Krajnji korisnici će se naći još više ovlasti nego prije.

The Venn Diagram would be larger than this page and cause some IT Pros and CxO’s to reach for their Pepto.

I believe it’s going to be a tremendous opportunity for companies to do some truly transformational things.

Nema Bullsi u moju staklarni!

To zvuči odlično, , ali s moje točke gledišta kao SharePoint konzultant i ja stavljanjem u cipele IT menadžer, I see this vision. I own a China shop with beautiful plates, kristal, itd. (moj SharePoint okoliš). I’ve rented a space, I’ve purchased my inventory and laid it all out the way I like it. I’m not quite ready to open, ali u iščekivanju, I look at the door to see if my customers are lining up and I notice an actual bull out there. I look more closely and I actually see dva bulls and even a wolf. Then I notice that there are some sheep. Sheep are tako loše, , ali su oni možda prikriveno vukove? I don’t want bulls in my china shop!

To se pogoršava! When I rented the space, I couldn’t believe how nice it was. Wide and open, nevjerojatan pogodnosti, very reasonable price. Međutim, sad sam shvatio da prostranstvima i ogromna vrata je upravo savršeno veličine za bika doći lutanja i položiti otpada na moj Kini.

Ja sam gura ovu analogiju predaleko, naravno. End Users are not bulls (većina ih, u svakom slučaju) i IT odjeli ne (ili sigurno ne bi) view their user community with that kind of suspicion. Međutim, postoji ova vrsta savršen sudara odvija već u 3.0 platform that I expect will only get worse in SP 2010. SharePoint already empowers and encourages End Users to define and implement their own solutions.

To je super i sve, , ali činjenica je da je još uvijek vrlo tehnički proizvod i dalje poziva na kakve energične poslovne zahtjeve analize, design and general planning and management that technical projects require to be successful. These are not the kind of skills that a lot of End Users have in their bag of tricks, especially when the focus is on a technical product like SharePoint.

I’ve given this a lot of thought over the last year or so and I don’t see any easy answer. It really boils down to education and training. I think that SP 2010 će se promijeniti igru ​​malo i to će se igrati drugačije i usporeno kao tvrtke razvaljajte svoju SP 2010 Rješenja više 2010 and beyond. In order to succeed, End Users will need to transform themselves and get a little IT religion. They’ll need to learn a little bit about proper requirements
analysis. They will need some design documentation that clearly identifies business process workflow, for instance. They need to understand fundamental concepts like CRUD (stvoriti, ažuriranje i brisanje), dev / test / K / prod okruženja i kako koristiti tu infrastrukturu kako bi ispravno implementirati rješenja koja žive lijepo dugo vremena i iskrivi (Ne provaliti) kao odgovor na promjene u organizaciji.

U narednim tjednima, Planiram probati i dati neke svoje nove ideje, , kao i link na velikom djelu učinio mnogo drugih autora (na www.endusersharepoint.com i drugdje) so that interested End Users can learn that old time IT religion. Keep tuned.

</kraj>

Pretplatite se na moj blog.

Slijedite me na Twitter-u http://www.twitter.com/pagalvin

Technorati Tags: ,