Bilaketa Enhanced jQuery-As-You-mota Elogio del (Jan Tielens)

BPOS demo batean ari naiz lanean (laster eskuragarri izango Microsoft-en web orrian) 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, Izan ere,, work in a BPOS (SharePoint online) ingurumena.
  2. To make it work without an annoying popup message prefix the reference to the jquery library with https instead of http, bezala:
<script mota ="text/javascript" src ="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

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 🙂

</amaiera>

Hau nire post bat da serie-on going nola erabili jQuery SharePoint batera.
Nahi duzun jQuery buruz gehiago jakin nahi baduzu, Gomendatzen dut oso: Ekintza jQuery Bear Bibeault eta Yehuda Katz arabera.

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags:

SharePoint Denda Talk Osteguna 10/29 at 12:30 PM EDT

Hurrengo SharePoint Denda Eztabaida jarri hartzen du ostegun honetan 12:30PM EDT.

Bi aste hartu off dugu (ondorioz SharePoint Conference azken astean) eta ondorioz, ilaran galderak zenbaki bat dugu, 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.

Izena eman hemen: 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!

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Quick Hit: InfoPath XML SharePoint SPListItem bat irakurtzen du zuzenean From

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 (besterik ez XML fitxategiak dira, beraz, benetan da nahiko erraza).

Nintzen bitartean, eraikitzeko proiektua, I started by downloading an InfoPath form and saving it to my local hard drive. My c# code was reading directly from that instance. Hala eta guztiz ere, 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. Hala eta guztiz ere, there’s no need to go through those hoops as you can read it directly from the library. This little snippet shows how:

/// Class definition stuff here, barne:
pribatua SPFile mySharePointFile; /* Part of an SPList */
// More code goes here and inside a method of the class we have:
XmlTextReader textReader;
textReader = berria XmlTextReader(mySharePointFile.OpenBinaryStream());

textReader.WhitespaceHandling = WhitespaceHandling.Bat ere ez;

textReader.Read();

// If the node has value

