webMethods OneData 10.11 | Managing Master Data with webMethods OneData | webMethods OneData User’s Guide | Advanced Object Properties | webMethods OneData Anywhere | Configuring webMethods OneData Anywhere Presentation
 
Configuring webMethods OneData Anywhere Presentation
You can configure the screen dimensions and display mode of webMethods OneData when it is integrated within another application. By default, an integrated webMethods OneData Anywhere screen displays at a resolution slightly smaller than 1024 x 768. If the external system uses a smaller screen resolution than webMethods OneData, webMethods OneData screens may display a scroll bars.
To control the size of an integrated webMethods OneData screen, you can hard-code or dynamically generate the screen dimensions in the webMethods OneData iFrame so that webMethods OneData always fits within the external application’s screen size.
By default, webMethods OneData Anywhere displays objects in Flex mode. However, you can specify the link display objects in Nova-Echo mode by adding &isNovaEcho=true to the end of the OneData Anywhere link. In Nova-echo mode, webMethods OneData displays the following screen toolbar:
Parameter/ Icon
Description
Enable Advanced Filtering ( )
Display Advanced Filtering options for the object.
Help ()
Loads the Help screen of webMethods OneData Anywhere.
Number of Rows
The number of rows to be displayed per page.
*To configure webMethods OneData Anywhere display resolution
1. In a text editor, open the HTML page that contains the OneData Anywhere link.
2. Configure the screen resolution with a set value or a dynamically generated one:
*To fix the screen resolution, add the screen height and width dimensions in pixels to the end of the OneData Anywhere link, as follows: <webMethods OneData Anywhere link>&height=440&width=640
*To generate the screen dimensions dynamically, use the following code in the IFrame web page:
// the following parameters can be edited to customize how
// webMethods OneData Anywhere IFRAME displays on your page
var iframeWidth ='100%';
var iframeHeight = '55%';
// do not edit below this line
var iframeId = 'webMethods OneData Anywhere';
var iframe = document.createElement('IFRAME');
iframe.id = iframeId;
iframe.width = iframeWidth;
iframe.height = iframeHeight;
document.body.appendChild(iframe);
iframe.src = '<OneData Anywhere link>'+
'&width='+document.getElementById(iframeId).clientWidth+
'&height='+document.getElementById(iframeId).clientHeight;
3. Save and close the HTML page.