background preloader

SharepointTrix

Facebook Twitter

SharePoint 2010 Modal Dialog. Modal dialog play very important role to improve the user experience by reducing the number of postbacks. So, SharePoint 2010 comes up with in-build API to show modal dialog to improve the user experience. Here, I will explain you How to integrate SharePoint 2010 modal dialog with the application and some real time problems and their solutions. . - width: Set the width of the modal dialog - height: Set the height of the modal dialog - html: the ID HTML control or HTML content to be displayed in modal dialog - url: Page url or relative path - dialogReturnValueCallback: In case we want some code to run after the dialog is closed, set JavaScript method name - allowMaximize: Set to true or false to show hide this option. - showClose: Set to true or false to show or hide the close button Examples: a. HTML code JavaScript Code b. JavaScript code Mentioned below are real time scenarios, you may encounter while using out of box modal dialog of SharePoint 2010 :-1. .ms-dlgContent position: fixed!

2. A. B. Pass value from modal dialog to the calling page sharepoint 2010 : Learning SharePoint. Browse > Home » SharePoint 2010 » Pass value from modal dialog to the calling page sharepoint 2010 In this post you will see an example of sending a value from modal dialog to the Parent page or the calling page. In this example i have created an application page which will be displayed as a custom modal dialog. This application page conatins a Textbox, an Ok and a Cancel button. The value entered in the Textbox (by the user) will be passed to the parent page\calling page when a user clicks the Ok button.

Lets see the code example //This is function to call the dialog. Function ShowDialog() var options = { autoSize: true, title: "My Custom dialog", showClose: true, allowMaximize: true SP.UI.ModalDialog.commonModalDialogOpen(".. The following goes in your application Page //Create a Text box to contain the value that we have to pass and two buttons {*style:<b>Add the following javascript functions for Ok and Cancel buttons </b>*} function ModalOk_click() var value = getValueByClass('.modaldialogfield'); Opening a SharePoint 2010 Modal Dialog Box from an InfoPath Form. You will develop the example application in six steps. Application Prerequisites You will learn more if you follow along on your own development website as you construct the sample application.

To complete the application, you must have the following: Microsoft Visual Studio 2010 InfoPath Designer 2010 Microsoft Visual Studio Tools for Applications A server that is running Microsoft SharePoint Server 2010 You must also do some preparation on your development website. Although not required reading, the following articles contain background information that may help explain some of the techniques that are used: Step 1: Create a Search Application Page Begin by creating a search application page that allows a user to search for and select a document. You will build the search application page in stages. To create the user interface for the search application page In Visual Studio 2010, create a new project. This markup creates a UI that has the controls shown in the Figure 3. Figure 3. Visa data från flera källor i en enda datavy - SharePoint Designer - Microsoft Office.

De flesta företag lagrar relaterade data på olika platser. Produktinformation lagras till exempel i en XML-fil med namnet produkter.xml, medan information om produktkategorier lagras i en annan XML-fil med namnet kategorier.xml. De två datakällorna är relaterade till varandra med ett fält med namnet CategoryID. Med Microsoft Office SharePoint Designer 2007 kan du på ett enkelt sätt länka datakällor som innehåller relaterade data och sedan skapa en enda datavy som visar data från dessa länkade datakällor. Du kan till och med länka olika typer av datakällor – t.ex. kan du länka en XML-fil till en SQL-databas. När du länkar datakällor skapas en enda datakälla som visas i datakällbiblioteket tillsammans med alla andra datakällor. Du skapar en vy av denna länkade datakälla på ungefär samma sätt som andra datavyer. När du har skapat en vy av en länkad datakälla kan du filtrera, sortera, gruppera, formatera eller annat med datavyn som du kan göra med andra datavyer.

Viktigt! Artikelinnehåll <? <? Developer Center | SDK, Training, Code| MSDN. Development Tools. The Communicator « UserName showing up as DomainName\UserName instead of Full Name in SharePoint 2010. I have seen a lot of people facing a problem in SharePoint 2010, where the UserName is displayed as DomainName\UserName instead of its Full Name. As a solution a lot of people are suggesting to setup the User Profile Synchronization service, but there are organizations who would not like to use it just to fix this issue. The above image shows that my UserName which was supposed to be displayed as Mukesh Parmar is shown as SharkHeads\Mukesh. This is not right & I would like it to be displayed correctly and without installing and configuring User Profile Synchronization Service.

Let’s Start The fact is you really do not need to setup User Profile Synchronization service, just to show the user’s display name right. We can utilize the existing SharePoint 2010 CMDLet Set-SPUser to set the User Properties in SharePoint or force a Manual User Profile Update from AD [Active Directory]. To change the Display Name we will be using the Set-SPUser CMDLet with the following switches. Note. REST and SharePoint 2010 Quick Start Guide: Table of Contents « Currier's Blog. Assembling Documents on SharePoint 2010 Sites by Merging Content from Excel, PowerPoint, and Word. Summary: Combining data and images from various Microsoft Office programs to create a single document is a frequently requested scenario. Doing this from documents stored in SharePoint Foundation 2010 has several advantages.

