on 04-07-2015 1:38 PM
Hi Experts,
We would like to know whether JQuery and all its associated files comes by default in MII 15 SP03 or do we need to include those files separately?
We're fetching the data from a MDO and populating a datatable using getJSON function, but the table doesn't load with the data.
The getJSON works with MII14 SP0 (bootstrap.js), but not with MII 15 SP03.
Please advise.
Also, will MDOs cause any performance issue in GUIs like for instance page loading, data loading etc.
Thanks,
Rajeev
The issue was due to double quotes IN column date and XSLT. getJSON function is getting called now.
Thanks for you inputs
Regards
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajeev,
Ria has already answered first part of your question. The library comes with 15.0.
About the MDO part, please understand it is as good as calling a query on the page. Now if it's a persistent MDO it would definitely not give you live data and as it reads data from MII DD, hardly any hit on performance side.
If it's an on demand MDO, then obviously performance depends on the logic using which the MDO gets data.
Hope it helps.
Best Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajeev,
jQuery library comes by default in MII from 14.0 SP05 onwards as part of the SAP UI5 library which is loaded by bootstrap.js. Hence the jQuery function getJSON should work in MII 15 SP03 as well.
Is there some error in the console on using the function, if so please share the same.
If you could be more specific on the scenario with MDO in UI may be that will help answering your query. Other MII experts please share your views here.
Thanks and Best Regards,
Ria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ria,
I am displaying the data in the datatables from a persistent MDO via Servlet. The ILLUMINATOR servlet works fine, returning the data in aaData format. Now, when I use the getJSON function to retrieve the data, the function is not getting called, for eg:
function test()
{
alert("test");
$(document).ready(function() {
alert("before getJson");
alert("inside");
var urlString = "/XMII/CM/Default/testsvt.irpt";
$.getJSON(urlString, function (output)
{
alert("inside getJSON");
});
}
All the alerts prior to getJSON get alerted, but the alert("inside getJSON") doesn't.
Regards,
Rajeev
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.