Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Export to a folder on a flash drive with a runtime?


This topic is 5351 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Short and sweet: How do I script an export of records to a folder residing on a flash drive (using a runtime solution which will reside on the flash drive)? I just can't figure out how to set the path in the Export script step since the flash drive's drive letter will be different for every user. Me thinks I may need a plug-in, but I'm not sure.

I'd also like to code it so the script will work on a Mac and PC.

TIA in advance for your help!

Posted (edited)

Use a relative path starting with "file:" to locate a folder relative to the runtime's database file.

Or use Get(FilePath) and parse it with a calculation (along with Get(SystemPlatform)) to get something you can make into an absolute path specific to the platform.

Edited by Guest

This topic is 5351 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.