Xacute query output in dynamic graphics

Hi all,
         i have a question can i create dynamic graphics using xacute query , if yes please tell me hint or suggestion how to do this .
thanks in advance
Regards,
Praveen Sharma

Praveen,
See the xMII help documentation first.
In dynamic graphics load your SVG, create links/calcualted values
Use BLS to generate the image, store to Web Root
Reference image on your web page.
Sam

Similar Messages

  • Problem in displaying applet by using dynamic graphics

    Hi,
    I followed one document for using dynamic graphics editor, the url is
    /people/abesh.bhattacharjee/blog/2007/02/27/get-started-with-dynamic-graphics-in-xmii-115 by Abesh Bhattacharjee.
    The steps are as follows:
    1). Create the tag query
    2). Preparing the 3DDialGauge Object
    3). Creating the BLS Transaction
    4). Creating an Xacute Query for the BLS Transaction
    5). Creating the HTML Page with help of applet.
    In this HTML page we get that image and also 2 buttons.
    Finally we have to get the object designed in step 2 above and it has to change dynamically and refresh the image by pressing one buttons and the other button is to stop the refresh.
    Now i am getting the image and 2 buttons as output of that HTML page but the problem is the image is getting refreshed continously without getting proper display and i am pressing the buttons it is not stopping the refresh and the warning message i am getting is
    document.TransFanSpeed is null or not an object
    and the object is not changing according to the dynamic value please can anyone help me in resolving this problem.

    Hi shyam,
    The html file is as follows:
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="../../../../ServletExec AS/se-xMII/webapps/default/Lighthammer/Stylesheets/lighthammer.css"><br />
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <APPLET NAME="TransFanSpeed" WIDTH="300" HEIGHT="300" CODE="iCommand" CODEBASE="../Classes" ARCHIVE="illum8.zip" MAYSCRIPT><br />
    <PARAM NAME="QueryTemplate" VALUE="C:/Lighthammer/Illuminator/Templates/Training/SVGexampleXacutequery"><br />
    </APPLET><br />
    </head>
    <body>
    <img src="../../Fan1.jpg" name="refresh"><p></p>
    <button onclick="javascript:doit()">Do it !!!</button>
    <button onclick="javascript:clearit()">Clear Timeout</button>
    <script language="javascript">
    var Time;
    var imagename;
    var tmp;
    function doit(){
    executeQry();
    imagename = "Fan1.jpg";
    tmp = new Date();
    tmp = "?"+tmp.getTime();
    document.images["refresh"].src = imagename+tmp;
    Time = setTimeout("doit()", 1000);
    function clearit(){
    clearTimeout(Time);
    function executeQry(){
    document.TransFanSpeed.executeCommand();
    </script>
    </body>
    </html>
    and the iCommand.java is nothing but internal one there i didn't written any code
    Message was edited by:
            RAJESH PERLA

  • Problem with Xacute Query.

    <b>
    Hi,
    When I pass the Input parameter to the Xacute Query,It is not giving any output.I mapped the Transaction Output to the Xacute Query.
    When I ran transaction with same input parameter (transaction  property),it gave successful results.
    Also all type of Queries (SQL,Tag) are working fine.
    Message in Java Console is : "Unable to connect to the web browser."
    I am unable to debug this problem.
    Please help me towards resolving this.
    Thanks and regards,
    Suresh Hiremath
    </b>

    Hi, Suresh.
    Completely different problem.  In your case, you are copying the wrong output structure to the Transaction output in your assignment block (Sam Castro sent me your transaction).  Although you are building an xMII Document in your transaction, if you look at your assignment, you are copying the XML that is returned from the JCO action directly to your transaction output.
    For transactions that will return XML data to other xMII objects (Xacute queries, user interface objects), the format of the XML must be valid xMII format (/Rowsets/Rowset/Row), with no invalid or missing columns, etc.
    In Brian's case, while he was using /Rowsets/Rowset/Row format, it was invalid (there were columns assigned to the document, but no data values provided for those columns in the rows).
    If you fix your assignment link, you should be fine.
    - Rick

  • Web Service to xml to bls to xacute query formatting

    Hi.
    I have a BLS calling a web service which returns a data set in the xMII XML format. I take that output and put it in a xml transaction output property and try to read it with an xacute query. (obviously I will be doing more manipulations to the data in the bls once i get this issue resolved). The query returns a blank page when tested.
    OK, so I take the same xml output, and in the same bls use the Write_File action to create an xml file, then use the XMLLoader action to read in that file back into the bls, assign the results of the xmlLoader to the xml transaction output property and try to read that output with an xacute query. I get the data when I test the query.
    Now, I don't touch the format between the web service and the file or after I load the file. How come the xacute query can read one transaction output and not the other?
    I have taken both transaction propertie values from a trace log and compared the strings and find no difference between the return from the web service and the result of the xmlLoader. I don't want to take the output of the web service and write it to a file just to get in into an xml format that works properly.

    I am sure that is the root cause, but how do I do an explicit type conversion without going through the output to file and load xml step? What else is needed?
    The return of the Web Service is an XML that contains an XML string in the xMII format. I can look at that string and it looks correct (Though xacute doesn't recognize the string as an xml structure). I can take that string and put it in an XML transaction property and it looks correct (the reference in the BLS is: SqlXml2.SQLXML2Response{/ns1:SQLXML2Response/ns1:SQLXML2Return}). I can take that XML variable and output to a file and then load that file and it actually is correct (though the content of the file and the return string from the web service are identical). So, I can see that the type conversion takes place when I load the xml file but I haven't found the action that will do the type conversion otherwise even though the "conversion" doesn't seem to require changing the content at all. Have I missed something?

  • Multiple records error in Xacute Query, xMII 12.0

    Hi Gurus,
    I am on xMII 12.0. I have a transaction where i am getting multiple line items from a BAPI is ECC system & want to display these on to the browser. I have an output parameter where I am passing all the values. In my tracer I can see all the values of the ouput parameters correctly being recieved from the bapi.
    I have created a Xacute Query to display my transaction output on the browser & linked it with my transaction. I am expecting to get the same output as i get in the tracer on the IE screen but i do not get it. The output parameter gives me the values of the last record only. But on individually executing the transaction the same variable gives me all the values.
    Can someone help please.
    Thanks & Regards
    Abhik

    Thanks guys for the extended help,
    My transaction has the following steps in sequence.
    1. JCO Interface to get details of BAPI (working fine)
    2. Repeator looped on the response table with data.
    3. Tracer on which global variable is displayed. In the Outgoing tab of the likns editor i am filling in the global variable (I have tried bothe types XML & String)
    The records are getting displayed correctly on the tracer message but when i link this to a Xacute Query then i am getting only the last record. I understand that the variable is getting overwritten.
    Amit I'll try to append all values to the row structure & then assign it to the output parameter of type XML. As from futher workings & your comments it sounds logical. I understand that the Xacute Query executes the whole transaction & gets the final value on to the screen so i get the last record only & this should solve when i always append the global variable in my transaction to the rowset. I will award the points once i finish the exercise. Logically i guess this should work.
    Thanks a lot for you help guys.
    Abhik

  • How to call both xacute query and xml query inside a single applet

    Hi,
    I am very new to XMII. Trying with a simple exercises now.
    1.  I have a Business Logic Transaction which will call external application using web services then it will get an output as xml and storing it in C:\.
    2. Then I created one xacute query which will call the transaction
    3. Then I created a xml query that will read the xml in c:\ and I too created a visual display template(ichart)  for it
    4. Created a html file -- created a applet , called all the 3 inside it. NOt getting any graph in IE
    5. But if I call only xml query and display query its working
    <b>following are my HTML file:</b>
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Order Percent Complete</title>
    </head>
    <body>
    <p>
    <APPLET NAME="MyApplet" WIDTH="640" HEIGHT="400" CODE="iChart" CODEBASE="/Illuminator/Classes" ARCHIVE="illum8.zip" MAYSCRIPT>
    <PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTxnTemplate">
    <PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTemplate">
    <PARAM NAME="DisplayTemplate" VALUE="UserTemplates/POVisual">
    </APPLET>
    </p>
    </body>
    </html>
    6. In POTxnTemplate -- calling Transaction BL
        In POTemplate -- fetching xml from c:\
        In POVisual -- displaying the ichart (using POTemplate)
    Can any one help me with this?
    I am doing in the right path?
    Thanks in Advance,
    Murugappan.

    Hello,
    You can only enter one query template into an applet.  Use the xacute query template.  In the transaction assign the output of the web services results to a transaction property of type xml making sure you select the "Output Parameter?" option.  These results will need to be in xMII format.  Then open the xacute query template and verify that the output parameter you created is selected as an Output on the transaction tab.

  • Executing BLS Transaction through Xacute query template?

    Hi Experts,
    Am having a SQL query template for which am passing value from web page after user input and i have added this SQL in my BLS transaction in illumSQL action block. I have created Xacute query template and display template(iGrid) for displaying output from transaction.
    Problem am facing is that am not able to execute my transaction after passing values to SQL query. How to get this working?
    Regards,
    Ravi Shankar

    Hi som sarkar,
    Let me explain my problem this way, let say am having SQL Fixed query and am doing some field selection based on the parameter which is been passed to the query template.
    -Checked the query template returning values, working good.
    created one Display template to display whatever been fetched by query template(iGrid).
    -Generated applet working good.
    Now if i pass the parameters from webpage to SQL query(parametes are mapped in query template) and update the grid, it should work right but its not...
    Thats what i was trying to ask you so far.
    Regards,
    Ravi Shankar

  • How to get query output in javascript

    i have a transaction with one output parameter.
    i have created an xacute query and referenced the transaction and its output parameter.
    now how do i get the value of that output parameter in a script in irpt file.
    i tried creating an applet.
    <APPLET NAME="executeApplet" CODEBASE="/XMII/Classes" CODE="iBrowser" ARCHIVE="illum8.zip" WIDTH="100" HEIGHT="100" MAYSCRIPT>
    <PARAM NAME = "QueryTemplate" VALUE="RH_DASHBOARD/Execute">
    </APPLET>
    i tried with this code in the script
    document.executeApplet.getQueryObject().getOutputParameter()
    but this gave  me the output parameter name not the value.
    i just need the value of the output parameter in the java script.

    Hi Rohit,
    Try using getBrowserObject().getSelectedItemAt(1).  Or you can use any of several other methods to get the value of your output.  If you are in 12.1 or greater, go to the workbench and open your webpage.  At the bottom of the window with the html and javascript, you will see an elipse of 5 dots.  Click and hold to drag that line up.  That will expose the script assistant when you can browse for the other methods available.
    Regards,
    Mike

  • Modifying the text "Result" and "Overall Result" in a BEx query output

    Hi,
    1) Is it possible to modify the text "Result", "Overall Result" which appears in the sub-total and grand total lines of BEx query output? I do not see any related setting the properties area of the object in BEx Query designer. Do I have to write some VB code or can I do something in Customer Exits?
    Also my client wants that this text need to be made dynamic such as "Sub-Total for the month of Jan 2006".
    I can use work book option and change the texts manually.But this is not meeting my clients requirement.
    2)Is it possible to have dynamic title text for a BEx query?
    We are on BW 3.5 & if any of you could provide / guidance to the above issue.
    Thanks,
    Venkatram

    You will have to use VB Macros to change the text "Result" and "Overall Result", there is not settings in the query designer for the same.
    You can have dynamic descriptions for queries using text variables like Expense Query for month of Jan 2006, if user selected Jan 2006.
    Thanks.

  • Dynamic Graphics in JDeveloper

    Does anyone know of a book or on-line tutorial that addresses building dynamic graphics in JDeveloper (I need to draw circles, rectangles, connecting lines, etc.).
    Each shape and its text are controlled by the results of a SQL query.
    I’m having trouble finding a single source (tutorial or example) of graphical drawing within JDeveloper on the Oracle technical web site.
    I would appreciate any input.
    Thanks.
    John

    I also wanted help on this especially in charts like gant charts for scheduling, like what Graphic builder used to do. Getting Data from the database

  • MII 12.1 Dynamic Graphics

    Hi,
    I am trying to create a simple SVG image in MII 12.1. Adding one Animation rendering Action with 3D Guage and an Image Saver Action.
    while executing , It is showing error as
    [ERROR] Target Animated Object Renderer is not valid
    [WARN] [Animation_Renderer_0] Skipping execution of output links due to action failure.
    [ERROR] ImageSaver: Encoded Image Length is 0
    [WARN] [Image_Saver_0] Skipping execution of output links due to action failure.
    And the same transaction whn tested in a different MII 12.1 Server it is working fine.
    Is there any other configuration to be done on the MII Server before accessing Dynamic Graphics.
    Kindly help
    Regards
    Muzammil

    Muzammil,
    looks that your Graphic is wrong. Copy the source from your other machine and place it on the same position.
    Try again and let us know the result.
    If I remember right, they fixed some issue with the Animation renderer action in SP4 of MII 12.1.
    RB
    Pedro Iglesias
    Edited by: Pedro Iglesias on Dec 7, 2009 12:53 PM

  • I only see the image outline sometimes instead of the "dynamic graphics preview"?

    I'm sure everyone who uses InDesign for any amount of time is aware of something I just recently found out is called the "dynamic graphics preview." [See Fig. 2, below]
    The dynamic graphics preview is the whole image you temporarily see when your trying to crop, or position an image within a frame. It's the part of the image that falls outside of the frame. The parts of the image that fall outside of the image are temporarily "seen" transparently (faded), to indicate that those areas are not within the viewable area of the frame. You usually see this when you are trying to crop the image with the direct selection tool, after you click and hold on the image for a few seconds with the direct selection tool. The temporary transparent preview goes away once you decide on the position and let go of the mouse click.
    So my issue is: when I click and hold, on certain images with the direct selection tool (white arrow) the dynamic graphics preview doesn't show up? All I see is the outline of the path of the image, with NO PREVIEW, or the outline of the shape (usually a rectangle), with NO PREVIEW.
    For instance there was this one situation at work (where I work on catalogs) where the same image was copied six times, in order to make swatches, and when I clicked and held on those particular images the dynamic graphics preview would show, but not on the other images, even though they're the same image!? Meaning, the same exact image file, just copied six times.
    So why can I see the temporary transparent preview for certain instances of the same image but not for others?
    Has anyone else ever experienced this?
    Again any answers are completely appreciated.
    Fig. 1
    Fig. 2

    Peter Spier wrote:
    The first question would be does it work if you try again and wait a bit longer before moving the mouse?
    Next, does it happen in more than this file?
    Does it continue to happen if you restart the computer?
    Does it happen if you use a ne user account?
    – Nope. Tried that.
    – It happens in other files as well. The situation is similar also, where one copy of the same file will show the dynamic graphic preview but the other copies will not.
    – Yes, even after restart, it persists. It occured again today in fact.
    – Yes. Even after I login in with a different account, I get the same issue. Others in my office have had the same issue. Can it be server related? Or permisions related? I don't see how that can be when it's the same exact file, and on one copy it works but on the others it doesn't.
    ..Makes no sense at all.
    By the way this is all happening on CS 5.5 - version 7.5.2 [Fig. 3].
    NOTE: The images above [Fig. 1-2] show CS 3 screen shots because they were made from my computer at home, which as far as I know don't have the same problem with the dynamic graphics preview (DGP). Those images are only there to help illustrate what the DGP is. All the issues with the DGP are occuring in CS 5.5.
    Fig. 3

  • Central Management server - executed a query but how to send the query output in the form of mail?

    Hi All,
    i have used CMS in SQL 2008 R2. i have added couple of servers in its group. i have executed a query & i need to send the query output in the form of email.
    basically query is checking the rows count from couple of user tables in servers.
    issue here is how to copy the data that is used by CMS? i need to work on automate the rows count in difft user table in db servers
    could you please suggest how can i achieve this?

    Copy to what?
    SELECT COUNT(*) FROM sys.objects
    Running the above statement returns two columns (server name and count)
    All the servers SS2005  and onwards , then use
    EXEC msdb.dbo.sp_send_dbmail 
         @profile_name = 'name', 
         @recipients = '[email protected]', 
         @query = 'SELECT COUNT(*) FROM sys.objects', 
         @subject = 'Count rows'
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Dynamic graphic in Mail forms

    Hi All,
    I have a mail form which has been created in transaction CRMD_EMAIL. I have been asked to enhance it with a dynamic graphic image.
    There will be uploaded 1 image pr customer in transaction SE78.
    And for each document I must find the corresponding image.
    In normal smartform I can choose between 'Fixed value' and 'Dynamic field value' for graphichs name. And I can see that it works when I create a global variabel eg. 'TESTNAME' and assign it the value '123456'. if I then enter &TESTNAME& as dynamic graphic name, and test print it works fine and prints graphical image 123456.
    But in with the mail forms in CRMD_EMAIL, this is not available. If I enter a variable the field disaperes and in test mode i get the error 'Graphic cannot be displayed' - This is identical to the error I get in smartforms if I enter a name that does not exist.
    Does anybody knows if this is possible to do in mail forms. Or if I can use the smartforms instead of the Mail forms when working with campaigns.
    Best regards
    Dennis Lybecker

    Hi Gregor,
    Thanks for your quick response.
    The document was ment to include a technical drawing regarding the specific installation for the customer/prospect.
    It looks like we are going to include this drawing in a different document, which should be created in smartform.
    If anybody come up with a way to do this - please let us all know.
    Best regards
    Dennis

  • ERROR displaying in the query output... urgetn

    hi experts,
    For the amount keyfigures in the query output it displaying ERROR after the amount like ex- 2000 ERROR.
    plz let me know how to rectify this..
    regards
    vadlamudi

    hi,
    i have created only two keyfigures EMP_BASIC and EMP_HRA. and in the transformations i have mapped with 0DOC_CURRCY.
    but in the report its showing ERROR only after the amount. plz tell me exactly with what field i need to map???
    regards
    vadlamudi

Maybe you are looking for