Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Livecycle without Scripting

Avatar

Level 3

Hello,

is it possible, to what javascript oder formCalc (do a if condition) whitout write some code?

and second which consequences (security) can have the scripting on a pdf .

thanks for your suggestions

Arthur

9 Replies

Avatar

Level 10

Hi Arthur,

You question is not very clear, can you give an example of what you mean.  I assume it is not just using the action builder? and can you expand on the security consequences, has there been any reported?

Regards

Bruce

Avatar

Level 3

Hi Bruce,

i want to build a dynamically template with data from differents xml-file. For exemple , wenn i have a xml-file looks like:

<RootNode>

     <EntryNode>

          <ColumnA>Some Value A</ColumnA>

          <ColumnB>Some Value B</ColumnB>

     </EntryNode>

<EntryNode>

          <ColumnC>Some Value C</ColumnC>

          <ColumnD>Some Value D</ColumnD>

     </EntryNode>

<EntryNode>

          <ColumnE>Some Value E</ColumnE>

          <ColumnF>Some Value F</ColumnF>

     </EntryNode>

</RootNode>

The first page gona be a Table of content with link on every EntryNode and when you clic on them , it you on the top of the page of the link that you clicked.

every Column have to start on a new page.

I did it with Javascript script.

but now my Problem is the security of the pdf from this template.

I don't want to have any javascript code on the client side.

regards

Arthur

Avatar

Level 10

Hi Arthur,

I don't believe this is possible without some code, but I am also not aware of any security concerns this code would cause.

Regards

Bruce

Avatar

Level 3

Hey Bruce,

thank you alot for your answer

regards

Arthur

Avatar

Level 3

but do you know the difference between runAt server and runAt client und wich event walk with those execute-mode

regards

Arthur

Avatar

Level 10

Hi Arthur,

I guess you mean "which events work"?  If you are developing a form that executes on the server, like in a print run, or maybe a flattened receipt for a form submission then any code you flag as run at server will be executed.  I would assume the interactive events would not "work".  Are you using any LiveCycle server products like Output?

Avatar

Level 3

Hi Bruce,

i am using the preview tab to see my result.

regards

Arthur

Avatar

Level 10

Hi Arthur,

In that case you only need to worry about the run at client scripts, the run at server scripts are not applicable to viewing a form in the preview tab, which is the same as viewing them in Reader.

Regards

Bruce