Tag | SharePoint Posts

I just finished reading new book on Microsoft BizTalk 2010 written by BizTalk colleagues Kent Weare, Richard Seroter, Thiago Almeida, Sergei Moukhnitski, and Carl Darski. There are many good books that explore core BizTalk features for beginners, intermediate, and advanced developers. This one stands out by the fact that it covers relatively less documented aspect of BizTalk development – integrating with different line of business applications. The subject is vast and diverse so attempt to fit it ...
As someone who works a lot on Silverlight and as someone who have presented lots of trainings / talks over Silverlight; i am been getting a lot of questions based on future of Silverlight. Is Silverlight dead? http://www.zdnet.com/blog/m... These are often from end-clients, managers, architects or even consumers. Sometimes also from guys who have little exposure to Silverlight; but still want to engage in the conversation as it is "happening" ...
From you with new with WebMatrix, check out here . In this tutorial, I will show you how to create web page using WebMatrix with the following:1. Open the Web Matrix by double clicking the icon on your desktop.If you can’t see the “Add New File” dialog box when the application opens you may need to open it by selecting “New File” from the “File Menu”.2. If it’s not already selected under templates select “General” and on the right hand side select “ASP.Net Page”.3. Next you need to specify the location ...
We had a requirement where a user profile property will be updated from the event receiver of a custom list. The user profile property which we can had “user can override” and “Allow users to edit”, however we were getting an error “Attempted to perform an unauthorized operation” The code was running under RunWithElevated delegate. We traced the user id which was Sharepoint\System. The system account in use will be the App pool Identity under which the current Sharepoint site is running. We took ...
Highlighting a Managed Application As you search (Google is better, because Bing lacks BANG!!) for existing solutions for SharePoint Central Admin tasks You are usually instructed to highlight one app or another, or one web app or another. Nobody tells you how to achieve this task, but on occasion you scratch your head in puzzlement. You click on the app and some window opens, but you actually wanted the ribbon. Scratch your head no longer! Here is what needs to be done. Just click on the line under ...
As someone who works a lot on Silverlight and as someone who have presented lots of trainings / talks over Silverlight; i am been getting a lot of questions based on future of Silverlight. Is Silverlight dead? http://www.zdnet.com/blog/m... These are often from end-clients, managers, architects or even consumers. Sometimes also from guys who have little exposure to Silverlight; but still want to engage in the conversation as it is "happening" ...
If you haven't already checked out WebMatrix , go check it out now. It's awesome for a variety of reasons. It’s very cool feature.Anyway, one of the cool features of WebMatrix (and Visual Studio 2010) is the ability to publish straight from the IDE to a compatible web host. Not all web hosts support Web Deploy but I know HostForLife.eu support this technology.Here is a quick walk-through with screenshots showing the publishing process from WebMatrix. I try to publish Orchard CMS here. J OK, let’s ...
Renaming SharePoint service app databases When you install SharePoint 2010 and use the wizards, you will be asked which services you’d like to install. By default all but Lotus-Notes-Connector are preselected. SharePoint will install the services and assign a plethora of databases to serve these services. Alas, horror of horror, all these databases are named by Microsoft and all end with GUIDs. DBAs and other keepers of standards abhor it. Sometimes they even go a step further and want the DB names ...
Overcoming the Asp.Net FileUpload limitations. In asp.net 2.0 and up, Microsoft introduced the FileUpload control. As you’ll see in the code below, usage is simple. Park it on the form in design mode, and use the FileUpload.SaveAs(URI) method to save it in a URI of your choice. Add a button, name it Upload (btnUpload) and that’s it. Now write the code as I have and try it. <% @ Page Language ="C#" AutoEventWireup ="true" CodeBehind ="Default.aspx.cs" Inherits ="FileUpload._Default" %> <! ...
Note that this is a “rant” about the following post: BOMBSHELL: Huge Company Bans Internal Email, Switches Totally To Facebook-Type-Stuff And Instant Messaging @ http://www.businessinsider.... At the end of November ABC posted an article stating Thierry Breton, CEO of Atos (formerly known as Atos Origin), wants to move to a “Zero-mail” policy for it’s internal communications. Mr Breton is not the first one to come up with this plan but his claim that he has not sent an ...
Let me clarify what I mean by “3 role” environment. When looking at the division of roles with products, solutions or environments, it has been very normal to break it down into IT Pros (Admins), Developers and End Users. And many approach SharePoint in the same style. Does it fit? Sure. Is it the most effective approach? HECK NO! Let’s look at it piece by piece. Now the question is where do we start? We need to redefine this. In all cases leaving it as IT Pros, Developers and End Users is too broad. ...
2011 has been an amazing year in which I ended up working on an exciting number of projects. SharePoint has continued to be the hottest requested technology that I deal with. At the same time Windows Phone 7 has put Microsoft back in the mobile market and I will be finishing off the year additionally writing for this platform. At the same time the old standards of WinForms and ASP.NET have not left our market space. Ultimately, the IT market is still on fire and I am looking forward to great things ...
As an individual who does not use Internet Explorer as their primary browser, there is a great feature that you may never notice that allows you to easily copy files to and from a document library: the Open in Windows Explorer link. In browsers such as Chrome or Firefox this link may not appear. I know this isn’t a major groundbreaking feature, but it’s really easy to overlook and it’s worth knowing about, especially when you need to create a local copy of a full document library. In this quick blog ...
© 2011 By: Dov Trietsch. All rights reserved Ranking Part III In a previous blogs “Ranking an Introduction” and “Ranking Part II” , you have already praised me in “Rank the Author” and learned how to create a new element on a page and how to place it where you need it. For this installment, I just added code to keep the number of votes (you vote by clicking one of the stars) and the total vote. Using these two, we can compute the average rating. It’s a small step, but its purpose is to show that ...
Today I was looking for a solution to get finally the JScript/Javascript/jQuery Intellisense Featureworking with my ASP.Net Webform Project to work. I found some good articles: - JScript IntelliSense Overview- JScript IntelliSense: A Reference for the “Reference” Tag- Enabling JavaScript intellisense in VS.NET 2010 to work with SharePoint 2010- Rich IntelliSense for jQueryBUT, all of suggested solutions did not work right with my Master Page based Visual Studio 2010 Solution.Only with physical Javascript ...
Microsoft Lync Server 2010 communications software and its client software, such as Microsoft Lync 2010, enable your users to connect in new ways and to stay connected, regardless of their physical location. Lync 2010 and Lync Server 2010 bring together the different ways that people communicate in a single client interface, are deployed as a unified platform, and are administered through a single management infrastructure. Workload Description IM and presence Instant messaging (IM) and presence ...
© 2011 By: Dov Trietsch. All rights reserved Ranking Part II In my introduction to ranking I also introduced the Ranking Game. This is actually a much more sophisticated program than the one we need to simply rate an item, but it introduced you to the sophisticated results that you may achieve by a bit of code and accompanying CSS. In this installment, I am going to handle simple rating with 5 stars. The extra sophistication will come in the form of creating new elements in run time. Why do I need ...
You want the RAD wonderfulness of a visual web part, but it needs to be deployed as a Sandboxed solution. Problem? No, SharePoint powertools for visual studio to the rescue! http://goo.gl/pQ9ct There are a couple limitations, read the above page, nothing major. e.g. 1. Javascript debugging is not supported 2. Debugging asp.net code is not supported. 3. Use of <% Assembly Src= is not supported I understand it does it by adding the markup as an embedded resource, but I haven't actually tried it ...
© 2011 By: Dov Trietsch. All rights reserved Ranking Ranking is quite common in the internet. Readers are asked to rank their latest reading by clicking on one of 5 (sometimes 10) stars. The number of stars is then converted to a number and the average number of stars as selected by all the readers is proudly (or shamefully) displayed for future readers. SharePoint 2007 lacked this feature altogether. SharePoint 2010 allows the users to rank items in a list or documents in a library (the two are ...
© 2011 By: Dov Trietsch. All rights reserved Logging – A log blog In a another blog (Missing Fields and Defaults) I spoke about not doing a blog about log files, but then I looked at it again and realized that this is a nice opportunity to show a simple yet powerful tool and also deal with static variables and functions in C#. My log had to be able to answer a few simple logging rules: To log or not to log? That is the question – Always log! That is the answer Do we share a log? Even when a file ...
In this Issue: Michael Crump, Andrea Boschin, Michael Sync, WindowsPhoneGeek(-2-), Erno de Weerd, Jesse Liberty, Derik Whittaker, Antoni Dol, Walter Ferrari, and Jeff Blankenburg(-2-). Above the Fold: Silverlight: "10 Laps around Silverlight 5 (Part 6 of 10)" Michael Crump WP7: "31 Days of Mango | Day #2: Device Status" Jeff Blankenburg Metro/WinRT/W8: "Lighting up your C# Metro apps by being a Share Target" Derik Whittaker Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael ...
© 2011 By: Dov Trietsch. All rights reserved More CAML and existence. In “SharePoint List Issues” and “Passing the CAML thru the EY of the NEEDL we saw how to use CAML to return a subset of a list and also how to check the existence of lists, fields, defaults, and values. Here is a general function that may be used to get a subset of a list by comparing a “text” type field to a given value. The function is pretty smart. It can be used to check existence or to return a collection of items that may ...
© 2011 By: Dov Trietsch. All rights reserved Passing the CAML thru the EY of the NEEDL Definitions: CAML (Collaborative Application Markup Language) is an XML based markup language used in Microsoft SharePoint technologies Anonymous: A camel is a horse designed by committee Dov Trietsch: A CAML is a HORS designed by Microsoft I was advised against putting any Camel and Sphinx rhymes in here. Look it up in Google! _____ Now that we have dispensed with the dromedary jokes (BTW, I have many more, but ...
© 2011 By: Dov Trietsch. All rights reserved finding a person in the forest or Limiting the AD result in SharePoint People Picker There are times when we need to limit the SharePoint audience of certain farms or servers or site collections to a particular audience. One of my experiences involved limiting access to US citizens, another to a particular location. Now, most of us – your humble servant included – are not Active Directory experts – but we must be able to handle the “audience restrictions” ...
© 2011 By: Dov Trietsch. All rights reserved Calculated Fields and some of their Idiosyncrasies Did you try to write a calculate field formula directly into the screen? Good Luck – You’ll need it! Calculated Fields are a sophisticated OOB feature of SharePoint, so you could think that they are best left to the end users – at least to the power users. But they reach their limits before the “Professionals “do, and the tough ones come back to us anyway. Back to business; the simpler the formula, the ...
© 2011 By: Dov Trietsch. All rights reserved Naming Documents (or is it “Document, Naming”?) Tis but thy name that is my enemy; Thou art thyself, though not a Montague. What's Montague? It is nor hand, nor foot, Nor arm, nor face, nor any other part Belonging to a man. O, be some other name! What's in a name? That which we call a rose By any other name would smell as sweet; So Romeo would, were he not Romeo call'd, Retain that dear perfection which he owes Without that title. Romeo, doff thy name ...
I was listening to .NET Rocks episode #713 and it got me thinking about a number of SharePoint related topics. I have been working with SharePoint since the 2001 product came out and have watched it evolve over the years. Today SharePoint is one of the most powerful and flexible products in the market. Of course that doesn’t mean there isn’t room for improvement (a lot of improvement in fact) and with much power comes much responsibility. My main gripe these days is that you have to develop on a ...
I ran into a frustrating scenario today, while working with SharePoint 2010’s Managed Client Object Model. My application queries a SharePoint document library using the file’s name (the FileLeafRef field). Given that this field is unique, I was expecting only one result with the following code: 1 CamlQuery qry = new CamlQuery(); 2 3 //filter the results to only get back the item with the filename we're looking for 4 qry.ViewXml = string.Format( 5 "<Query><Where>... ...
By default Sharepoint doesn’t blocks user with limited access from visiting application pages (for ex _layouts/viewlsts.aspx). Someone who knows the URL, can go to this page. We can avoid this by change the limited access to lockdown mode. Use the command below. Action Command Turn on lockdown mode for a site collection stsadm -o activatefeature -url <site collection url> -filename ViewFormPagesLockDown\featu... Turn off lockdown mode for a site collection stsadm -o deactivatefeature -url ...
SharePoint LOB Development using Visual Studio LightSwitch View more presentations from Enrique Lima ...
Sometime ago, say around mid April, 2011 I posted about Installing SharePoint 2010 on Windows 7 by going in a different path than using the standalone installation. This post is about what happens after the installation and initial configuration of your Windows 7 “development farm” gets the bits, and goes through the Central Admin and management perspective to get you to the first screen that says “Hi, SharePoint here, would you like to play a game of chess” (yeah, it does not really say that, but ...
In the previous blog post I discussed working with the list import tool for creating lists which was a timesaver for developing lists in the UI and then importing that list into a Visual Studio solution. I had some time in-between projects to make this process for simple lists just using the default views. How about doing this entire process in about 15 minutes in code! This is such a time saver that I just had to blog about it and save other developers this time intensive task! 1. Use a utilities ...
I was born in 1982 in March. That year the St. Louis Cardinal’s won the world series for the first time in a long time. When I was growing up my dad, my brother, and I would go to games. We would cheer and we would scream and we really got into the games. When things were bad there were two I had in life – school and the Cards. I would enter the games and feel like I had a deep connection with my team. It was great. My aunt once said that I would be buried in my backwards Cardinal’s hat. I always ...
Coming from SPC a couple of weeks ago, during the keynote there was a demo on some great Visio Diagrams. It was created using the following: http://visiospfarmaddin.cod... Expect a post here in the next week or so on how to configure it. Another great tool I came across is targeted to those who are becoming familiar with PowerShell for SharePoint, and also if you want to use PowerShell with SharePoint Online. It is a Command Builder, you pick the verbs and nouns as you would regularly do with ...
I got this error today while trying to access my new SharePoint 2010 environment via PowerShell: Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access the database before trying again. If I would have just read the error message a little more carefully, I would have realized that I should start by looking at my permissions in SQL – which my account didn’t. This happened because I installed SQL ...
I have posted all my demo code that I used and the exe for the VSEWSS Import Tool here: https://skydrive.live.com/?... If anyone has any questions send me an email at rebecca.isserman@gmail.com. Thanks for all who attended. Technorati Tags: SharePoint 2010,SharePoint Conference,SPC395,Code Upgrade ...
Click this link: http://sharepoint.microsoft... Notice at the bottom left-hand side of the page there is a SharePoint Saturday mention with the latest events. Now send a shout out to Susan Lennon, Michael Lotter, Eric Harlan, Dux Raymon Sy, Kris Wagner, Josh Carlisle, and every other person who put in some form of effort to the SharePoint Saturday brand. We all worked hard for 3 years or more organizing, volunteering, speaking, sponsoring, or spreading the word ...
Today's $10 deal of the day from APress at http://www.apress.com/97814... is Pro Project Management with SharePoint 2010 "The intention of this book is to provide a working case study that you can follow to create a complete PMIS (project management information system) with SharePoint Server's out-of-the-box functionality. " ...
Welcome to my new blog on this site. My current blog is still on: http://hassanfad001.blogspo... and will be moved soon to this site. Stay tuned for all information about: - Visual Studio (VS) - Team Foundation Server (TFS) & Team Foundation Service (Hosted TFS) - Visual Studio Application Life Cycle Management (ALM) - Microsoft Test Manager (MTM) - SharePoint (SP) - Community & MVP Program related staff and Microsoft Technologies at all. - ....ect Thanks. Hassan ...
Today, Microsoft Press is offering Sharepoint books at 50% off. See http://feeds.feedburner.com... http://shop.oreilly.com/cat... ...
Hello, I've been struggling with variations for a lot of time. I always thought that it was a stupid feature in sharepoint because of the conflict it creates. It keeps on updating the page in the variation labels if you update it in the source label, which might not be very useful unless you're using resources heavily and localization. The solution to this, was to disable the automatic propagation from the source label to all other labels, using this snippit: [System.Reflection.Assembly... ...
Hello, I've faced a challenging problem during deployment of an HttpModule for a Sharepoint web application that uses the method "HttpContext.RewritePath(pa... to render different CSS/images based on a specific condition that I check on. The strange thing, which I think happens to most of us, is that it was working perfectly on the development environment but on the development environment it's not :( After viewing the IIS logs, I've found out that when I request any CSS/image using this method, ...
Hello everyone, I've faced a weird problem when I was deploying FAST for Sharepoint, is that when I search, the results URL is not mapping correctly to the AAMs that I've defined for it. So, When I opened the event viewer, I've found 2 critical errors that keep on occuring every fixed time interval which were: The Execute method of job definition Microsoft.Office.Server.Sea... (ID 75aabb8d-11c6-4d32-9d0d-ec6... threw an exception. More information ...
I was experiencing the below error message. While searching the internet and poking around on my SharePoint farm for a possible solution to the error i was able to find the below solution. Error: The mount operation for the gatherer application [GUID] -crawl-0 has failed because the schema version of the search gatherer database is less than the minimum backwards compatibility schema version supported for this gatherer application. The database might not have been upgraded. Solution: Go to the Central ...
So two years ago I had the privilege of attending my first ever Microsoft Conference in 2009. It was pretty neat, because I got to meet a lot of great people and go to a lot of awesome session. This time around, however, it’s my third Microsoft Conference and a little different. I get to be a speaker for my code upgrade session on Thursday, October 6th at 10:30 (End to End Guide to Upgrading Custom Code from 2007 to 2010 – SPC395). I also get to sit on the Women in Technology Panel at the Perficient ...
Today's $10 Deal of the day at http://www.apress.com/97814... from APress is Pro SharePoint 2010 Solution Development Combining .NET, SharePoint, and Office 2010 "This book takes a practical problem-solution approach to common business challenges. You'll not only encounter interesting code samples, but also see how to combine these examples with the Microsoft collaboration platform's services. " ...
At last, I can announce that ‘BizTalk Server 2010 Unleashed’ has been published and is available through major booksellers in both printed and electronic form. The book is not a new edition of the old ‘BizTalk Server 2004 Unleashed’ book from several years ago, although Brian Loesgen, our fearless team leader, provided continuity with that title. Instead, this is entirely new content written by a team of six authors, including myself. BizTalk Server is such a huge subject. It proved a challenge to ...
Today's $10 Deal of the day from APress at is "Office and SharePoint 2010 User's Guide" "Together with SharePoint 2010, Office users can achieve goals like web sites with a consistent single view, improved collaboration within their organization, and better document management, and may even get one step closer to the paperless office we've been promised for years." ...
In this Issue: Eric Jensen, Andrea Boschin, Gill Cleeren, Rene Schulte, Colin Eberhardt(-2-), Mark Tucker(-2-), Mark Monster, Walter Ferrari, and Michael Washington(-2-). Above the Fold: Silverlight: "Welcome to Zombieland, the Metro Style Land of WinRT and the Undead" Rene Schulte WP7: "Adding Tactile Feedback to your app the easy way" Mark Monster LightSwitch: "A Random Walk Through The LightSwitch Data Model" Michael Washington Windows8: "TweetSearch – A Cross platform Metro UI WinRT and Silverlight ...
Do you know what happens when you create a new instance of a class? Why do we need a value type and a reference type? Do you know what is meant when the .NET framework is referred to as a “managed” platform? What is managed versus unmanaged code? Why do we need a .NET runtime? What is a memory leak; is that like an oil leak? All of these are questions that you should be able to answer as a Microsoft developer. If you can’t answer them all, then keep reading as the next series of research blogs that ...