How can we generate Reports using flex bulider? - apache-flex

is it possiable we can bulid the reports using flex bulider ? or can we and any
frameworks for build the reports ? .
i don't know what way to bulid the reports
flex bulider have any build reports compoents there?
i want sorting reports order like
By Product Company Name Expected Close Month
Consultant Expected Revenue
this is are fields
Product 1 A May’10 X £1,000.00
B Jun’10 Y £2,000.00 C Jul’10
X £3,000.00 Sub Total
£6,000.00
Product 2 etc
Grand Total £24,000.00
This is are data . How is it possiable ?
Could u give any gudiends me ?

Answer based on first revision.
Typically applications would give this responsibility to the server. Your Flex application passes parameters to the server with a request for a PDF document and the server puts together the appropriate one and seconds it back.
If you're using AIR to run your Flex application you could probably write a library to create a PDF file and then same it to the user's computer but I would stress that the kind of libraries you would need for your server already exist. For example: http://php.net/pdf

Report tends to be a rather generic term and as the other responder indicated that it meant PDF to him/her. The application I am working on is very report heavy. We have a requirement for a client side report ("Think Report in Flex") and PDF version of the same report.
When we originally looked 1yr back, there is no Report library that provides the equivalent of what lifecycle does on the server. Therefore we have had to build our own and it is based on a generic template mechanism.
So can it be done. Yes. But I would recommend developing a generic means to render your reports and it is not a easy task if you want to keep it generic so you can create multiple type of reports.
Also, avoid the trap of nesting your reports through VBOX, HBOX and containers to provide a flexible layout system as it will not perform well.

Related

Form Recognizer S0 tier limitations

When building a project with the Form Recognizer v. 2.0 API, I get an page limit error when trying to train with more than 500 pages in the project, even though the service has been configured to use tier S0.
Are there limitations on this level or is it because the service is in preview?
I think I find the right documentation for this point, but I agree, it was not easy to find it.
It's here: https://learn.microsoft.com/en-us/azure/cognitive-services/form-recognizer/overview#input-requirements
It states that, for a custom model:
PDF and TIFF documents must be 200 pages or less, and the total size
of the training data set must be 500 pages or less.
So I guess yes this is a limitation, but I don't know if it is due to the preview or not.

How to integrate Recombee with ASP.NET

