This document describes a lab on coding with Excel and Excel Services. It involves publishing an Excel workbook to a document library as a trusted file location, then developing a C# console application that uses the Excel Services web service to pass input values to the workbook, run calculations on the server, and return output values. The lab demonstrates how to incorporate spreadsheet logic into applications while protecting proprietary information on the server. Estimated completion time is 60 minutes.
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...GEBS Reporting
Integrating IBM Rational Publishing Engine 1.1.2 with Reporting Arena Excel Converter to generate documents from various IBM Rational tools in MS Excel format.
Using Rational Publishing Engine to generate documents from Rational RhapsodyGEBS Reporting
The goal of this tutorial is to introduce to the user the basics of using Rational Publishing Engine to extract data from Rational Rhapsody and create output documents to present in a friendly way the extracted data.
At the end of this tutorial the user will know how to create an RPE template for Rhapsody, how to obtain a valid Rhapsody schema and how to run a document specification to extract data from Rational Rhapsody.
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...GEBS Reporting
Integrating IBM Rational Publishing Engine 1.1.2 with Reporting Arena Excel Converter to generate documents from various IBM Rational tools in MS Excel format.
Using Rational Publishing Engine to generate documents from Rational RhapsodyGEBS Reporting
The goal of this tutorial is to introduce to the user the basics of using Rational Publishing Engine to extract data from Rational Rhapsody and create output documents to present in a friendly way the extracted data.
At the end of this tutorial the user will know how to create an RPE template for Rhapsody, how to obtain a valid Rhapsody schema and how to run a document specification to extract data from Rational Rhapsody.
• Create a new ADF Skin and check Skin values being used
• Change the page background and font family
• Update the look and feel for table headers and links
• Change the pane body and shape of tabs
• Implement dynamic skin change
Hi! This is a slide show that make me feel to upload that, in our college the final year project assignment has been adopted from this slide. So you guys really feel that this slide is a great one to download and have a look exactly whats are in a Hospital management system has.
• Create a new ADF Skin and check Skin values being used
• Change the page background and font family
• Update the look and feel for table headers and links
• Change the pane body and shape of tabs
• Implement dynamic skin change
Hi! This is a slide show that make me feel to upload that, in our college the final year project assignment has been adopted from this slide. So you guys really feel that this slide is a great one to download and have a look exactly whats are in a Hospital management system has.
This is Just an overview how to present those slides which Describes Software Working....
its a General way of Representation....
Don't worry About Forms Shown inside...
Quanta-HIS is web-based hospital information management software system from Birlamedisoft, demo of nurse module ,A software company provides hospital management software, healthcare software, blood bank management software, Laboratory management software, clinic management software, ophthalmology management software, HIS software solutions, diagnostics centre management Software, Web based HIMS system, LIMS management software, HIMS management software.
This paper’s aim is to point out the RAD ( Rapid application development) elements present in the Microsoft’s MVC 3 and WCF 4.0 using Microsoft Visual Studio 2010. It will describe why creating a new web application using MVC 3 and WCF 4.0 is a easy and fast and also present simple ways to develop such applications.
by Ben Willett, Solutions Architect, AWS
Database Week at the AWS Loft is an opportunity to learn about Amazon’s broad and deep family of managed database services. These services provide easy, scalable, reliable, and cost-effective ways to manage your data in the cloud. We explain the fundamentals and take a technical deep dive into Amazon RDS and Amazon Aurora relational databases, Amazon DynamoDB non-relational databases, Amazon Neptune graph databases, and Amazon ElastiCache managed Redis, along with options for database migration, caching, search and more. You'll will learn how to get started, how to support applications, and how to scale.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
( 13 ) Office 2007 Coding With Excel And Excel Services
1. Lab 13: Coding with Excel and Excel
Services
Objectives
After completing this lab, you will be able to:
• Use and publish an Excel workbook designed to that advantage of Excel Services
• Create a Trusted File Location in Excel Services
• Develop and external C# application that will use Excel Services Web Service
Prerequisites
Before working on this lab, you must have:
• Labs 1 and 2 fully completed
Scenario
This document shows how to build custom .Net code that incorporates server side Excel based
logic into an application and calls the Excel Web Services to run the Excel calculation portion of
the logic on the server.
Specifically, the sample revolves around a “Monte Carlo” simulation model for a stock and
option portfolio. The user runs a command line tool and passes some arguments to the command.
The code passes the arguments to the server thru Web service method calls, and gets results back.
It then outputs the results to the console.
A console application was chosen for this sample because it enables us to easily show a complete
application, while focusing on the Excel Web Services aspects, rather than on UI considerations.
Key aspects demonstrated here:
• Spreadsheet based logic incorporated into enterprise server applications.
• Proprietary information (generally the formulas and calculation model) protected on the
server. End users can use the model thru the application even if they don’t have access to
the model itself.
• Business Analysts maintains the Excel formulas and calculation model portion of the
application, without intervention of IT Developer or an Administrator.
Estimated time to complete this lab: 60 minutes
2. Lab 13: Coding with Excel and Excel Services
Exercise 1
Publish an Excel workbook to a document library
In this exercise you will use an excel workbook to calculate the total value of X number of
stocks and options of a specific company. This workbook was designed to allow an external
application to use some of it fields by using labeled cells and the Excel Services Web
Service.
1. Create a new Team Site under “Sites” and call it “My Team Site”
2. Create a new Document Library within that site called “MonteCarlo” based on “MS
Office Excel spreadsheet” Document Template.
3. In the “MonteCarlo” document library click the down arrow beside settings, select
“Document Library Settings”, under the “General Settings” section, select “Advanced
settings”, locate the “Browser-enabled Documents” and select the “Display as a web
page” bullet. Click Ok
4. Return to the document library – click the “MonteCarlo” link in the breadcrumb
Exercise 2
Enable the new document library as a “Trusted File Location”
Make this location a “Trusted File Location” from the point of view of Excel Services
1. In the Central Administration, select Application Management
2. Select “Create or configure this farm's shared services”
3. Click on the SSP – in this case “O12ServerSSP1 (Default)” link
4. In the “Excel Services Settings” section, click on “Trusted file locations”
5. Click “Add Trusted File Location” located in the blue bar
6. Paste the URL of the “MonteCarlo” document library in the “Address” field. It should
look similar to the following:
(http://hol.litwareinc.com/SiteDirectory/MyTeamSite/MonteCarlo)
7. Keep all other options as is an click Ok
Note: Only files published to trusted locations can be opened and used by Excel
Services.
8. Open the “MonteCarlo.xlsx” workbook located at “C:holMonteCarlo”.
Note: You need Excel 2007 in order to publish the workbook appropriately to the server.
Version 2003 or older of Excel does not have that functionality.
9. Notice the “Simulation” sheet!
The Simulation sheet is conceptually the proprietary calculation model, which we want to
protect on the server and use in an application. For this sample, the model is “fake” – just a
3. Lab 13: Coding with Excel and Excel Services 3
few randomly generated numbers – but the workbook interface to the application is
demonstrated just as if this was a real elaborated calculation model.
10. In the File menu (Office logo top left hand corner), select “Publish”, then “Excel Services”.
The “Save as” dialog opens.
11. Just above the “Save” button, click the “Excel Services Options” button
Note: A good practice would be to uncheck the Simulation sheet to protect your calculation
model and make it unavailable for viewing on the server. The entire file is still copied over to
the server location and available to the calculation components of the server, but only users
with extended rights can view this sheet or open the entire file in Excel.
12. Click Ok
13. Uncheck the “Open this workbook in my browser after I save” box
14. Browse to the “MonteCarlo” document library by selecting the “My Network Places” in the
left hand side panel i.e.
“http://hol.litwareinc.com/SiteDirectory/MyTeamSite/MonteCarlo/” and click “save” to
save your workbook at that location with the default file name.
15. Your file is now published to a server document library. If you browse to the library, you’ll
see your file listed.
16. Your Browser will launch and will show the MonteCarlo.xlsx file. Notice that the Simulation
tab is no available.
17. Close Excel and the browser session.
Exercise 3
Developing the Monte Carlo Application
This C# external application uses Excel Services Web Service and its calculation
capabilities (formulas in the MonteCarlo spreadsheet) by passing four values – the company
Symbol, the initial price, the strike price and lastly the interest rate – and wait for the
calculated results which are display onto the console. You will build this application!
∑ Create a C# project
1. Launch Visual Studio 2005 from the Desktop link
2. Create a new project of type Visual C# / Windows and template “Console
Application” called “MonteCarlo”
3. Save the project at the following location: C:HOLMonteCarlo (browse to that location
and click Ok.
4. Add a web reference to the Excel Web Services:
http://hol.litwareinc.com/_vti_bin/excelservice.asmx
4. Lab 13: Coding with Excel and Excel Services
Note1: Visual Studio creates a proxy class for accessing the Web service. The class is
called ExcelService, and it is in the namespace <your-app><server-name>. In our
example, the namespace is: MonteCarlo.com.litwareinc.hol
Note2: The Excel Services Server name is “hol.litwareinc.com”
5. Add a using statement to the new namespace:
using MonteCarlo.com.litwareinc.hol;
6. Define the interface between your Console Application and the Excel workbook. The
interface is a set of named ranges that are associated with input and output cells. Insert
the following code:
class Program
{
// input & output cell names
private static string[] inputCells = {quot;Symbolquot;,
quot;InitialPricequot;, quot;StrikePricequot;, quot;InterestRatequot;};
private static string[] outputCells = {quot;Averagequot;,
quot;VaRquot;, quot;RelDeltaNormalquot;};
Note: Both direct range references (e.g. “B52”) and named ranges can be used. Using
named ranges isolates the parameter location in the workbook from the application, thus
making the model more robust and easier to maintain.
7. Add code to display a usage line when the command is run with an insufficient number
of arguments.
static void Main(string[] args)
{
if (args.Length < 1 + inputCells.Length)
{
Console.Error.Write(quot;Usage: MonteCarlo
<WorkbookPath>quot;);
foreach (string argName in inputCells)
Console.Error.Write(quot; <{0}>quot;, argName);
Console.Error.WriteLine(quot;quot;);
return;
}
Note: The usage line will help you in run-time. It mentions all required arguments – a
path to the server-side Excel workbook and the input cell names that you defined in the
previous step.
8. Add code to instantiate and initialize the proxy object.
// Excel web services stuff:
// Instantiate and initialize the service proxy object
ExcelService xlSrv = new ExcelService();
xlSrv.Credentials =
System.Net.CredentialCache.DefaultCredentials;
Note: Setting credentials to DefaultCredentials means that your process security
context is passed along to the web service for authentication.
9. Open the workbook and start a session with Excel Services.
// Open the workbook
5. Lab 13: Coding with Excel and Excel Services 5
Status[] status;
string sessionId = xlSrv.OpenWorkbook(args[0],
string.Empty, string.Empty, out status);
Note: The OpenWorkbook method returns a session ID, which is used in subsequent
calls to the server as your session context.
The two empty strings designate default cultures (languages) to be used – the context of
your process.
The “status” output argument returns an array of non-critical errors (usually empty).
Critical errors are surfaced as SOAP exceptions that you can catch.
10. Set the values that were passed on the command line into cells in the workbook, using
the array of input named ranges that you defined above.
// Set parameter values into cells
for (int i = 0; i < inputCells.Length; i++)
status = xlSrv.SetCellA1(sessionId, quot;Sheet1quot;,
inputCells[i], args[1+i]);
11. Call a method to make the server calculate the new state of the workbook.
// Calculate the workbook.
status = xlSrv.CalculateWorkbook(sessionId,
CalculateType.Recalculate);
Note: When the model is complex and time consuming to calculate, it is often a good
idea to turn automatic recalculation off while authoring the workbook in Excel. When
automatic recalculation is turned off, the server will not recalculate after each parameter
value that you set, and you need to explicitly instruct the server to recalculate once all
parameters are set.
12. Once the workbook is calculated, you can get output values from the server session,
using the array of output named ranges that you defined above, and write them out.
// Get results and write them out.
foreach (string cellName in outputCells)
{
object result = xlSrv.GetCellA1(sessionId, quot;Sheet1quot;,
cellName, true, out status);
Console.WriteLine(quot;{0}:t{1}quot;, cellName, result);
}
13. Lastly, close the workbook and your server session.
// Close the session.
status = xlSrv.CloseWorkbook(sessionId);
Note: This is a very important optimization step. If you do not close the session when
you are done with it, the server will still time it out after an administrator-controlled
amount of time; but this timeout is usually set according to the needs of GUI-based
applications, to allow users to pause between interactions. Unnecessary sessions that
remain open consume server resources and may cause decreased overall performance.
14. Your application code is ready! Now have Visual Studio build it, and the development
phase is done. On the menu, select Build, then Build MonteCarlo.
The results of the build should be:
6. Lab 13: Coding with Excel and Excel Services
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
Exercise 4
Running the Application
In this exercise you will test your external C# application along with the Excel Services
Web Service.
1. Open a command window: Start, command Prompt
2. Change to the Debug directory of your newly built project:
“C:HOLMonteCarloMonteCarlobinDebug”
3. Run your program without arguments to get the usage line. On the command line, enter:
“MonteCarlo”
You will be returned information about the usage of this program
4. Run your program, giving it the path to the server Excel workbook, and values to the
other arguments. Notice the three result values that are written out. Enter: “MonteCarlo
“http://hol.litwareinc.com/SiteDirectory/MyTeamSite/MonteCarlo/MonteCarlo
.xlsx” MSFT 26 31 5%” at the command line.
5. Try with different numbers
6. Do not close the console yet… From the server document library, open the workbook for
editing in Office Excel 2007. Click on the file’s context menu then, select Edit in
Microsoft Office Excel.
7. Once in Excel, select cell A15 of Sheet1, where the Average output value is. Notice its
value.
8. Modify the cell and multiply it by 10. The resulting calculation should look like
=Simulation!B3*10.
9. Then save the file and quit Excel.
10. In the command window again, simply run the last command once more, to execute your
program again with the same set of input values. Notice how the Average result is now an
order of magnitude larger!
11. You made this change in the algorithm without touching a line of code – just modifying the
Excel calculation model.
Close all applications - this lab is completed!