Start a new topic
Solved

Open-Document fails in powerVault 18.0 ISE

Hi,


I am using the special powerVault ISE when developing my CO jobs.


I cannot seem to get Open-Document to work in the ISE.  Works fine in scripts running on same machine called by powerJobs processor.

 

PS C:\Program Files\coolOrange\Modules\powerVault\Tools> $doc = Open-Document -LocalFile "c:\temp\P142110.ipt" -Application "Inventor" -Options @{'Project'='C:\VAULT WORKSPACE\MYWRK\PROJECTS\myproj.ipj';'FastOpen'=$false}

PS C:\Program Files\coolOrange\Modules\powerVault\Tools> $doc.ErrorMessage
Application 'Inventor' is not supported!

 The Commands list show that both powerJobs and powerVault modules are loaded. Other commands like Get-VaultFile and Get-VaultFileBom work fine.

1 Comment

Ran<F5> Setup_Jobs.ps1.  That registered the application.

See more here: https://www.coolorange.com/wiki/doku.php?id=powerjobs:jobprocessor:code_reference:objects:powerjobs:applications

Login or Signup to post a comment