Silverlight Excel Automation Factory API Documentation - silverlight

Silverlight Excel Automation Factory API Documentation
Hi Im using Excel Automation Factory to export data from silverlight to excel. Problem is I can't find documentation on using excel this way. All I could find where some small tutorial from which i could extract some data
like :
dynamic excel;
excel = AutomationFactory.CreateObject("Excel.Application");
excel.Visible = true;
dynamic workbook = excel.workbooks;
workbook.Add();
but thas all!
Where Can I find Some Excel Automation Factory Documentation?

refer MSDN:- http://msdn.microsoft.com/en-us/library/wss56bz7%28v=VS.100%29.aspx
although there isn't much documentation on same.

Related

Excel Add in - Refresh all custom functions in a specific sheet

I am just curious how do I manually refresh all custom functions of my addin in a specific sheet using JavaScript? I have tried to search online through Microsoft docs but could not find any docs mentioning this. Thanks
You can use Worksheet.calculate() API to refresh all custom functions in a specific sheet. The following is an example function.
async function reCalculateSheet() {
await Excel.run(async (context) => {
const sheet = context.workbook.worksheets.getItem("SampleSheet");
sheet.calculate(false);
await context.sync();
});
}
Besides, I recommend you a Microsoft office add-in “Script Lab” where you can search the sample of the scenario you need and experiment with the Office JavaScript API without ever leaving Excel.

Showing Data visualization (charts and stats) in ReactJS UI

I have a form in ReactJS, after submit, form data is posted to Django backend.
My requirement is, I need to run data analysis and visualization on submitted form data, with data already exists from  previous submitted data.
can I build data visualization in Django Rest Framework?. or can I do data analysis and visualization in Pandas library?. But not sure how to build an API so that I can show up these data visualization to ReactJS ui after form submit.
Or Google or Azure cloud provide api for building data visualization on cloud and expose it as an api?
Please let me know , if any sample or reference to github project, will be helpful.
Can you build a data visualization app with DRF in the backend and React in the frontend?
Yes. I will briefly describe the flow.
Easy mode (with data computing on the server):
Submit the form in React.
Data is handled in DRF.
You do all computations in request processing. Yes, you can use any ML/Data science libraries. BUT, all computations should be quick and shouldn't use a lot of resources.
You return the results of your analysis as a JSON.
On the React side, you get the response from the server. You can display results, for example as a chart (data visualization).
The response returned from the server in point 4 can have already prepared JSON for the charting library.
For charting, I can recommend Plotly: https://plotly.com/javascript/react/ You can use plotly in Jupyter notebook as well for creating prototypes of analysis.
The difficult mode:
Your data analysis part take a lot of time and needs computing resources. Then you should use some background processing library (for example Celery). This is a little more complicated. You should do long polling on React side.
BTW, I'm working on Django+React tutorials how to build real SaaS applications from scratch. Would love to write about similar to yours use case in the future.
If you have more questions, feel free to ask. I'm happy to help!

Update excel sheet through parsing data from angular

I have a question.
I am fetching some data from a website now what I want to do is to write that data in excel through angular and export it, now again when I want more data the file should be updated.
is there any library does that?
I did same thing in my project, but you have to pass your data or file from angular to server side (.Net )and then using any library, you can write in excel easily.
Thanks.

UFT is not recognizing web objects for web based application developed using sharepoint 2013

When I tried using object spy but for links,webList etc for all the objects it is recognizing all of them as webElement. I have tried by adding .dot addin, I think I am missing something other than this.
This application is developed using Sharepoint 2013 and UI part is totally developed using angular js.
Please help me regarding this.
If they are recognized as WebElement, you can handle them as webelements. You can write a function to dynamically recognize your element, and use appropriate method (Set, Select...etc).
Screenshots or object details might help here.

AngularJs bootstrap and charts

I am working on a project that involves building a line chart. I am getting the data from a mysql DB. I want to know how its possible to use AngularJs and some bootstrap templates to accomplish this. I would very much appreciate it if there is a step by step way of explaining.
thank you in advance
Try using AngularJS service to read the data from your Back end server via HTTP REST API or url that returns json.
Then use nvd3-angular-directive library to show the chart e.g https://cmaurer.github.io/angularjs-nvd3-directives/line.chart.html

Resources