Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

SharePoint 2010 : Publishing to Excel Services (part 2) - Allowing Parameter Input in Excel Web Access

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
3/25/2011 11:29:54 AM

Allowing Parameter Input in Excel Web Access

Another feature to be familiar with is the ability to name a cell in Excel 2010, publish it using Excel Services, and users will then be able to input a value through the Excel Web Access interface. Although somewhat time-consuming to configure, it can allow for interactivity through the Excel Web Access web part that might be very useful for encouraging end users to interact with the data. Bear in mind that any data input by end users in the Excel Web Access web part is not saved to the published spreadsheet, so is really only for “what if” scenarios.

The following example reflects a situation where an IT manager wants to show senior management the impact of total number of help desk resources on average time to resolve the help desk tickets that come in based on numbers from the previous year. She creates a base spreadsheet with the months and number of help desk tickets per month and then creates an equation for the Average Time to Resolve (Hrs) column that divides the total number of tickets by the variable that will be input by the Excel Web Access web part users. This allows users of the published worksheet to enter in different numbers in the Number of Resources cell and see the results over the course of the year. She is hoping this will enable her to convince senior management that the organization needs more help desk staff at certain times of the year if they want to meet their SLA of no more than four hours average time to revolve help desk tickets. This example also allows the IT manager to show off her Excel Services skills to show senior management another capability of SharePoint 2010.

Follow these steps to test the process:

1.
Create a new spreadsheet in Excel 2010.

2.
Provide the heading Month to column A in cell A1.

3.
Enter the text January in cell A2. Grab the lower-right corner of the cell while highlighting cell A2 and drag downward, until all the fields are populated with the months up to December.

4.
Enter Help Desk Tickets as the header in cell B1. Enter random numbers between 0 and 200 for cells B2 through B13.

5.
Enter Average Time to Resolve as the header in cell C1.

6.
Enter the text Number of Resources in cell A15.

7.
Select cell B15 and access the Formulas tab.

8.
Click Define Name in the Defined Names section of the Ribbon. Enter a name of NumberofResources and click OK. The results should look like Figure 12, with the exception of the actual values entered in cells B2 through B13.

Figure 12. Naming a cell in an Excel 2010 worksheet.

9.
Select cell C2 and enter the following formula, which will use the named cell:

=B2/(NumberofResources*4)

10.
The error #Div/0 error will display because there is no value in cell B15.

11.
Click cell C2 and drag down to cell C13, and all cells should display the #Div/0 error.

12.
Click the File tab, click Save & Send, and then click Save to SharePoint in the Save & Send column.

13.
Click the Publish Options on the right side, above the Recent Locations list.

14.
Click the Parameters tab, click Add, and select the box next to NumberofResources. Click OK, and the results should resemble Figure 13.

Figure 13. Setting the publish options when publishing using Excel Services.

15.
Click the Show tab and access the drop-down menu and select Sheets. Select Sheet1 and click OK.

16.
Back on the Save & Send page, scroll down if needed and select Save As.

17.
Enter the full path for the SharePoint site and document library in the Filename field and include the filename of HelpDeskTickets (so in this example, it is http://abcsp1004/sites/chapter26/shared documents/HelpDeskTickets). Verify that Open with Excel in Browser is checked. Click Save.

18.
A browser window will open, and will display the worksheet, with a field on the right side titled Parameters, with a field next to the label NumberofResources. Enter a number such as 5 in the field and click Apply. The results will look like Figure 14.

Figure 14. Results of entering a parameter value in the browser.

This example shows the steps involved with defining the name of a specific cell and then including that cell in the publishing process using Excel Services, as well as showing the interface that results. Multiple named cells can be defined in a workbook, which can then essentially be used as variables in the resulting content that is surfaced in the Excel Web Access web part. Combine this with tools such as charts and pivot tables and conditional formatting, and the results can be very powerful.

Other -----------------
- Securing an Exchange Server 2010 Environment : Securing Outlook Web App
- Securing an Exchange Server 2010 Environment : Protecting Against Spam
- Securing an Exchange Server 2010 Environment : Securing Outlook 2007
- Securing an Exchange Server 2010 Environment : Securing Your Windows Environment
- Windows Server 2008 R2 Administration Tools for Desktops : Creating Custom Installations Using Capture Images
- Windows Server 2008 R2 : Creating Discover Images (part 3) - Pre-creating Active Directory Computer Accounts for WDS
- Windows Server 2008 R2 : Creating Discover Images (part 2) - Adding Drivers to Boot and Discover Images
- Windows Server 2008 R2 : Creating Discover Images (part 1) - Creating Bootable Media with Discover Boot Images and the Windows Automated Installation Kit
- BizTalk Server 2010 : Correcting Errors in Functoids
- BizTalk Server 2010 : Navigating the Mapping Surface
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer