Skip to main content
Known Participant
May 23, 2017
Question

How call multiple pdf's

  • May 23, 2017
  • 1 reply
  • 1197 views

Hi,

I have a variable called ODoc which is the current pdf and calls a global function which places a label on it based on input into a dialogue (code not shown):

var oDoc = event.target;  

        global.DoPlaceDocNumbers(oDoc)

However, I would like it to call all the pdf's in the batch so the labels can be applied all at the same time.

I have posted this question before and received an answer about calling all the pdf's at once and then performing the action.  I have been researching this to see if there is an "event.all" (or something similar) which I did not see and then tried using a for loop to accomplish this but have not been successful:

var oDoc = event.target;

for (var i=0; i<oDoc; i++)

global.DoPlaceDocNumbers(oDoc)

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
May 23, 2017

Want you place the labels on all open documents?

suemo22Author
Known Participant
May 23, 2017

All the documents would not be open.  They would have been selected as a part of the batch record selection of the action wizard. Only the 1st document would be opened to initiate the action wizard.

Selection of Documents:

Action Wizard Steps:

Bernd Alheit
Community Expert
Community Expert
May 23, 2017

In the Action Wizard you can use:

global.DoPlaceDocNumbers(this),