Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Export Remote Container PDF

Featured Replies

Windows Server

Windows Workstations

 

I have searched the RC topics but could not find an answer.

 

We are trying to convert one of our DB's over to FM13 to be hosted on our FMS13 using Remote Containers.

 

In our previous version FM11 we had an export script that would set a variable and put the PDF on the users C: drive then open it (below is the script step which I typed in manually):

 

SetVariable [$_document_temp; Value;"filewin:/c:/ShcoolReport/" & " " & GetAsText(Reports::Student_Report)]

Export Field Contents [Reports::Sudent_Report; "$_document_temp"; Automatically open]

 

On Windows, this would take the PDF in the container on the FMS11 (Student_Report) place it in a folder on the users computer C: drive called SchoolReport, and then open it.

 

Now with FM13 and remote containers, when we run the script we get a message that states:

 

The file "?" could not be opened. (Not Found)

 

I assume that we need to add the Remote Container Path somewhere in the script, but we do not know where to get the path or where to insert it.

 

Thanks,

 

Michelle

That's because the GetAsText now returns a bunch more than just the name.

 

Check out the brand new GetContainerAttribute( <your container field> ; "filename" )

  • Author

Well that was easy!

 

I have spent the last two hours searching and you fixed it in a few seconds. I should have started here.

 

Thank you again for your help, the staff will be happy that they can open their reports.

 

Michelle

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.