cancel
Showing results for 
Search instead for 
Did you mean: 

Pdf form modification

NAeda
Contributor
0 Kudos

Hi all,

I have to modify the form HAP_PDF_OFFLINE_FORM according to the note 1372480.

I am unable to get the exact modification where i have to do..?

Note says:

Double-click the element "BODY -> T_ELEMENTS -> DATA".
In the scripting for the field, delete the line "$.minH = "0in"".

Actually in which point i have to modify, I am new to PDF forms.!.

Kindly suggest.

Rgds

Aeda

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

-> First open the mentioned form in 'SFP' transaction and go to 'layout' tab.

-> Go to 'pallets' toolbar item and select 'Hierarchy'

-> there select the path 'BODY->T_ELEMENTS->DATA' .These 3 one below the one exist as tree.Finally select the 'DATA'.

-> Again go to 'PALLETS' and select the script editor

-> in script editor select the event 'Events with Scripts' and enlarge the editor.

-> there you will find the note mentiod line and go what ever reguirement

Please close the thread if it is solved.

Thanks,

Suma.

NAeda
Contributor
0 Kudos

Thnks to all,

See i am able to open the layout, i could see the T_ELEMENTS -> DATA".

but I could not fine the line specified in the note.

line "$.minH = "0in"".

Kindly help.

Suma- I could not find

in script editor select the event 'Events with Scripts' and enlarge the editor.

Rgds

Aeda

Edited by: Aeda N on Nov 26, 2009 5:59 PM

Sandra_Rossi
Active Contributor
0 Kudos

It is located in the "script" window (you display it by activating the "script" pallet as explained above)

I can see this code (7.0 sp13):


if ($.parent.parent.parent.OUTPUT_MODE.rawValue == null) then
  $.ui.use = "#text"
  $.access = "readOnly"
  $.ui.#textEdit.border.presence = "hidden"
  $.minH = "0in"
endif

NAeda
Contributor
0 Kudos

Hi Sandra,

First tell me, how to go the event script with events..?

Tell me the exact path.

rgds

AEda

NAeda
Contributor
0 Kudos

Thanks to all,

Rgds

Aeda

Former Member
0 Kudos

Hi Aeda,

I am trying to do the same change per SAP Note 1372480, in the form HAP_PDF_OFFLINE_FORM.

But even after deleting the line, saving and activating, this line that I deleted is appearing again in the form.

Did you have any such issue? If you have done the change successfully, can you please let me know how you did it?

Regards,

Saleem

NAeda
Contributor
0 Kudos

Hi Saleem,

In the Scripting, Ofter the events there is Symbol saying Enter Script Source Changes. Ofter deleting the line click on this button and activate the form,

Rgds

Aeda

Former Member
0 Kudos

Also, when you open up the Script Editor (per the above instructions), you have to enlarge the script editor window.

There you will see Events with scripts and the line per note 1372480

Former Member
0 Kudos

I'm having the same problem as Saleem

I open the script editor (after click on DATA), delete $.minH="0in", hit the green + symbol, save it, activate it (tried both in original and logon language), and still this code re-appears...

Any other suggestions?

Former Member
0 Kudos

UPDATE: I had to change the form(as well as activate it) in the original language instead of the logon language. When I did this, the line that was ommitted per note 1372480 remained deleted from the script.

The form looks much better now.

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor
0 Kudos

Go to the "layout" tab (Make sure you have installed Adobe Livecycle Designer otherwise you can't access this tab!)

Display the "hierarchy" and the "script" palettes.

In the hierarchy, click the element "BODY -> T_ELEMENTS -> DATA".

In the script window, you will see the code of "initialize" event (for "formcalc" language and "server" execution)