Hello,
We are in the process of migrating from CS 10.0 to CS 16 and the domain in our application URL is changing.
We have a lot of PDF documents all over in different folders and these PDFs have links (absolute URLs) in them that point to other documents within our CS 16 application.
We now have a need to update the links in those PDF documents to use the new domain in the URL.
I need to write a C# script to :
1) find all such PDF documents in our application
2) Loop through them, use their Object IDs & Download each
3) Find an replace the URL in them with the new one (probably I guess create a new PDF)
4) Upload it back to CS as the new version
So experts, how do I accomplish this? I found CWS Code Samples that show how I can Authenticate, Download & Upload documents. But nothing that shows how I can perform a search (I need to search all documents of type PDF).
Any pointers will be appreciated.