×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Adding\copying to the PDMWorks vault from outside the vault using API

Adding\copying to the PDMWorks vault from outside the vault using API

Adding\copying to the PDMWorks vault from outside the vault using API

(OP)
First off I've just started dabbling in SWX & PDM API, so please excuse my ignorance.  I need to change an existing macro that currently creates a file on a network path(a simple text file that we use for manufacturing).  I now need it to add this same file to our PDMWorks vault.  I can get it to add the file, but it shows up as a local file.  I need it to add it to the vault.  I tried using IEdmFolder5::CopyFile but that needs a folder ID for the source folder, but my source isn't in PDM.  I also tried IEdmFolder5::AddFile but the example in the API help only adds it to the root folder of the vault.  I'm not sure what direction to go here.  Any ideas?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources