Hi All,
What's the best way to include custom files in a ViewApp object and make sure it is available for use from all workstations? I have an XML file I need to access on each workstation. Is this possible?
Regards,
Rooz.
Hi All,
What's the best way to include custom files in a ViewApp object and make sure it is available for use from all workstations? I have an XML file I need to access on each workstation. Is this possible?
Regards,
Rooz.
You can use OMI Fileviewer App and make that folder accesible from all workstations
Hi Rooz, I'm guessing that what you are looking for is a way to include custom files in your deploy, to be able to dynamically reference them in script or animations?
Equivalent of putting a file in the InTouch application directory and thus having it distributed with the deploy of the application to a client.
And enabling dynamic reference in s script such as InfoInTouchAppDir()+"\MyCustomFile.xml";
I'm not aware of a method for doing the same in OMI, and the solution might be to use another mechanism of distributing the files.
Perhaps some script logic on the Platform could ensure filecopy for you.
As RAINER CARLTON DSOUZA mention, using a network file share might be one solution, but then you are dependent of the availability of that node sharing the folder, but if you do not have network access you might have other issues as well.
InfoInTouchAppDir() does not seem to work in OMI Scripting (it only returns a "." )
Perhaps someone else knows a solution for this to have it part of the package in a deploy of OMI.
One method you can use is to create an Object with the Application Object Toolkit and include the Files as a part of the deployment package of the object. Then assign an instance of this object to platform/Appengine/Area to get a copy of this file on each plaform.