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

Javascript code disappears after activating the form

Former Member
0 Likes
4,904

Not sure what's wong, but as soon as I activate the form all the javascript disappears. It still works when the form is executed and displayed, all events work fine. But when I go back in livecycle designer to see the code, there is just no code at all. I have shutdown SAP GUI, my computer, restarted everything but cannot get around this problem.

Any ideas? google didn't return anything as well.

View Entire Topic
Former Member
0 Likes

Hi *,

If the Javascript is working and does not appear in Script Pallet, select the element (e.g textbox) and go to XML tab.

There, you will see that Javascript exists and so you don't need to write it again and again.

This problem occurs in older version of LiveCycle.

Thank You.

Chandler Bing

Harsh9
Participant
0 Likes


Hello Chandler,

Since past week, I have been bugged up with this issue. Every time I write javascript code on click event of checkbox, it disappears after I save it. It works fine and can be seen in XML source. But how do I restore things to normal?

I am using SAP GUI 7.30 and Adobe LiveCycle Designer 9.0.

Your help will be highly appreciated.

Regards,

Harsh

Former Member
0 Likes

Hi Harsh,

unfortunately I cannot tell you how to solve the issue, but maybe I still can help somewhat. In my case re-Installation of LifeCycle Designer and SAP GUI did not help. I then just gave up trying to solve it and used another pc. On the other PC (with same Version of LifeCycle Designer and SAP-GUI) I could see all the Java scrip again and it was ok for me to use another machine because I normally do not have to work with Adobe Forms. Maybe this gives you a hint to solve the issue.

KR

Felix

Harsh9
Participant
0 Likes

Hi Felix,

Thanks for your reply.

I tried doing what you recommended. I tried accessing the ADOBE FORM from another PC with my login credentials but that didn't result in JavaScript being visible. What other option do I have?

Regards,

Harsh

Former Member
0 Likes

Hi Harsh,

Sorry for late reply.

I found 2 ways to solve this problem.

1. Update to the latest LiveCycle designer. (The most efficient and nest approach to do). You can download it from SAP Service Market. This may help you.

This should be the latest version.

ADOBE LiveCycle Designer ES3 - Version 10.4.0 (I am using this one)

2. Copy Adobe Form (old) to new Form (Temp Form in SFP). Check the new form. It should not have the problem. And delete the old one. Recopy it to the old one. (I had to do this 2-3 times. It is tedious. but solved the problem.)

Hope this would help you.

Regards.

Chandler Bing.

Harsh9
Participant
0 Likes

Hello Chandler,

For this instance, I replicated the form again.

I have been trying to figure out which latest version of Adobe LiveCycle Designer is compatible with SAP EhP6. Could you please help me with that?

Regards,

Harsh

SandySingh
Active Contributor
0 Likes

Hello

Please note that there is a specific ADLC version compatible with SAP GUI version.

ALD9.8 is compatible with SAP GUI Server Release 7.20, according to the SAP note:1658830

Refer to SAP note 962763 for more details.

Hope it helps

Regards

Sandy

Former Member
0 Likes

Hi Harsh,

Sandy is right.

You got to choose Adobe LiveCycle based on SAP GUI version, OS and DB.

You can download the Adobe LiveCycle Designer installer from SAP Service  Marketplace:

http://service.sap.com/installations

Entry by Application Group  -> SAP NetWeaver  -> SAP NETWEAVER  -> SAP NETWEAVER (your version)  -> installation and Upgrade  -> <Choose any OS and DB combination.>  -> Adobe LiveCycle Designer 10.

Thank you.

Chandler Bing

Harsh9
Participant
0 Likes

Hello,

You guys have been very helpful. Moreover, ALD 10.4 is possible to install in my system so I will go ahead for that.

On the other note, is it possible to clean the XML source of Adobe Form? By clean, I mean, removing all the erroneous things.

Regards,

Harsh