Yes, this is possible, under certain circumstances. But this is not a trivial script and I wouldn't expect someone to write it for you.
This issue has been discussed on these forums many times, including with code examples. For example, this thread from just a couple of hours ago: http://forums.adobe.com/thread/1321428?tstart=0
The main issue would be reading the data from an external file. If this data is not something that changes frequently it would be much easier to embed it in the PDF file itself as a data model than try to read it from an external source.
i dont believe i asked anyone to exactly write it for me but thank you for that.
and i did happen to read that forum, along with MANY others, and they do not conclude the issues that im having. the data that im using DOES change frequently. hence why im having the problem.
Sorry if I misunderstood your request. The thing about this kind of script is it depends on many variables:
- What application is used to view the files?
- Can you install a local script on the computers of the users?
- Is the location of the CSV file known in advance?
- Should the script work "silently", or should it prompt the user to select the CSV file each time the file is opened?
All of this means that it has to be custom written to your specific needs. There isn't a one-solution-fits-all for this situation...
ok well, let me answer these questions then.
- the adobe reader is used to view.
- no i cant install a local script
- yes it is, but i'd prefer to attach it to the PDF itself
- and yes, it should work silently.
i do understand there isnt one solution for all, ive just gone through alot of forums already, and try to simplify at first. sorry!
Then you can only do it if the file is attached to the PDF file, which is not very handy if it changes frequently...
well unfortunately for my purposes thats what i would need..Do you happen to have any suggestions on ways I could achieve the result im looking for? for something that changes frequently
You don't have any options, except releasing a new file each time the data updates, I'm afraid.
do you mean attaching a new csv each time, or completely recreating the file?
because, reattaching a new csv each time actually wouldnt be a problem..
Well, assuming the file name and structure remain the same you won't have to change the actual PDF file or script.
However, how are you going to enforce people use the new file, and not an old copy?
Well, we already have to republish these frequently and the employees are used to this, but we would like to take out the process of manually updating all of the price fields
OK. Well, the thread I linked to at the beginning explains how to read data
from a plain-text file which is attached to the main PDF. From there you
need to convert it a kind of data model and write a script that will
populate the fields in question based on that data model.
yes i have read it, basically i need help with that bit you just explained.. im not sure how to convert it into a data model and go about writing that script