Nav view search

Navigation

Search

Knowledge Base

Technical tips, helpful recommendations, pointers and fixes.

Back

Using OpenURI to Open a Job Folder Created by the Folder Helper Solution

2009-06-04

Bookmark and Share Share

This article provides an example for automatically opening a folder that has just been created using the Folder Helper solution.

INFORMATION

The MetaCommunications Folder Helper solution provides users with the ability to automatically create Job Folders on the production file server via MetaScript. The enhancement to the solution MetaScript below adds the OpenURI functionality that will open the resulting folder

function CreateJobFolder() 
var result = fh_form.create_folder("\\\\servername\\ShareName"
"username"
"password"
"2007 Jobs\\" + Field( 'Job Number' ) + " " + Field( 'Job Name' ), ["Folder1""Folder2""Folder3"]); 
if (result) 
alert( "Job folder has been created." ); 
else 
alert(result); 
OpenURI("\\\\servername\\sharename\\2007 Jobs\\"+ Field( 'Job Number' ) + " " + Field( 'Job Name' ) ); 
}