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

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

Recommended Posts

Posted

When saving a record layout as a PDF I would like to specify the file name of the PDF produced.

I would like to use a field from the record as the name so that the invoice produced has the name which corresponds to the contents of a field. that way I don't need to name each file as it is saved.

Is this possible ?

Posted

Still posible, a writeout of the scripting:


Set Variable [ $where; Value:Get ( DesktopPath ) &  "/myName.pdf" ] 

Save Records as PDF [ File Name: “$where”; Automatically open; Current record ] 

[ Document -  Compatibility: Acrobat 5 and later ] 

[ Pages -  Number Pages From: 1; Include: All pages ] 

[ Security -  Printing: High Resolution; Editing: Any except extracting pages; Enable copying; Enable Screen Reader ] 

[ Initial View -  Show: Pages Panel and Page; Page Layout: Single Page; Magnification: 100% ] 

[ Restore; No dialog ] 

--sd

Posted

I don't know if you can help on another issue I have, I want to limit users ability to even see any records that are not their own...

I have created a field that holds the name of the user who created a record and want to limit their access to only their records, this does not seem simple...

Obviously admin accounts should see all records...

What do you think ?

My solution was a different database for each user but that seriously limits the ability to connect to other systems and to update 100 databases, so this has to work somehow...

Posted

Indeed, some text manipulation and you're there grapping a field value and stuffing it inside your calc. when you set the variable.

--sd

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