cancel
Showing results for 
Search instead for 
Did you mean: 

SVG example

Former Member
0 Kudos

Hi

anyone has any example of html / irpt code how I could view the SVG object.

1. I have SVG dynamic object

2. I have a simple transaction for it

3. How do I see it in my webpage??

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The transaction runner solved!!!!

jamie_cawley
Advisor
Advisor
0 Kudos

Most people just save it as an image and link a web page to it. If you really wanted to see the svg on a web page you would have to install a svg viewer.

Jamie

Former Member
0 Kudos

hmm I thought it should be dynamic, meaning the svg object will be update with expected value dynamically.

For example I want to see a tempreature change of an equipment which can trigger in a second...minute and so on. This change should represent in svg object, does it means I need to have 100 jpg/png files (tempretaure range 1C to 100 C)?

Edited by: Seng Kiang Hoe on Sep 23, 2010 3:04 PM

jamie_cawley
Advisor
Advisor
0 Kudos

It is dynamic, whatever value you past into the svg the saved image will show. I would just overwrite the image with the newly generated one.

Jamie

Former Member
0 Kudos

Jamie how will you do it?

I have in sequence Animation Renderer block (with my svg object configured) then the second sequence the Image Server

However I could not find my image

sidnooradarsh
Contributor
0 Kudos

Hello,

Check this blog by Abesh [Getting Started with Dynamic Graphics|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5952] [original link is broken] [original link is broken] [original link is broken]; this blog is on 11.5 but still you can leverage with MII 12.x versions.

Hope this helps!!

Regards,

Adarsh

Former Member
0 Kudos

Many thanks

I want to do it different way, I want to call the Runner service directly in the html. I have created the transaction and save the png file.

http://chsemsapd201:51000/XMII/Runner?Transaction=Demo_Graphic/test&Outputparameter=OutputImage&Cont...; name="test

1. The transaction is being called and the image was created but I do not see my image in the web. Does above

2. Does anyone know where in the help file I could find the usage of Runner ???? I search it but could not find it.

I also tried this way

1. Created a BLS to save new immage - succesfull (isee the file)

2. Created a Xcute for this BLS - succssfull

3. in HTML

	<APPLET NAME="test" WIDTH="1" HEIGHT="1" CODE="iCommand" CODEBASE="/Illuminator/Classes" ARCHIVE="illum8.zip" MAYSCRIPT>
		<PARAM NAME="QueryTemplate" VALUE="Demo_Graphic/xcute">
	</APPLET>
	<img src="/XMII/CM/Demo_Graphic/test.png" >

4. I see the picture but it does not update the status. (it was old picture). But If I see the picture directly in Workbench it has the new value

any idea?

Edited by: Seng Kiang Hoe on Sep 24, 2010 11:03 AM