how to generate request pages for multiple reports - birt

how to generate request pages for multiple pages as I am going to migrating multiple reports from test to prod in Maximo.
is it possible to add generate request page button in the list view of report administration application

You already can generate request page from the Report Administration screen.
Whatever is on your list view is what gets generated when you click on the Generate Request Pages button.

Related

How to pass items between pages in Oracle APEX in client side?

I know when Oracle APEX page items are submitted to server (for example with ajax or saving data to database) it's possible to transfer them to another page, but I need to pass items between pages without submitting to the server. Is there any way?
You can use application item instead of page item. It is visible to all pages

Load testing with html pages having Web API calls in buttons(login, registration)

I recorded application. It record login get method page as the only html page. login post method pages not recorded instead it record as one authorization manager and some APIs. How can I load testing using only html pages. Now my record script seems full of APIs instead of .html pages. I asked to my developers. They told "In submit buttons they call APIs related to those pages". Help me to get out of this problem.
You must not record these requests to .js and woff2 as this is not how real browsers behave.
Real browsers execute main request to what you call "html page" followed by concurrent download of "embedded resources", in your case JavaScript and Font files. To make your JMeter test to behave more like a real browser you need to:
Exclude these requests from recording. Click "Add suggested excludes" button in the HTTP(S) Test Script Recorder
When you finish recording and will be preparing your script for execution add HTTP Request Defaults to your Test Plan, switch to the "Advanced" tab and tick Retrieve All Embedded Resources and Parallel Downloads boxes
This way you will be properly handing JavaScripts, Fonts, images, styles, whatever in your load test.

Facebook feed dialog deprecating custom fields

Facebook Feed Dialog 2.9 has deprecated the custom fields (name, caption, picture, description) - https://developers.facebook.com/docs/sharing/reference/feed-dialog.
I'm working on an AJAX site where all content and metadata is loaded dynamically. If I just use the link property, the metadata isn't set on initial retrieval of the page so the post doesn't contain the right content.
How can I share an AJAX page on Facebook without having to go down the route of prerendering static pages server side? Thanks
If you can program your page to populate the appropriate metatags on the page load based off of a variable http:/yoursite.com/yourpage.php?thisversion=1 then when you want to share version 1 of the page, you just share the URL with the appropriate variable to populate it. You can still remain on your current version of the page but when you share the URL that would prompt that specific version, facebook makes a call to that respective URL and pulls the appropriate metatags that would be populated by your variable without having to reload the page your are currently displaying. Sorry I don't have time at the moment but will try and comeback and add some sample code for clarity.

MVC 3. Load menu and content separately

I have an app with 3 sections:
Main menu;
Context Menu - Related to selected item in main menu;
and Page body - Related to selected item in context menu;
"Main menu" and "Context menu" are based on membership. I don't want to load them everytime my page loads, because that would consume resources database. So, I'm using ajax to load main menu only one time, and when an item is selected, I load the context menu for that item.
My problem is: Every form's post will erase my menu.
Question: Will I have to build my entire application using ajax? I don't wanna do that, because it is too much simpler do a post in the form then send all data to controller with ajax.
Until now, I have 2 options:
Load my menus with ajax and the page body with IFRAME, so the post's will not render again my menus.
Do everything using ajax;
Is there any alternative to load my menus with ajax and be able to use form's post?
Sorry if I wasn't clear enough.
The sentence that gave me a pause is this "I don't want to load them everytime my page loads, because that would consume resources database."
You see, I've build quite a lot of apps, that display menus and sub-menus based on user roles (what you called membership). This has never been an issue from the resources or database perspective.
You can access all the membership information that you need once, when your used is being logged in. In the simplest case user's identity will be stored in the context along with the roles they have (HttpContext.User), so you do not to need a database lookup at all to get this information on every request. Note that with this scenario no ajax is required either.
If for whatever reason you can't store your membership information in the context like this, you still can store in in session (if in-memory) or in encrypted Cookies.
Now, I understand, that I don't all the details of your scenario, and that may be in your scenario what you are trying to do is warranted, however I suggest you think it through again, as under normal circumstances what you indicate is a problem (database resource) should not be a problem at all.
The bottom line is: if you alter your application that it stores the membership information when user logs on you won't have your problem to start with.
You don’t have to build all of your application using Ajax. But in this scenario Ajax may be the best way forward.
Following is my suggestion
Create your data entry for inside a dev
Have each input controller marked with a class (say ‘dataEntry’)
Create a javascript function to iterate the dev and build a list of all elements that has class dataEntry
Build a json object using the list. Use the name of each element as property name and value as the property value
Use jquery ajax to post this to the controller action
[optional] you can use .done and .fail methods to take action on success or failures of the call
I know this may look intimidating, but if you have many data entry forms, you can re-use this code.

Telerik report in ASPX which accepts an array

I have an MVC3 application and we are using Telerik Reporting. The Telerik report viewer must be hosted in an ASPX page named ReportPage.aspx. In its PageLoad method is logic to determine which report to display based on the querystring. I want to originate a request for a report from an MVC view and I would like the view to remain present, so I either need a popup or a new browser window for the display of the report. Once the user closes the report window, the original window should display intact.
I believe I can meet the above requirements, but here is the complication. I need to pass an large array of integers to ReportPage.aspx as an argument, so querystring won't work for me. As far as I know, I need to use a JSON object and a WebMethod to pass the array. But I don't see how the WebMethod (even if it is a method of ReportPage.aspx) can open ReportPage.aspx.
Does anyone see a way to make this work?
If your asp.net web site and your MVC web site have access to a shared database then:
Store dynamically the large array in the shared database and assign a unique report ID
Pass in the query string the report ID only.
In the aspx page load the report using the report ID
Run a sql job every night that deletes the previous day report IDs. No need to store them forever

Resources