File Utilities Service cannot be used to search document within Adobe Repository.
Use Read Resource Content acitivity and check for NULL or Empty document. Thats the way you do it..
Thanks for the response.
Trouble is when I use Read Resource Content and the document is invalid the process throws an exception instead of continuing along to the next activity. eg. /Applications/RenderPortfolio/1.0/Assets/Energy_05.pdf
(I've given an incorrect file name, it throws the exception as the file does not exist).
How can force the process to continue past Read Resource Content and instead of throwing an exception return NULL or Empty to my variable?
I'm guessing you do this via an xpath expression, have you got an example of how you implement it?
Yes, I found that the Exception is not catched by this activity. You can't use the OOB Repository Service.
Here is an alternate way:
You can directly invoke the Repository Service using SOAP (using Web Service activity).
The SOAP URL is http://YOUR_SERVER_NAME:8080/soap/services/RepositoryService?wsdl
There is an operation named resourcesExist
By passing the Resource URI to this web service you can make sure if its exists in the repository or not.
It return either true or false.
Hope that helps,
I have not invoked a SOAP web service from directly within a LiveCycle Process before.
Thus far I have added the Foundation > WebService > Invoke Web Service Activity to my process.
Web Service Options: ???
Web Service Response (variable): blnDocumentExists
What should be inserted into the Web Service Options to correctly invoke the service and pass the file path?
Should the file path still be passed in the same format? ie. /Applications/RenderPortfolio/1.0/Assets/Energy_0511.pdf
Thanks again for the assistance.
Can anyone else provide assistance.
Still very stuck.