cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SVG Image

Former Member
0 Likes
490

Hello ererybody

I´am new in this forum and i started working with XMII since 2 Months.

1)This is my applet:




the JS i used show an error when i try to retrieved the Object Properties

Code :

value = document.applet_name.getQueryObject().getValue(1,1); or

value = document.applet_name.getCommandObject().getValue(1,1);

Note: OBJECT =document.applet_name.getCommandObject() or document.applet_name.getQueryObject is OK

2)for my Diplom Thesis where can i get Informations about the Background

Prossess of XMII (Exemple :Prossess for Templates ,B.Logik,.......) or any other helpful Informations for this purpose

Thanks 4 u´r Help

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

Hi Emile,

You need to use document.applet_name.getValue() because, after you query execution applet will hold the values as object. In the case of document.applet_name.getQueryObject().<object method>() (or) document.applet_name.getCommandObject().<object method>() you can only access the input values you entered in the query and display templates while creating them.

I hope this will help to give idea why there is no QueryObject or CommandObject

Thanks,

Rajesh

Former Member
0 Likes

Hello Madala

your thread was very helpfull.It works

Thanks

Emile.

Former Member
0 Likes

Emile,

You mentioned

"Code : value = document.applet_name.getQueryObject().getValue(1,1); or

value = document.applet_name.getCommandObject().getValue(1,1);"

There is no "getValue(x,y)" method for either the getQueryObject() or the getCommandObject(). Please see the SAP xMII Standalone Script Assistance or the help documentation for available methods for an iCommand query. You will probably want to try document.applet_name.getValue(1,1).

Former Member
abesh
Contributor
0 Likes

Oops, bang on Ryan,

How could i slip up ? Emile, As Ryan mentions, there's no <b>getValue(x,y)</b> method for the <b>QueryObject</b> or the <b>CommandObject</b>. But there's one for the <b>iCommand</b>.

<b>document.iCommand.getValue(x,y)</b> should work fine !

Please disregard my previous post !

Former Member
0 Likes

Hi Bhattacharjee

Yes of course .I was very confuse reason why i send her the link.I still be a beginner but the are some thinks i can read and understand.

I read the thread from ELTOPO about SVG animation and i think it maybe the best solution so i would not need to rename my files.

ELTOPO said :

Did u know where i can download a demo version of XMII?

Best Regards

Emile

abesh
Contributor
0 Likes

I do not think there is demo version of xMII available for download.

abesh
Contributor
0 Likes

Are you trying to access the page by just it's URL, like :

http://<server>/<path to your file>/filename.html ????

What is the javascript error you are getting ? To see that double click on the error icon on the left-down corner of internet explorer.

If it's something like "java.lang.NullPointerException" or something like that, you have 2 methods to go about this :

1) Access the page as :

http://<b><server>:<port></b>/LHSecurity/login?username=<b><yourusername></b>&password=<b><youruserp... to your file>/filename.html</b>

2) Change the extension of your html file to <b>.irpt</b> and access it as :

http://<server>/<path to your file>/filename<b>.irpt</b>

Tell me whether it works !

Former Member
0 Likes

Thanks for u´r response

This is the error: document.appletName is Null or not and Object

.My html is located in ....InetpubwwwrootProject_directorymyfile.html

and the url i use to access is http://server/Lighthammer/Illuminator?service=Personalization&ticket=ST-597-Y1P0GfukXCFNaXQgH1T1&sni...

The problem is ,i have many other applets as iGrid ,itiker and so on working properly on that page

should i still changing the access method to my file?

abesh
Contributor
0 Likes

Shortest way to sort things, <b>use method 2 mentioned above</b>. IRPT files are xMII Report files. Change the extension of your files to <b>.irpt</b> and try ?

Both the methods mentioned above should solve your problem

For xMII related tips and tricks please refer to my blog :

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/251690412">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/251690412</a>