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

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

Recommended Posts

Posted

Hello, 

I am not sure what I am doing wrong but I am trying to take a layout and save it as a PDF to a container field on the same layout. 

I keep getting this error that the "file cannot be found".  If you wouldn't mind taking a look at the structure of the script and letting me know if you see anything wrong?  

Thank you in advance. 

Chris.

 

  1749916521_ScreenShot2019-04-30at5_11_13PM.png.be1304ff6863a141e59b79527958e220.png

 

1927730912_ScreenShot2019-04-30at5_11_47PM.png.929082c8de2b7b1bcc63f54e0c0485b9.png

Posted

Could it be a simple typo or extra characters?

You have:  "Application.pdf\""

Maybe you just need "Application.pdf"

Posted

Your primary key is "contactUnitCalc" - that worries me. It's better to have primary keys simply ID, which is auto-entered to Get (UUID), a meaningless, unique string.

You do not need Show All records before a Find. It'll always search all records.

ContactswPDF.fmp12You are not specifying a directory, such as Get ( DesktopPath) or Get (TemporaryPath).

You do not need the \ after the ".pdf"

line 9 has quotes around the $var

here's a demo file using one of the starter solutions.

  • Like 1

This topic is 2034 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.