HiI know the path of the document that is:\Enterprise\Pippo\Lillo.pdfI need a function to see if this file exist, I know the function IsNameUnique but it wants the parent node.Thank you in advance
The question is about oscript
Have a look at dapi.getnode().
You first need to get the node for Enterprise and then get the file by passing “Pippo:Lillo”. THis is also the reason why you can’t use ‘:’ in a name.
Hans
From: eLink Entry: Content Server Development Forum [mailto:development@elinkkc.opentext.com]Sent: Mittwoch, 21. September 2016 15:15To: eLink RecipientSubject: Check if a document exist
Check if a document exist
Posted by Menichelli, Fabrizio On 09/21/2016 09:08 AM
[To post a comment, use the normal reply function]
Forum:
Content Server Development Forum
Content Server:
Knowledge Center