bitartean (textReader.Read())
{

… and so on and so forth …

They key bit above is that we can read the InfoPath directly via the OpenBinaryStream() method call on the SPFile as a parameter to the constructor on XmlTextReader. It works great.

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Azkarra eta erraza: Send Email Gmail SMTP Server erabiliz. NET C #

Hau ez da hain zuzen ere gai berri bat, baina egin behar nuen, I found a lot of “why won’t this work for me” and not too many direct answers. I hope someone finds this useful.

Honako kode apur mezu elektroniko bat bidaliko du nire gmail kontua erabiliz egin, eranskinak barne:

erabiliz System.Net.Mail;
erabiliz System.Net;

NetworkCredential loginInfo = berria NetworkCredential("[Nire Gmail ID]", "[Nire Gmail pasahitza]");
MailMessage msg = berria MailMessage();
msg.From = berria MailAddress("[M Gmail Id]@ Gmail.com");
msg.To.Add(berria MailAddress("paul.galvin@arcovis.com"));
msg.Subject = "Test infopath dev subject";
msg.Body = "<html><gorputza><sendoa>Indartsu mezu bat.</sendoa></gorputza></html>";
msg.IsBodyHtml = Egia;

foreach (katea aFile urtean NIPFD.GetAttachmentNamesAndLocations())
{
    msg.Attachments.Add(berria Eranskin(aFile));
} // Eranskinak gehitzea.

SmtpClient client = berria SmtpClient("smtp.gmail.com");
client.EnableSsl = Egia;
client.UseDefaultCredentials = faltsuak;
client.Credentials = loginInfo;
client.Port = 587;
client.EnableSsl = Egia;
client.Send(msg);

Zenbait gako bit hori moteldu me down eta beste behaketa / notak:

  • Lehenengo lerroa loginInfo objektu sortzen erraztu behar du gmail NAN erabili ahal "@ Gmail.com". Beraz,, nire gmail helbide elektronikoa da "Sharepoint@gmail.com"Eta nire pasahitza" xyzzy "lerro litzateke itxura:

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

  • Nire gmail kontua sortu SSL erabiltzeko, eta hori ez da arazo bat.
  • There is some conflicting information out there on what port to use. I used port 587 eta ondo lan egin zuen niretzat.
  • Nire kasuan, 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, Bi eranskin izan nuen, eta biek egin zuen lan fina.

Ikusmen estudioa erabiltzen dut 2008 kode hau idazteko.

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags: ,,,

SharePoint Conference 2009 - Talde Zure Real Time Datu gordinak Twitter From

Ia denek ezagutzen duten eta hala ere espero dut, 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, bat silliness asko eta txiste "in", 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

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Programazioaren Attachments InfoPath Forms aurrera ateratzen (Haien izenak barne!)

I have an expense entry solution for a client that leverages InfoPath and workflow. At one point during the approval process, Duen helbide elektroniko bat du hori ona InfoPath datu guztiak, baita eranskinak beraiek sortu behar dut, beraz, (sigh) Norbaitek datuak eta eskuz re-gako hartu ahal Oracle datu-base aplikazioan.

It’s not very difficult to get at or parse the InfoPath form. I didn’t know how to handle the attachments, Hala ere,. After an hour or two of poking around the Internets (betikotasunaren bat!) Artikulu hau aurkitu dut: http://support.microsoft.com/kb/892730

It provide some handy code to extract the attachment from a node in the form. (Behar zara oraindik nodo eta hori guztia aurkitzeko, baina, besterik XML analisi da).

Eranskina dela 64-kodetutako ezagutu nuen, eta joan I jatorriz behera, besterik gabe, 64, datuak ateratzeko bidea, decoding it and saving it. Hala eta guztiz ere, Azkar konturatu nintzen ez nekien nola fitxategi izena lortzeko bere burua aurkitu dut aipatutako artikulu arte.

Egia esan, ez nuen aurkitu duten nahiko goiz, baina jarri nintzen off bere nortasuna zatitu arabera. Alde batetik,, the article *says* it’s good for InfoPath 2007. Oraindik, kodea eta jarraibideak dira Visual Studio buruz 2003 eta InfoPath erreferentziak 2003.

Behean line, kodearen emandako artikulu hori bai lan niretzat (orain arte). I can get my InfoPath form, Da analizatu ahal dut, I can find and decode the attachment and I know its name. What more can one ask of one’s life?

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags: ,,

Zauden kezkatuta baduzu zure SharePoint ingurune osasungarriak Tad bat izan daiteke, dizute konpontzen lagundu dit osasun-txeke bat.

SharePoint Shop Eztabaida laburpena 10-08-2009

Gaurko SharePoint Denda Eztabaida estalita gai sorta zabala ohiko:

  • 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, baina abiarazten duzunean, ozen out buruz hitz egiten, 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, lizentzien (zure intranetean SharePoint lizentzia ezin izango da, eta, ziurrenik, ez da izango, nahikoa), SharePoint konfigurazio (AAM, web aplikazioak hedatzeko zonalde hori Ziurrenik HTTPS gaituta), etc. 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 (orain arte).
  • 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, Denda bat SharePoint Eztabaida erregular, hau blog sarrera puntu: 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.
  • Ohiko edizio forma aztertu ditugu (SPD bidez sortzen dituzun) 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

Aste honetan, Ezaugarri berri bat non buruz egon ginen sartu dugu 10 minutes demonstrating an interesting tip/trick in a SharePoint environment. Aste honetan, nola eduki editore web zati gehitu erakutsi dugu (eta, egia esan, web edozein) to a newitem.aspx page. Kasu honetan, 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. Hurrengo astea, we do plan to show a jQuery tip/trick. We hope to see you there.

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags:

SharePoint Shop Eztabaida 10/08/08 at 12:30 PM EDT

Ari gara gure hurrengo asteko SharePoint Denda Eztabaida saio hostinga bihar 12:30 PM EDT.

Irekita Q&A and general kibitzing session on all topics SharePoint related.

Hainbat saio aldez aurretik recaps irakur dezakezu hemen zer egiten dugun dei horiek zentzu hemen: http://paulgalvin.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&_c=BlogPart&partqs=cat%3dPublic%2520Speaking

Izen-ematea da, eta prest dago hementxe: https://www.livemeeting.com/lrs/8000043750/Registration.aspx?pageName=0z40kg9nb0t0842f

Twitter galderak me, "Buruko.

Bidali mezu elektroniko horiek questions@sharepointshoptalk.com or just show up on the line and ask them out loud.

Ikusi eta gero, espero dugu!

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags:

Blog edo Ez Bloga - Galdera da (Bloga buruz)

Kontuan izan: This was originally posted to www.endusersharepoint.com.

A few weeks ago I had the chance to speak at SharePoint Saturday in New York. Berriro ere, a tremendous event. Oraingo honetan, I spoke about “learning SharePoint” – a very broad topic. During the presentation (den hemen), I talked about a variety of techniques for “learning” SharePoint, including stuff like book learning, class room training, creating your own VM and most importantly (me), 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, I’m scratching that itch by blogging about it.

Some people seem to think that there are so many quality bloggers out there on the scene today and that so many quality blog entries have been written that in a sense, there’s nothing new to write about. Edo, 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.

For starters, if you’re blogging because it’s part of your personal attempt at learning SharePoint well, it’s really irrelevant if someone has written on your topic or not. One of the drivers behind community participation, whether it’s for personal learning or not, is that you need to get it right. 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, you’re going to think the subject through more carefully, etc. Thus, you’re thinking, studying and considering this topic from all kinds of angles, left to right, up to down, inside and out (or at least you should be). That’s a very valuable exercise. Izan ere,, 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. Jakina, you do want to push the post button anyway for a variety of reasons, but I digress. The bottom line is that blogging is a valuable learning exercise in and of itself, period.

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, different writing styles, different approaches to the same problem – they all help me understand what I need. In my opinion, the community is no where close to reaching a saturation point on good quality blog articles on any topic in the SharePoint world.

Beraz,, blog away! You won’t hear me complaining about it. I guarantee it 🙂

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags: ,

Ez Txina Shop Bull Be

SharePoint historia laburra (Relative Wazemank baten ikuspuntutik)

Kontuan izan: Artikulu hau, jatorriz etan www.endusersharepoint.com. I forgot to post it to my own blog 🙂

SharePoint handia bilakaera izan du bere hastapenetan, eta geroztik, Microsoft teknologia inkubazio sort –beldurrezko film bat bezala da ia eboluzionatu, non zientzilari ero en sorkuntza bere bizitza bat hartzen du, breaking free of its creator’s expectations and rules. The technical evolution is obvious – the WSS 3.0 objektu eredua da, aberatsagoa eta konplexuagoa WSS baino 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, Hala ere,, SharePoint bilakaera da, are gehiago esanguratsua.

Hasieran egunetan, 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, Azken erabiltzailearen eredua nahiko tradizionala ondoren <-> IT relationship. A lot of End Users, komunikatzeko eta bertan jende kopuru oso txiki batekin irtenbide enpresa arazoak konpontzeko emateko lanean:

image

Globalaren arazoa domeinu diren SharePoint egokia entrega plataforma da txiki (especially compared to today’s SharePoint. End Users and IT worked in a more classic arrangement with IT: define eskakizunak IT, itxaron egin lana oihala atzean eta azken produktuaren entrega hartu.

SharePoint to eboluzionatu gisa 2.0 mundu (WSS 2.0 eta SharePoint Portal Server), several things happened. Lehen, the “problem domain” increased in size. By problem domain, I mean the kinds of business problems for which SharePoint could be a viable solution. Esate baterako, ez duzu uste gehiegi gogorra larri bat bilatu beste irtenbide ezartzeko SharePoint ingurune batean buruz SPS arte (eta, nahiz eta, ondoren,, ez zen ona behar da izan). Aldi berean,, Amaiera Erabiltzaileek aurrekaririk gabeko ahalmena ez da bakarrik definitzeko, but also implement their own solutions with little or no IT support.

The 3.0 plataforma (WSS eta MOSS) maintained and increased that momentum. The problem domain is enormous as compared to the 2.0 plataforma. Virtually every department in a company, fabrikazio-, osasun-eta segurtasun-sailetako marketing artekoak, kalitate-kontrola salmenta - SharePoint erabilera ona aurkituko dute (eta ez da Kopako bat Peg mashing karratu zulo sartu kasu bat). Aldi berean,, 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, Amaiera, erabiltzaileak modu eraginkorrean epaile, epaimahaiak eta Ejecutor enpresa analista, 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, dezagun kontuan hartu aretoan elefantea.

Crystal Ball sartu Peering

Nola izango SharePoint 2010 eragina duten patroi hau? Will it be incremental or revolutionary? Will more, gutxiago edo amaiera erabiltzaile kopuru berean buruz aurkitu konponbideak eraikitzeko SharePoint-en ahalmena beraiek 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?

Ez dago informazio nahikoa da "hor kanpoan" segurtasunez esan, orokorrean erantzuna dela:

  • The problem domain is going to dramatically expand.
  • Azken erabiltzaileek beraiek aurkituko are gehiago ahalmena baino.

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.

Nire Txina Denda Zezenak No!

Dirudi handia, baina nire SharePoint aholkulari gisa ikuspuntutik eta ni jarriz IT kudeatzailea zapatak sartu, I see this vision. I own a China shop with beautiful plates, kristal, etc (nire SharePoint ingurumena). 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, baina aurrea hartzeko, 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 bi bulls and even a wolf. Then I notice that there are some sheep. Sheep are beraz, bad, but are they maybe disguised wolves? I don’t want bulls in my china shop!

It gets worse! When I rented the space, I couldn’t believe how nice it was. Wide and open, terrific amenities, very reasonable price. Hala eta guztiz ere, now I’m realizing that the wide open spaces and the huge door is just perfectly sized for a bull to come wandering in and lay waste to my china.

I’m pushing this analogy too far, jakina. End Users are not bulls (most of them, hala ere) and IT departments don’t (ziur aski, edo behar ez) view their user community with that kind of suspicion. Hala eta guztiz ere, han egiten ari da dagoeneko dagoen talka perfektua moduko hori 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.

Hori da, handia eta guztiak, baina kontua da hori, oraindik ere oso teknikoa, produktu bat, eta oraindik enpresa indartsua eskakizunak analisi mota eskatzen, 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 da jokoa aldatzeko pixka bat joan eta play ezberdinean eta mugimendu motela hasi da joan enpresa roll out beren SP 2010 konponbideak baino gehiago 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, adibidez. They need to understand fundamental concepts like CRUD (sortu, eguneratu eta ezabatu), dev / test / qa / prod inguruneak eta nola azpiegitura hori erabiltzeko behar bezala zabaldu irtenbideak bizi polit bat denbora luzean eta bihurgune (ez hausteko) Erakunde baten aldaketak erantzunez.

Datozen asteetan, Eta saiatu ematen nire ideiak batzuk egiteko asmoa dut, baita lan handia lotura beste askotan egileek egin (an www.endusersharepoint.com eta beste nonbait) so that interested End Users can learn that old time IT religion. Keep tuned.

</amaiera>

Nire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Technorati Tags: ,