How do I integrate recombee with ASP.NET to display results in a list or grid view, as well as connect a book crossing dataset to it?
Recombee provides a .NET SDK (https://github.com/recombee/net-api-client).
The github page contains an example how to upload items catalog (your dataset) via it to Recombee. It also shows how the recommendations are requested.
Recombee API returns by default ids of the recommended items, but if you specify parameter returnProperties=true in the recommendation requests, it will also return properties of the items, which you can use for filling your list/grid view.
Another source of information is the Getting Started section of the Recombee docs.

Attempting to design a flexible reporting system. Getting stuck

I’m having some trouble coming up with a future-proof-ish design for reports for a company. Essentially the requirements are:
Be able to pull whatever data from the database
Generate formatted report from that data by populating a template (HTML, docx)
Export to Word and/or PDF
So initially I made an API endpoint per report (this is a web app), and had PDFs generated and formatted correctly.
But now I need to get the data into .docx/Word format, and I’m trying to figure out how I can design something as D.R.Y. as possible so that I don’t have to put in a TON of work every time the company decides they need another report (they’ve done this two, three times which is how I became aware that I had coded myself into a corner).
Every report I’ve done thus far has been done via a “brute-force” method: code the queries needed for the report, format the data, and then render to PDF (using HTML to PDF via phantomjs).
The complexity occurred when the company came back and said “Hey, we need all of those reports in Word format, also we have 3 other new reports that we need and a report that is a slight variation on the old one but +/- 2 fields”.
I am just having trouble coming up with a solid design/abstraction here, one that doesn’t send me down a week long hacking spree every time a requirement changes.

get request parameter from url in HP loadrunner

I am using HP loadrunner for my automatic tests.
Every time, when i run my application, it creates some transfer and also generates id in URL.
How can i get the id from URL?
Thanks in advance!
The web_reg_save_param function in LoadRunner is used for this. The following line will save the current page URL to the parameter (URL).
web_reg_save_param("URL", "LB/ic=Location: ", "RB=\r\n", "Search=Headers", LAST);
If you know what the ID is that your looking for, ie. http://www.example.com/?id=298374293847 you can adjust the call accordingly.
web_reg_save_param("URL", "LB/ic=Location: http://www.example.com/?id=", "RB=\r\n", "Search=Headers", LAST);
Hope this helps.
Recording with Siebel 8.1 on Loadrunner 11 having issues,posted a question on HP and got the same comment. But usually we can try the below mentioned option
You can record in Siebel-Web or web (http/html) and playback as
either too (if you want to record in Siebel-Web and play back in
regular web, just copy the contents of the script to a regular web
script and save).
Try a proxy mode recording in LR.
Changing registry and disables NTLM.
Turn off all autocorrelation rules
Turn on record as URL mode (as an alternate use web_custom_requests())
Use a sniffer to capture the traffic and then build a script by hand.(Best Option)
Change settings on the Siebel server side as well (Enable Automation=True, EnableWebClientAutomation = TRUE)
If you are recording your scripts using Web http/html you can use automatic correlation. For automatic correlation go to Design Studio
If you are unable to find the value there,then you must correlate manually using web_reg_save_param by giving the left and right boundaries.
This is going to sound belligerent, condescending and downright offensive. It is not to be meant as a reflection on you, but upon your management who has placed you in this position.
The topic of Correlation is one covered extensively in the class for LoadRunner web script development. It is the topic of a full 1/3 of the class and an additional appendix. All told some four different techniques for collecting dynamic data are covered, presented or documented as a part of the class materials. This capability, the handling of dynamic data, is a foundation tool skill.
Vardges, your management has placed you in a tough spot. Personally I would bolt for greener fields, for any management which is willing to do this to a line-of-business employee is also willing to toss that same person under the bus to salvage their own hide or a client relationship. Blaming you for something that management is unwilling to address is not a question of "if?" when training and mentoring does not occur, but only "when?" will the blame be placed on you.
James Pulley
Moderator: YahooGroups Advanced-LoadRunner, YahooGroups LoadRunner, SQAForums LoadRunner, LinkedIn LoadRunner, GoogleGroups lr-loadrunner

ASP.NET Consolidated Report

We have an ASP.NET 2 application and at the moment for the reporting, we are utilising DataSet/DataTable taking some storedprocedure/query and display on the screen (grids). For the graphics, we are using Dundas Chart component and again we are utilising DataSet/DataTable to display it. These thing has been running well ... no issue.
Now, we are having a challenge that every single report that we produce above (grid or graph), the user wants to consolidate into 1 single click solution which means if they click the "Consolidated Report" it will produce the page as well (grid/graph) into 1 page. But the issue is that the user wants use the display (grid/graph) and download into 1 file. It could Ms Words/Ms Excell.
How we are going to achieve this?
I am thinking to do as follow:
1. Convert everything to use the Reporting Services (client) .. or
2. Is it possible to do like convert the page/grapf into Word/Excel into a single page? Is there any other solution?
The issue is that the we have simple stored procedures to get the data source out and then we are using that data and do the massive data manipulation in DataSet/DataTable (loop through the records, create a new dataset and manipulate etc etc) and then to construct the final report and display on the screen.
I am appreciated your comment.
Thank you
In my opinion the best solution will be integrating the HTML into a PDF.
You can convert the HTML generated into PDF easily with ABCPdf from WebSuperGoo (I suspect that other solutions can work, but I have only used this product)
See this live demo, and select "Add URL" and point to your URL or check out this example

Resources