Learn to create Word documents in a document library by merging components from Excel, PowerPoint, and other Word documents. (25 printed pages) Applies to: Microsoft Excel 2010 | Microsoft Office 2010 | Microsoft PowerPoint 2010 | Microsoft Word 2010 | Microsoft SharePoint Server 2010 Published: March 2010 Provided by: Zeyad Rajabi, Microsoft Corporation | Frank Rice, Microsoft Corporation Contents Download code Document assembly seems to be a hot topic these days especially when you combine it with the power of Microsoft SharePoint Server 2010. Likewise, SharePoint Server 2010 is a great a tool for storing, sharing, and controlling documents and providing functionality to work with documents. You can download the solution project from the Code Gallery. Figure 1. Merging SharePoint List Data into Word Documents. Many organizations always work with their predefined set of document templates throughout their enterprise. It is often a challenge to make sure that information workers are uniformly using the latest template and capturing the appropriate metadata everywhere the document templates are used.

It is not unusual for some templates to share common data elements such as custom information or product details. Always the authors, who are responsible for working with these templates, are retyping, cutting and pasting, or otherwise repetitively importing data elements into the appropriate places in the document. Also, they have a totally separate application to locate and maintain the data. Also, users have been looking for different and easy ways to automate data merges since the beginning of word processing.

It is, in essence, a different take on a mail merge. Case Study – Solution or application to merge SharePoint List data into Microsoft Word 2007 documents. Solution Overview 1. 1. 5. 1. 1. Webcasts The Future of Productivity: IT Professional Solutions. Zip File Custom Ribbon Action. So I was bored and decided I wanted to learn a little more about the new SharePoint 2010 UI Framework. There are some really cool things you can do with the new framework and I wanted to put some of them to use but at the same time create something that’s useful for other people. I remember a while back someone asking me to write code for MOSS 2007 that would allow users to download files down to their computer as a zip file because they didn’t like having to download each file one by one.

For some reason or another, I never got around to it – I think I told the person that they could download multiple files from SharePoint using Windows Explorer and, although it wasn’t exactly what they were looking for, it at least got the job done. But I decided recently that this might not be a bad enhancement to add to the UI in 2010 so that’s what I set out to build today. The first thing to look at is my Visual Studio 2010 project. This is the code for the ZipBuilder class: ZipBuilder.cs 47: do. 2010 November « SharePointRecordsManagement.com. This blog has always been focused on providing a fundamental understanding of managing records and information in a SharePoint environment, so I don’t typically like to get too deep into the technical aspects of SharePoint very often.

(And besides, isn’t that why you pay your System Administrators and SharePoint developers the mega-bucks?) However, the new managed metadata services application in SharePoint 2010 is so powerful and so important to how we will manage content and records for a long time to come that I really believe it’s worth understanding at a deeper level. So, before we get to explaining how Term Stores and Enterprise Keywords are created in later posts, let’s look at what a Service Application is and how a managed metadata service application is created. MOSS 07′s resource sharing architecture is based on something called Shared Services Providers (SSPs).

SharePoint 2010 replaces the SSP architecture in MOSS 07 with Service Applications. MySite as a different Application. To correctly set up the “My Site” you should put it in a different application domain. You will get the following message: Validate the My Site Host and Individual My Sites are on a dedicated Web application and separate URL Domain Here is how to go about doing this: Under Central Administration, select New to create a new site from the ribbon Ensure that you have created an A record for “my” (or My Site) Enter the following information as such: You will get this message: Now, create the site collection as a My Site Host Ensure that you have Self Service Site Creation enabled Click OK You should be set!

The next step is to let SharePoint know that is where your default MySite is going to be located. In Central Administration point to: Manage Service Applications under Application Management. Select User Profile Service Application Select Setup My Sites in My Site Settings One last bit of configuration that I am noticing is that I cannot add new “My Content”. Type in “personal” in your path. Chris O'Brien. This is part 2 of my write-up on my ‘ECM Enhancements in SharePoint 2010’ talk which I did recently. You can find previous parts here: Part 1: Managed Metadata in SharePoint 2010 – a key ECM enhancement Part 1.5: Managed Metadata in SharePoint 2010 - some notes on the "why" Having spent some time on the taxonomy/metadata piece in the last articles, this post will delve into other ECM enhancements.

ECM is quite a broad topic (Document Management/Collaboration/Records Management/Web Content Management), but it’s amazing just how much of the new stuff you can’t cover in such a talk – Sandboxed Solutions, BCS, Service Applications, API improvements etc. are all only tenuously linked to ECM, so didn’t get coverage. Here’s what I think of as some key generic ‘ECM platform’ enhancements: Scalability Enterprise Content Types User experience Taxonomy/metadata (as covered in earlier posts) Navigation by metadata Content Organizer Document Sets Tagging Scalability/list throttling Document Sets. SharePoint Server 2010 Help and How-to - SharePoint Server - Microsoft Office. Rational Guide to implementing SharePoint Server 2010 User Profile Synchronization. Print | posted on Friday, April 23, 2010 7:47 PM Introduction There's a ton of stuff out there on User Profile Sync in SharePoint Server 2010.

Some of it’s good, some of it’s frankly terrible. TechNet has some of the best material, but unfortunately TechNet’s format restrictions are counter-intuitive. Therefore this article presents an end to end, “rational guide” to setting this up. [UPDATE: 01/10/2010] TechNet has recently updated its Configure profile synchronization (SharePoint Server 2010) topic, which is greatly improved and now a first class resource. There are a couple of contentious setup requirements in here. You should really read the Architecture Overview below to become acquainted with the moving parts involved, but if you are impatient, you can skip to the procedure itself. If you are having problems, firstly ensure you are following the steps below exactly. Architecture Overview [UPDATE 11/09/2010] a new, corrected version of the diagram. Click above to view at full size. Query String URLs are Magical (Part 2 of 4) - Laura Rogers @WonderLaura.