Unable to invoke CAPI using javascript from WebInterface second screen

175 views
Skip to first unread message

vishal.a...@lafarge.com

unread,
Nov 4, 2014, 6:23:24 AM11/4/14
to suppor...@runmyprocess.com
Hi,

I have a WebInterface having several screens in it.
I am calling a CAPI from WebInterface on all of my screens.

I have button which is configured to execute script. i have attached script used to invoke CAPI.

CAPI gets invoked properly from first screen but refuses to open from second screen.

id_capi___generate_pdf : ID for CAPI , as defined in API listener screen.

On Debugging, error says,

Tue Nov 04 16:46:01 GMT+530 2014 com.runmyprocess.applicationrunner
SEVERE: class com.google.gwt.core.client.JavaScriptException:(ReferenceError) : id_capi___generate_pdf is not defined
at Unknown.eval(@-1:-1)
at Unknown.eval(@-1:-1)
at Unknown.f5c(1.js@28:-1)
at Unknown.g5c(1.js@212:-1)
at Unknown.pXb(1.js@73:-1)
at Unknown.NUc(1.js@190892:-1)
at Unknown.Aw(0.js@9757:-1)
at Unknown.Uz(0.js@188:-1)
at Unknown.Jz(0.js@63:-1)
at Unknown.vj(0.js@30:-1)


Please help.

Vishal Anand

1.JPG

Mariem Mouakhar

unread,
Nov 4, 2014, 7:50:53 AM11/4/14
to suppor...@runmyprocess.com
Hi,

You have to check available in the API listener for all the screen in witch you want to call the CAPI.
  
Inline image 1

Beast regards,

--
Mariem Mouakhar,
Customer Solution Engineer

Vishal Anand

unread,
Nov 4, 2014, 8:06:52 AM11/4/14
to suppor...@runmyprocess.com
Thanks Mariem !!!
 
It worked.

Warm Regards,
Vishal Anand

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to a topic in the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/SynvsTjcKII/unsubscribe.
To unsubscribe from this group and all its topics, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/CAHNMUKS-F2e23qYtjW%2BhWtOduM_eMqKcRNXvpdMkid7-yRTUHQ%40mail.gmail.com.

"This e-mail is confidential and may contain legally privileged information.
If you are not the intended recipient, you should not copy, distribute, disclose or use the information it contains.
Please e-mail the sender immediately and delete this message from your system.
E-mails are susceptible to corruption, interception and unauthorised amendment; we do not accept liability for any such changes, or for their consequences.
You should be aware, that the company  may monitor your emails and their content."

Reply all
Reply to author
Forward
0 new messages