SharePoint Developers Group – 1st meeting summary

27 בפברואר 2010

אז מפגש ראשון של קהילת מפתחי SharePoint הסתיים בהצלחה! במפגש הצגתי את הקבוצה ומטרותיה, והכרזתי על פתיחתו של פורטל SharePoint הישראלי בקרוב. דיברנו על כלי הפיתוח החדשים ב SharePoint 2010, על Linq 2 SharePoint ועל Client Object Model. בסוף המפגש שאלו אותי 2 שאלות שלא הספקנו לענות עליהן, והבטחתי לענות עליהן בבלוג: 1. בשימוש ב Client OM, איך אפשר לקבוע מראש אילו מאפיינים על אובייקט יחזרו? לדוגמא, אם אני רוצה להביא מהשרת את האובייקט List, אבל אני לא צריך את כל המאפיינים שלו. תשובה: כדי להחזיר את המאפיינים Title, Created, OnQuickLaunch של האובייקט...
תגיות: , ,
אין תגובות

SPMetal – Missing Created By/Modified By fields

19 בפברואר 2010

Update: I have posted a more appropriate solution for this problem here: http://blogs.microsoft.co.il/blogs/itaysk/archive/2010/09/22/spmetal-default-fields.aspx  I have been playing around with Linq 2 SharePoint (SharePoint 2010 beta 2), and noticed that SPMETAL fails to generate the appropriate fields for the ‘Created By’ and ‘Modified By’ fields. This is probably a bug with SPMETAL, but here’s a quick workaround. generate a code file with SPMETAL as usual, and look for the ‘Item’ class. Add this piece of code inside the class: string _CreatedBy;public string CreatedBy{ get { ...
תגיות: ,
אין תגובות

SPMetal addin for Visual Studio

The first thing that crossed my mind when I was learning about SPMetal, was why isn’t there an easier way to call it. Something like an addin for Visual Studio. It was only a manner of time, but someone has already picked the glove (and beat me to it). Waldek Mastykarz has extended SharePoint Explorer (that is part of Visual Studio 2010), to allows picking a site, and running SPMETAL at it. Read more and download the addin here: http://blog.mastykarz.nl/imtech-spmetal-definition-extension/
תגיות: ,
אין תגובות

SharePoint integration with Windows Phone Series 7?

17 בפברואר 2010

If you’ve been following the latest events from MWC @ Barcelona, You probably know that Microsoft is up to something big with Windows Phone Series 7. Watching the demos, and reading through the materials, I noticed the “Office” hub, that has a “SharePoint” tab on it. (click to enlarge) We don’t know for sure what’s it going to look like, but apparently there’s going to be some kind of integration between the two. Microsoft VP Joe Belfiore, during his keynote demonstration: "SharePoint is a terrific experience, whether you're a company that has...
תגיות: ,
אין תגובות

SharePoint search file types configuration and the registry

14 בפברואר 2010

Here’s a quick tip that might help you some day. (It did for me..) SharePoint stores some of it’s search configurations (that are usually configured through the SSP Admin UI) in the windows registry of the index server. Now, there are basically 2 search services for a typical MOSS farm: Windows SharePoint Services Search  Service (WSS Search), and Office Server Search Service (MOSS Search). The differences between them are explained here: http://technet.microsoft.com/en-us/library/cc263400.aspx#section1 Lets take for example the file types (to crawl) configuration, that is normally controlled from Central Administration –> SSP Administration –> Search Settings –>...
תגיות: , ,
אין תגובות

Inefficient Queries with SharePoint 2010 Beta2

Linq 2 SharePoint distinguishes between three types of queries: Normal Queries, Inefficient Queries, and Unsupported Queries. For more on that subject see the SDK article: http://msdn.microsoft.com/en-us/library/ee536585(office.14).aspx According to the SDK (at least as of today), you can execute inefficient queries if you set the AllowInefficientQueries property to true. Also, If you try to actually try to run an inefficient query, you will get the following exception, that instruct you to set the AllowInefficientQueries flag:   But if you try to to apply this practice to your code,...
תגיות: ,
תגובה אחת

How to make your page dialog aware

11 בפברואר 2010

Lets say that I have a wiki page called “itaysk.aspx”. and lets say that I use this page inside a SharePoint dialog. When I created the page, it looked like this: (click on the pics to enlarge) And the dialog looks like this: See the difference? When the page is presented inside a dialog, we see a lighter version of the page. And that’s actually very good, because in a dialog, we want the content of the page, and not full design of the master page. So how is...
תגיות: ,
אין תגובות

SharePointReviews.com

Just want to recommend a very helpful site: www.SharePointReviews.com It catalogs, and reviews all the solutions for SharePoint that are out there. Can be very handy if you are looking for a solution, and don’t want to miss a product that didn’t show up in searches.
תגיות: ,
אין תגובות

Quick Launch Bullets are not Aligned Correctly for Hebrew

10 בפברואר 2010

הנה פתרון מהיר לבעית לוקאליזציה קטנה שקיימת ב SharePoint מהגרסא הראשונה, ועדיין לא תוקנה. כשמשתמשים בערכת נושא (Theme) שאינה ערכת הנושא המוגדרת כברירת המחדל, התבליטים (Bullets) שבתפריט הצידי (Quick Launch) מיושרים לשמאל ולא לימין.    כדי להתגבר על הבעיה תוסיפו את ה style הקטן הזה לתוך ה MasterPage או לתוך קובץ ה CSS שנמצא בשימוש. .ms-navitem td{ background-position:right top !important ;} תוצאה: -- שמי איתי שקורי, ואני יועץ SharePoint --
תגיות: , ,
אין תגובות