Dynamic input fields for Doc Props in Batch Mode; Acrobat Pro 9
I'm using Acrobat Pro 9. I'm looking for a way for Acrobat to automatically fill/replace the Title and Subject fields of the document properties with the file name of the PDF it is processing during batch mode. Currently I have this step set to interactive and must type the name in for each file as it is processed. Is there a script I can use? A macro? Heck! A Hack? It would literally take weeks off of my monotonous work load as the file names are long and there are thousnds of them to be processed.
Thanks,
Photonogon
If you want the file name with the path, you could add the following JavaScript:
title = path;
subject = path;
If you just want the file name:
var filename = path.split("/").pop();
title = filename;
subject = filename;
Similar Messages
-
Hi...Experts am new in ABAP Webdynpro. Actually my application is Add Dynamic Input Field in webdynpro. Already One lable, one Input field is there and I add one more button. When I click that button Dynamically Adding same like existing lable and inputfield.Can anyone tel me how to resolve my problem.
Hi..Yugesh
U will try this,Definitly Ul get Answer.
For Dynamically creating Attribute
DATA : rootnode_info TYPE REF TO if_wd_context_node_info,
dyn_node_info TYPE REF TO if_wd_context_node_info,
dyn_node TYPE REF TO if_wd_context_node.
DATA : dyn_attr_info TYPE wdr_context_attribute_info.
dyn_attr_info-name = 'NAME'. Attribute Name
dyn_attr_info-DEFAULT_VALUE = 'Prakash'. +Iam Setting Default value of attribute,u can change as per ur requirement +
dyn_attr_info-type_name = 'ZDE_NAME' . Data Element(CHAR20) ( Type Of Attribute )
rootnode_info = wd_context->get_node_info( ).
CALL METHOD rootnode_info->add_attribute
EXPORTING
attribute_info = dyn_attr_info.
This will create a attribute at run time...
For Dynamically creating Input Field
DATA lr_container TYPE REF TO cl_wd_uielement_container.
DATA lr_input TYPE REF TO cl_wd_input_field.
DATA lr_table TYPE REF TO cl_wd_table.
DATA lo_nd_sflight TYPE REF TO if_wd_context_node.
DATA lr_button TYPE REF TO cl_wd_button.
DATA lr_grid_data TYPE REF TO cl_wd_grid_data.
DATA lr_flow_data TYPE REF TO cl_wd_flow_data.
DATA lr_matrix TYPE REF TO cl_wd_matrix_head_data.
+Note : Before that change the Layout of ROOTUIELEMENTCONTAINER to MATRIX LAYOUT +
navigate from <CONTEXT> to <SFLIGHT> via lead selection
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
CALL METHOD cl_wd_input_field=>new_input_field
EXPORTING
bind_value = 'NAME' + attribute which i created above+
id = 'INPUT1'
RECEIVING
control = lr_input.
lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_input ).
lr_input->set_layout_data( lr_matrix ).
CALL METHOD lr_container->add_child
EXPORTING
index = 1
the_child = lr_input.
ENDIF.
Code it in WDDOMODIFYVIEW... -
Looking for a Programmer to Create An Acrobat Pro "Embed" Plug In
Hello everyone,
I am Looking for a Programmer to Create An Acrobat Pro "Embed" Plug In.
The purpose of this is to be able to easily embed YouTube Video's within Acrobat documents so that It can stream the content into the PDF file.
Many have suggested to download the content and embed it, but doing so will violate the user agreement with YouTube plus it would increase the size of the PDF file considerably.
If there are any Programmers out there that would be interested in taking this project on please let me know. I believe there is a real need for this tool which people would really like to have.
The programming goals for the project would be as follows:
1. Take the Free YouTube API and create a plug in for Acrobat that would allow you to easily embed content into any PDF. The content must be PC & Mac Playable within the Latest Version Reader.*
2. The "Embed Plug-In" Would essentially allow you to just copy and past the embed codes from YouTube, Hulu, or any other web source that provides an "Embed Code" so that the content can easily be placed within the PDF. This embeded content could be videos, audio, playlist systems, ads, etc.. "anything with embed codes."
3. You would be able to select an area of the PDF for the placement, paste the code and then be able see a preview of the content, then be able to resize the content window. if it resizable like YouTube Files.
4. You need to be able to "Add" to the defined the "Trusted Source" from the Emebed Code information so that it does not require every instance of the content loading to require the user to select "Allow" each time it loads.
The Market for this is as follows:
- Web Based Magazine Creation, that turn into Flash Magazines that were created with Indesign, Acrobat then Flash. This process would easily allow anyone to create interactive content, with ads and multimedia. Anyone cab be interactive publisher with no need for Flash Programming Skills which is currently what is needed to achieve much of this process.
- Educational Institutions that want to create lesson materials with Web Content.
- Business's that wish to share media elements from the web within PDF presentations and Business Materials, such as training materials, Marketing Research, etc..
If you need examples of how this might be used please contact me to discuss it further.
I have a project that I am working on that needs this type of functionality and the deadline is approaching so I am seeking any and all help I can find to reach my goal. This Plug could also be a plug in to Indesign as well. Whatever it will take to reach the desired goal.
Thanks for your assistance.
Regards,
Robert
Robert Stewart
creativemind
New YorkI think this is what you need.
http://blogs.adobe.com/pdfdevjunkie/the_youtube_widget_for_acrobat.html
Hope it helps. -
F4 Help for a dynamic input field( class CL_DD_INPUT_ELEMENT)
Hi all,
I am programming a dynamic document which has several input fields on it. I want to program F4 helps for these fields, does anyone have an idea how I can do that?
I have the idea to program a button(class CL_DD_BUTTON_ELEMENT) next to the input field and manually program an F4 help in the event handler of the button. But I do not know how I can handle pattern entries with '*' etc. in the input field. Is there a function module which could give me an F4 list(F4IF_INT_TABLE_VALUE_REQUEST could not be used, because it needs a dynpro field as a return field, which we do not have in this case).
Kind Regards,
Sükrühi
good
SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE|TABLE node.
allows you to define further nodes for dynamic selections. If the node has type T, you can use TABLE instead of NODE. The user can then decide at runtime the components of the node for which he or she wants to enter selections. Dynamic selections require special handling in the database program
F4 HELP->
AT SELECTION SCREEN ON VALUE REQUEST FOR P_SACHA.
PERFORM VALUES_SACHA.
THANKS
MRUTYUN^ -
Bug v4.0 - no input field for file name in export dialog
Hello,
I run a query, right click in the result grid and choose "Export". There is no input field to provide a file name. I can only export to the default file.
Version 4.0.0.13 on XP
Edit: Seems to be an issue with the settings (maybe those migrated from 3.2.2). When I install without migrating settings I get the full dialog. I will try some combinations and update this post.
Edit: I installed again without migration my settings. When I set the preferences manually I cannot reproduce the bug. Maybe some bug in the import for the preferences? Maybe it only happens on German XPs.
Regards
MarcusThank you, 5p given.
However this is what I execute and in my file chooser dialog the filename field is still blank.
ExampleFileFilter filter = new ExampleFileFilter();
filter.addExtension("html");
filter.addExtension("csv");
JFileChooser chooser = new JFileChooser(new File("REPORT_ONE_"));
chooser.setDialogTitle( "Save Report" );
chooser.setFileSelectionMode(chooser.FILES_AND_DIRECTORIES);
chooser.setFileFilter(filter);
int returnVal = chooser.showSaveDialog(this);
...It is in try-catch, no errors are returned.
Operating System: WindowsXP
Java Version: 1.3.1 -
Dynamic table field for filtering a selection criteria
Hi Friends
I am using a table a981 and fetching data in internal table but the table has a fieil Country whose technical name is ALAND in dev and LAND1 in production.Now i cannot use LAND1 as it wont let me to activate the report and if i use ALAND i cannot move the request to production as it fails. So how can i achive dynamic table field in the select query based on server.My query is-
select kschl
wkreg
matnr
knumh
from a981 into corresponding fields of table it_a981
for all entries in it_marc where matnr = it_marc-matnr
and kschl in ('MWST','ZSER')
and aland = 'IN'
and datab le sy-datum
and datbi ge sy-datum.
I need to make aland dynamic.Pls suggestHi,
this forum is for the BusinessObjects Integration Kit for SAP but I don't see how you entry is related to it.
Ingo -
To find the input fields for the given technichal names .
Hi ,
This is for the transaction SU01.
I have some technichal names for some fields in this transaction,
CODVN
BCODE
GUIFLAG
LIC_TYPE
REF_USER.
I want to find out the input fields in this transaction which correspond to the respective technichal names mentioned above.
How should i do it?Hi,
Go to SU01 Tcode and press F1 on the fields you get the Pop-up and then click on the Technical Information...you can find the details of the fields,..... -
Create WDA Input field for currency amount ref to curr key
Hi Experts,
Could the UI elements in WDA input fields have a key reference? If that possible, how to do that?
For example: currency amount input field referenced to Curr key?or quantity ref to UoM field.
Regards,
Agnis Virtinova AvencyHello Agnis Virtinova Avency,
WDA uses ABAP dictionary structures for this kind of linking - define your amount and currency as part of a standard ABAP structure - then link the two fields in the structure as per normal ABAP data dictionary . Then use this structure to define your context node.
This is the same approach you should use if you have multiple fields that should input to or output from a DDIC search help.
This means that if you choose - for example CLP (Chilean Peso) as the currency, then the decimal places on the amount field are removed.
Hope this is what you were looking for.
Cheers,
Chris -
Creating Dynamic Text Field for Flash CS3 in Illustrator CS3
I've created a series of buttons in an illustration and made
them into movie clip symbols in Illustrator. I then created some
text fields for the button labels and assigned them as dynamic text
in the Flash Text panel in Illustrator.
When I import the illustration into Flash and test the movie,
I get this error message:
TypeError: Error #1034: Type Coercion failed: cannot convert
flash.text::TextField@d18cef9 to flash.display.MovieClip.
at
flash.display::Sprite/flash.display:Sprite::constructChildren()
at flash.display::Sprite$iinit()
at flash.display::MovieClip$iinit()
at menu2_fla::MainTimeline$iinit()
It seems like Flash is misinterpreting the text fields
brought in from Illustrator as Movie Clips?Download the TinkSpark source from http://code.google.com/p/tink/source/checkout and add the package to your project:
Then write the following code:
import ws.tink.core.Library;
import ws.tink.events.LibraryEvent;
import ws.tink.managers.LibraryManager;
private function loadLibrary():void
var library:Library = LibraryManager.libraryManager.createLibrary( "assetsLibrary" );
library.addEventListener( LibraryEvent.LOAD_COMPLETE, onAssetsLibraryLoadCompleteHandler, false, 0, true );
library.loadSWF("board.swf" ); //provide the path of board.swf, pls note board.swf is alos exported as AS3.0
private function onAssetsLibraryLoadCompleteHandler( event:LibraryEvent ):void
EventDispatcher( event.currentTarget ).removeEventListener( event.type, arguments.callee );
var library:Library = LibraryManager.libraryManager.getLibrary( "assetsLibrary" );
var AssetScore:Class = library.getDefinition( "Score" );
var score:* = new AssetScore() as Sprite;
score.scoreDisplay.text = "100";
addChild( score );
Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/ -
Web Services Test Page: No input fields for SOAP header parameters?
Hello,
we're using OracleAS / OC4J 10.1.3.1 and have developed a web service that has some self defined SOAP header parameters.
I would like to use the Web Services Test Page provided by the OAS but it seems that there is no opportunity
to provide input values for these SOAP header parameters.
Do I miss something there or is it not supported by OAS?
I've read the documentation but could not find a clue.
any help is appreciated,
Regards,
MartinI hear you. As you have probably heard, OC4J is being replaced by WebLogic Server and the 10.1.3.x releases are the last that will be produced. We'll do maintenance on it of course, but little/no new feature work. This would be a new feature we'd have to add, so I'm afraid there's not much chance in having it done.
It's not ideal, and of course more work for you, but if you want to provide your client with a test page that exposes the SOAP headers as form fields, you could always develop and ship one yourself.
-steve0 -
BPEL Console not showing input fields for process
I'm having a problem with our BPEL processes. When testing them in the BPEL Console the form for entering the input fields does not appear, even when switched to XML entry instead of HTML.
The problem seems to occur in processes which take their input schemas from a different directory from the BPEL process. This was working fine in Oracle 10.1.2. We can successfully load the schema by entering its URL, and if the process is started without entering any data, the input message is correctly generated, just with all fields empty. So it seems like the schema is being found.
When both the input and output schemas are specified inline in the project WSDL file, it works correctly. The problem occurs when referencing the schema in a different location. We have numerous projects which share common schemas, so specifying them all in-line is not a workable solution.
Has anyone else encountered this problem, or found a solution to it?
Thanks for your help.
HowardI have similar process where I am able to see the instance incomplete process C, the issue is with the present process.
actually process B and C are from production I have designed the new process A, which is calling B and B is calling C.
I have also designed other process A1(new) which is calling B1(existing) and B1 is calling C1(existing), there I am able to see the instance of C1
dont know why it is happening like this for process C
please advice
thanks
yatan -
SQ01 - Need an input field for query report as mandatory
Hi Guys
I have created a report using SQ03,SQ02 & SQ01. The report is running fine. But i want to make one of the input field as manadatory
Guys have any suggestion for the same
I tried in SQ02, a field named DBPAOBLIG
I got the above mentioned field when i clicked the extras tab in SQ02 - But the field is not in change mode
Please suggest me how to make the field as mandatory
Warm Regards
BalaHi,
Create a variant, when you run a query - make it to be run only with this variant (via definition in a transaction for this query). In variant, you can define required fields.
Regards,
Eli -
Interactive form -Dynamic input fields
Hi,
I am working with an interactive form.
After Userinputs a InputField1 it should populate Inputfield2 dynamically.
Lets Say if I enter a 01/01/2009 in input field1, second input field should be a week after date 01/07/2009.
How do we handle this ?
rgds
VaraHi,
Select the InputField1 and goto Script Editor and select the Event type: "Change" and Language as "FormCalc" and in editor write the below code:
InputField2.rawValue = Num2Date(IsoDate2Num($.rawValue)+7,"DD/MM/YYYY")
Based on your requirement change the display pattern of both the date fields in the object pallette.
Note: Make both the fields as Date/Time Fields and not TextFields.
Regards
Pradeep Goli -
Dynamic Input field creation - issue with bindValue in loop
Hello,
I am creating context node elements at runtime. My node looks like this -
LocalNode
Question
Answer
for(int i;i<wdContext.nodeLocalNode.size();i++)
wdContext.nodeLocalNode().setLeadSelection(i);
IWDTextView TV1 = (IWDTextView)view.createElement(IWDTextView.class,"TV"+i);
TV1.setText(wdContext.currentLocalNodeElement().getQuestion());
mainGrp.addChild(TV1);
IWDInputField IP1 = (IWDInputField)view.createElement(IWDInputField.class,"TE"+i);
IP1.bindValue("LocalNode.Answer");
IP1.setValue(wdContext..currentLocalNodeElement().getAnswer());
mainGrp.addChild(IP1);
Please note: Question column is the textView and Answer column is the input field
The output should be as follows-
Question Answer
Header None
How Many 7
Comments Maybe valid
Do you agree Yes
Although the text view displays correctly, the input field only shows the last record value and the output currently displays as follows-
Question Answer
Header Yes
How Many Yes
Comments Yes
Do you agree Yes
What am I doing wrong here?
How can I bind the corresponding values to the input field in a loop?
Regards,
NishaHi,
Could you please provide the code .
Regards,
Sunil. -
New Input fields for Sales Order Screen
Hi all
I have to modify the existing Sales Order Screen for transactions VA01, VA02 and VA03 using user exits. I have to add two input fields (of order quantity for tow different sales units CS and BT) in existing table control of Sales order and later I want to convert these UOMs to basic UOMs.
As its a screen exit part, I had done some R&D for the same. I had never faced such requirement in past.According to my knowledge "User exits are only to put additional information in existing SAP programs and not to modify main screens."
BADI is new to me but I still tried to search BADI for the same but didn't able to find it.
Basically I am not able to find Screen Exit for this.
Can anybody help me in this regard?
If you are suggesting BADI then please try to explain in detial.
Thanks in advance
AmolHi Amol,
VA01, VA02 are fine. Since VA03 is display, you cannot edit the fields you add.
To add fields to this display you need to edit the following screens :
Program : SAPMV45A
Screen : 8309
It is the Additional Data B tab provided by SAP to add custom fields .
You may need an access key to edit this screen.
Putting your fields there and running VA01/02 will solve half your problem.
The second half is how to capture the data entered in those fields to the database.
In order to capture the data from these custom fields you can use
the user exit
MV45AFZZ
USEREXIT_SAVE_DOCUMENT_PREPARE
USEREXIT_SAVE_DOCUMENT depening on what you want to do.
Hope this helps.
Maybe you are looking for
-
Questions on sounds and speakers..
Question1 What do the sound choices in system preferences do vs The sound choices in Audio Midi Setup, Audio devices tab? Question 2 When ever there is an external speaker source (i.e. docked in windows speak), i always want it to automatically use t
-
Hi, As the need arises, we are either increasing or decreasing our PO ordered quantity and unit price. However, we have noted that decrease in ordered quantity or unit price are not subject for release again while the increase is. Where can we do tha
-
I have created 2 PDF forms in LiveCycle ES. When I try to combine the 2 PDFs in Acrobat Pro 9 (File > Combine > Merge Files into a Single PDF) I get an error message that Adobe XML forms cannot be merged. How can I combine the 2 forms into a singl
-
my iphone 5 wont charge or turn on after updating the software all it will do is flash the little white apple sign every 5 secounds or so any ideas
-
I would like to require a textarea field be filled in before the form can be submitted. I've tried utilizing DreamWeaver's validate form behaviors, but it doesn't seem to work on the textarea field. Is there a way to do this using DreamWeaver's built