Tag | WebParts Posts

My team was facing acute errors just about the delivery time. We approached MS India, freelancers, topic expects but so solution. In our case, I found out that this was a local environment issue rather than a generic issue which is why no one had any solution. Environment: SharePoint 2010 Issue: we were getting error while creating a new site from a site template we had created. Our deliverable to the client was a site template. Our resolution (steps): 1. Create a new “site template” without content. ...
Yeah I know I don’t blog much anymore, because life has taken me places that don’t involve the interwebs unfortunately. I am in the midst of planning two events, starting a non for profit, creating more sessions for various conferences, submitting to various conferences, working a 40 hour a week job, attempting to hang out with boyfriend/friends/family. So you can see that list does not include this blog sadly that’s how it goes sometimes. The bottom piece very important over any of the top pieces. ...
What is ULS in SharePoint 2010? ULS stands for Unified Logging Service which captures and writes Exceptions/Logs in Log File(A Plain Text File with .log extension). SharePoint logs Each and every exceptions with ULS. SharePoint Administrators should know ULS and it's very useful when anything goes wrong. but when you ask any SharePoint 2007 Administrator to check log file then most of them will Kill you. Because read and understand the log file is not so easy. Imagine open a plain text file of 20 ...
Sandbox solution is a new feature introduced in SharePoint 2010. It's a secured wrapper around webparts and other elements with limitations. There is no thumb rule that every webpart in SharePoint 2010 belongs to Sandbox Solution. But it's recommended to develop webparts with Sandbox solution. It allows administrators to monitor the solutions and control as required. SharePoint Site Collection administrators can view the resource utilization of each solution and can block if it consumes too much ...
SharePoint 2010 provides pretty good dialog framework. Throughout SharePoint sites, Dialog framework has been used to avoid page redirections and keep user in same page. In SharePoint 2007 with help of Lightbox/JQuery, dialog framework can be enabled and used. But it has some limitations and time consuming. So how to open a page in Dialog framework? Well, It's pretty simple. Just add Content Editor webpart in the page and add the below code. <script type="text/javascript"> //User Defined Function ...
Visual Studio 2010 is the new and improved development tool for SharePoint 2010. Major improvements are that all the Project Templates for SharePoint 2010 are included out of the box. This means a better development experience with debugging, unit testing, TFS!!! and automated builds! As I was experimenting with the overall experience I noticed some funny things I thought I would blog about. 1) Visual Web Parts are the only option available as part of a template. This can be kind of confusing to ...
Joe Homnick, Microsoft Regional Director, was the speaker at both Florida.Net’s Ft Lauderdale ArcSig and West Palm Beach .Net User Group September 2010 meetings where he shared with us how to leverage Silverlight 4.0 WebParts in a SharePoint 2010 solution. We appreciate Joe’s time and look forward to his next visit which we hope would be in the near future. Below are some photos of both events. --Sam Abraham Site Director - West Palm Beach .Net User Group Ft Lauderdale ArcSig- Silverlight 4.0 for ...
While i was trying to setup some reports on a SPF 2010 site. After trying to add a Sql Reporting Webpart i get the error: Session state has been disabled for ASP.NET. The Report Viewer control requires that session state be enabled in local mode I never came across that error before when using RSWebaprts in Sharepoint 2007:) But i think is related to ASP.NET sessions state:( Any to fix it you would have to start to make sure the SharePoint Server ASP.NET Session State Service is enabled. Unfortunately ...
Here is the list of Zone ID’s for the Blank WebPart Page (BlankWebPartPage.aspx") that is part of the Publishing Portal with MOSS 2007: TitleBar Header TopLeftRow TopRightRow CenterLeftColumn CenterColumn CenterRightColumn Footer RightColumn I was in need of these and wasn’t able to find them with a simple search on Google so I wanted to share them with you. To get a list of WebPartZone objects for a page that a webpart lives on can be done with the following code: foreach (WebPartZone zone in this.WebPartManager.Zones) ...
Here’s the scenario: I have a form which contains a textbox. This textbox should be populated with a query string value. Users should not be able to edit the value of the textbox while adding the item. Solution: The above can be achieved using a Content Editor Web Part (CEWP) and jQuery. Steps: 1. Append the NewForm.aspx url with the following: &PageView=Shared&To... 2. This will cause the ‘Add Web Part’ tool pane to show up. 3. Add a CEWP to the page. 4. Go the webparts properties ...
We have a rather simple WSS portal that has about six sites, shown using the standard navbar (“tabs”) across the top of the page. This navbar is shared among all of the sites. Each subsite has different permissions, mostly giving certain users some level of edit permission on those subsites. Well, one of the sites has some out of the box Content Editor webparts and we wanted to allow a group of users to edit the content using these web parts. They already had contribute permission, so they could ...
This post is the tenth and last in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #10 - Keep Your SharePoint Calendar Synced with Google The following is one way you can use to keep your SharePoint Calendar(s) synced up with your Google Calendar. This particular example only syncs in one direction: from Google to SharePoint. It could go the opposite direction, ...
Sharepoint 2010 comes with huge enhancements in the development experience, exists a feature that i am sure a lot of programmers were waiting, this is the capability to create Webparts using a visual interface, in Sharepoint 2010 this is done and is called Visual WebParts To create a Visual Webpart, first we should create a Visual Studio Project, i selected the Empty Project template for Sharepoint 2010, when the project is created the Sharepoint Customization Wizard is launched, the first innovation ...
This post is the ninth in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #9 – Microsoft Dynamics CRM The credit for this particular web part template goes to one of my co-workers Shannon Prue. I asked him if he could put together a MS CRM template example for me, and a few minutes later I had in my inbox a 10 line example template! In the past, integrating ...
This post is the eighth in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #8 – Twitter Many times since I originally posted about it months ago, I’ve been asked for more details about including Twitter searches and streams inside their SharePoint pages. Thanks to the Twitter API and feeds, this is very simple to do, and to change from showing searches, ...
This post is the seventh in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #7 – Search Email History One of my good friends here recently asked me to give him an easy way to quickly bring up a list of email correspondence to and from a particular email address over the past 6 months. This way, if he is assisting someone on the telephone or email, he can ...
After the keynote sessions and lunch the first set of breakout sessions kicked off. Needless to say with the session line up it was difficult to choose only one to attend. However I thought it would be wise to at least see what is new and get an overview of the platform. I got to the session a bit late, but I don't think that I missed much. Arpan Shah was the speaker and it was a packed house. One of the largest rooms I have seen so far. Easily over 300 people in attendance. Here is what I caught. ...
This post is the sixth in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #6 – Shipment Tracking Web Part! I’ve been holding on to this one for a while. Until recently it was just a FedEx shipment tracker, but now the UPS and USPS Connectors have been published at RSSBus.com so this can be what I wanted it to be. This sample will allow the user to input ...
This post is the fifth in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #5 – QuickBooks Web Part! I accidently overwrote the original post. Sorry about that. Below are the steps for the QuickBooks webpart. If there are other QB searches you need to do, I can help with that. The RSSBus QBOps Connector has a ton of functionality. Step one is to make sure ...
In order to hide those, we can set the BorderStyle and the PartChromeType attribute of the WebZone to none after we set the display mode of WebPartManager to browse just like below: protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { WebPartManager1.DisplayMode = WebPartManager.BrowseDispla... foreach (WebPartZone wz in WebPartManager1.Zones) { wz.BorderStyle = BorderStyle.None; wz.PartChromeType = PartChromeType.None; } } } That’s simple! Technorati Tags: ASP.NET,WebParts,TipsTricks ...
This post is the fourth in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #4 – List Active Directory Groups and Users This web part will list each user group and its members, as defined in your Active Directory (or other LDAP server) installation. Step one is to make sure you have the RSSBus Web Part installed. See here for instructions. Step two, make ...
http://msdn.microsoft.com/e... Temporary Tables vs. Containers Microsoft Dynamics AX supports a special data type called a container. This data type can be used just as you would use a temporary table. For more information, see Containers. Data in containers are stored and retrieved sequentially, but a temporary table enables you to define indexes to speed up data retrieval. Containers provide slower data access if you are working with many records. However, if you are ...
This post is the third in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #3 – Custom SQL Queries This web part will perform a custom SQL query, and allow you to display them however you like. Unlike previous examples, this one won’t be just cut and paste, since you’ll have to provide your own SQL connection string and query, and make replacements inside ...
After a year of answering questions at the WebParts and Personalization forum section, I consider the following items below as “frequently asked questions”. I decided to write this so that I can point them to this post whenever I find a question that can be found here. The following are the list of items that I consider as FAQ: 1. How to Get Started with ASP.NET WebParts? ASP.NET Web Parts Overview ASP.NET WebPart Controls Implementing ASP.NET WebParts with Different Authentication modes Video: Utilizing ...
This post is the second in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #2 – List Document Libraries and Documents For this example, we’ll make a web part that displays a list of the most recently modified document libraries/documents on the site. Lots of SharePoint sites contain many libraries, each containing dozens or even hundreds of documents. Often ...
This post marks the beginning of a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. After that intro you’re probably already wondering what the catch is, and yep, there is one. These examples will require the use of the highly acclaimed RSSBus SharePoint WebPart. To read all posts in this series, or to get started with the RSSBus WebPart, go here. And now…let’s get on with it! #1 – SharePoint Image Rotator Step one is to make sure you have the ...
I decided to write this example because I always encounter this type of questions at the asp.net WebParts and Personalization forums. Many of us have used UserControls as WebParts so that we can incorporate different server controls in a single WebPart element and there are times we need to retrieve or pass a value to a Control that‘s inside a UserControl. So in this example, I will show different ways on how to get or pass values to a control that is residing within a UserControl. Suppose that we ...
I decided to post this because I wan't to share this information that I have gathered during my investation about ASPNET WebParts last 2007. Maybe this will be useful for those who are using ASPNET WebParts in ASPNET 2.0. Basically this information shows the difference between the Standard WebParts that shipped in ASP.NET 2.0, ASPNET Futures and My Custom WebPart with Custom Verbs. Main OBJECTIVES: * Allows cross browser drag and drop capability (can be moved between WebZones) * Ajax enabled Findings ...
At PowerShellToys.com, you’ll find a bunch of new toys for PowerShell, including the first full release of PowerShellASP + free community license. The new toys? PowerShellADO, PowerShellPanel, PowerShellWebPart, and PowerShellRSS. Here’s a brief description of each, in my own words. For the official description and examples, check out PowerShellToys.com. PowerShellASP – write ASP pages with PowerShell scripting instead of vbscript. PowerShellADO – execute PowerShell cmdlets and return the results ...
This example shows the enhanced version of my previous example about Creating Custom WebPartZones with Custom verbs (Move right/ Move Left). One of the most common issues with ASPNET WebPart in ASPNET 2.0 is the drag-and-drop functionality in firefox. As you may know the drag-and-drop feature of WebParts will not work in firefox once it is placed inside an UpdatePanel control. So in this article, I will show how are we going to move certain WebParts in different zones without the drag and drop functionality ...
This example demonstrates on how to apply Skins to ASP.NET WebParts. Before we begin let us first understand the concept of the skins in ASP.NET. What is a Skin file? A Skin enables us to modify any of the properties applied to the server controls in our ASP.NET page. Skins can work in conjunction with CSS files or images. To create a Theme we can use a single skin file in the Theme Folder. The skin file extension should be always .skin. For more information about ASPNET Themes and Skins then have ...
About a year ago, I started to evaluate ASP.Net MVC, but decided to put it aside because it was still in heavy-duty development. With the official release a couple of weeks ago, I decided to check it out once again. MVC has a lot of things to offer, but there are a few critical things that we couldn’t overlook. We have a few web applications that all have quite a lot invested in server controls (both third-party and developed in-house). In ASP.Net WebForms, for something as simple as a GridView with ...
Just follow these tutorials below regarding how to implement WebParts in ASP.NET based on different Authentication mode. WEBPART with Windows Authentication WEBPART with Anonymous Users WEBPART with FORM Authentication Good Luck! Technorati Tags: ASP.NET,WebParts ...
The RSSBus SharePoint Web Part might just be the most exciting thing I’ve had the pleasure to work with in quite a while. RSSBus is an amazingly powerful product, but the RSSBus SharePoint Web Part…its just a thing of beauty. What the web part does: it lets you expose data from just about anywhere inside SharePoint. The simplest example is to show an RSS feed like Google News or Yahoo News. I tweeted about that last week. I put together two more simple examples. One is using my Twitter Search RSS ...
So I had the recent privilege to work with a bunch of InputFormTextboxes and KWIZ Tagging Controls. None of them would inherit my styles using the CSSClass tags for some reason. So I shoved a couple spans around the controls in the RenderContents method and finally the links inherited everything I needed. Morale of the story: <span></span> is your friend. Technorati Tags: MOSS,SharePoint,CSS,Webparts ...
If you're developing webparts using VSeWSS and going to run the setup.bat that that VSeWSS creates, you might need to modify the deploy solution line before running it. The deploysolution instruction that VSeWSS adds contains the -local argument. This is all good if you're going to run it on an implementation with only 1 WFE, but for farms with 2 or more WFE's then you will need to change -local to -immediate. I also make it a habit to call the execadmsvcjobs command before and after adding and deploying. ...
So I was hoping this post would be a glorious review of my first attempt at working with WebParts and Oracle. Alas, the experience has not been so glorious. I am working on a "dashboard" of sorts as a demo for my boss. I spent a few hours on it this afternoon as a spike to see if the approach is feasible. I have to say that I believe it is, but there is one major kink I have to work out. ASP.Net WebParts uses the SqlPersonalizationProvider by default. Unfortunately, we are developing on Oracle. However, ...
Book Review: MicrosoftOffice SharePoint Designer 2007 Step by Step - Penelope Coventry This book is full of tutorials and hints in building customised SharePoint sites. It helps you build pages complete with CSS (Cascading Style Sheets), Libraries, lists and also webparts which are very customisable. I bought the book for the main purpose to learn creating workflows with SharePoint Designer 2007, and it really help me. The book as the title says, is really step by step and it is designed and laid ...
WebParts Cross- browser drag and drop is a very common issues on ASPNET WebPart Framework.. Basically WebParts doesn't support the Drag and Drop feature in Firefox browsers and this known to be a BUG for ASPNET Webpart Framework.. To get things working in all browsers including the cross browser drag-and-drop feature then you would need to use Visual studio 2008 / VWD 2008 with latest version of the Microsoft ASPNET Futures (AJAX Control Toolkit 3.5).. For more detail information then i would suggest ...
The following snippets below checks whether the PageCatalogPart Control contains any available WebParts in a page that have been closed in the page.. C# protected void PageCatalogPart1_Load(object sender, EventArgs e) { int count = 0; if (WebPartManager1.WebParts.C... > 0) { for (int i = 0; i < WebPartManager1.WebParts.Co... i++) { WebPart wp = (WebPart)WebPartManager1.We... if (wp.IsClosed) { Response.Write("Page Catalog contains Closed WebParts"); count++; } } Response.Write("<br/>... ...
In one of my previous blog posts I was sizing up 3 different methods of generating SharePoint solutions in Visual Studio. It was a fairly lengthy post about using things like the Visual Studio Extensions, WSPBuilder, and BAT files, but one reader bought to my attention that I never evaluated the STSDEV Solution Generator. Well lucky for me the reader chimed in and let me know that there was a hole in my post. I finally was able to find something to try the STSDEV Solution Generator on to try to stretch ...
Well the Bartlesville .NET User Group had it's August meeting and we had a great turn out! We had 34 people show up for David Walker's presentation on Building Powerful WebParts for Sharepoint 2007. David did a great job in showing the power of properly built WebParts in SharePoint. Specifically he showed off a open source project that he has been working with other's on. You should check out PowerQueryWebPart if you do Sharepoint development ...
Currently I am working on a site definition project that has been very entertaining and also had some pretty interesting challenges. Overall the project is going very smoothly utilizing all of the same techniques I teach from the Inside Windows SharePoint Services 3.0 course at AmeriTeach. But I recently ran in to a very interesting situation in which I was provisioning a web part page with webparts via CAML. Here is a sample of the CAML that is used for provisioning the page with a webpart: <File ...
Creating Custom WebPartZones with Custom verbs (Move right/ Move Left) By: Vincent Maverick Durano Introduction: This article shows on how we are going to move a webpart from left or right directions in different zones without the drag and drop functionality of the standard webpart. In order to achieve this, we need to create a custom webpartzone with custom verb option “move right/move left” button. See Figure 1. Figure 1 The first thing to do is we need to create those custom verbs options by extending ...
I have been doing some research on how i could get Search Server Express 2008 and WSS v3 up and running as i needed the cross site search feature Search Server Express provides. Installing it wasn't really an issue and its it went ok apart from some issues i had when trying to extract the files and when i ran the SearchExpress.exe i kept getting "Installation Package Failed etc " .error But i would leave that for another time on how i fixed it. But after installing Search Express and creating a search ...
It is hard to really get a grasp of how much control you are given in Sharepoint. Microsoft touts its easy to use web UI and webparts for the end user, but this is just the icing on the cake. It is the ingredients that make it special. Many of those ingredients are exposed in different ways in Sharepoint. There are features, event handlers, web services, and enough XML to make your head explode. These are the parts that make it an exciting development platform. I was able to get an amazing look at ...
A couple of days ago we got a call that all the lists and libraries had no information on one of our websites. I looked around to see if this problem was replicated on another site. It was not. So I re-added all the ListView Webparts on the pages and went about my business. Yesterday we found one more website where nothing was showing up. I looked on the event logs, but so far I can not see the source of the problem. The logs are pretty clean since I fixed the timer job leak. I have no idea when ...
Although new to all this MOSS stuff I am getting stuck in with the Content Query Web Part (CQWP) and XSL. They are a pretty powerful combination, but pretty soon I could see how this could become slightly wild and considering ListStyles.xsl is an "out of the box" file, getting crazy with custom files could become more of a problem than simply a huge file. Check out these two posts on how to manage custom styles. 1. Liam (Sharepoint MVP here in the UK) posts about editing the ListStyles.xsl, but only ...
Every blogger I read claims to have superior coding skills, and every place I have worked claims only to hire superior developers. In my current position and in my prior one, my employers say they interviewed more than twenty candidates to fill each position. If that's so, where are the average coders? I heard one theory - they are all unemployed! And they keep trying to get jobs but they can't. So interviewers have a skewed sampling of coders. I will confirm that in my current and previous position ...
When you download and install the Visual Studio 2005 Extensions for WSS3.0. You could have taught wow my deployment stress is over But actually it isn't its just the start I had deployed several webparts to my sharepoint sites without getting the error Object reference not set to an instance But after sometime these ugly errors started popping up . One was Object reference not set to an instance the other was some GUID error After pulling out my hair i didn't have i found an individual who shed a ...