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.

Open pdf without allowing editing of otherfields-priviledges?

Featured Replies

  • Newbies

Hi Happy New Year to all

I have just created my first ever FMPro 10 database pretty basic but it suits my needs for now,

i love the fact that pdfs can be inserted via container boxes ...but therein lies my problem..

i need to have a guest view that will allow viewing (opening) of the pdfs but not allow editing of the other information on the record..

The guest read only access would be ideal but it doesnt seem to allow them to open and view the contained

PDF files..im assuming that its something to do with priviledges but reading tutorials is just going over my head @ the moment..surely there is a straight forward simple way that im just not picking up on?

Any Help would be much appreciated

thanx in advance...LB

I've created a demo that shows the two ways in which an image file can be stored in a container: reference or embed. To reference the image, just store its path in the container. This will reduce the size of your FM file which will grow tremendously if you use the embed the file method.

You can have guest access open the pdfs.

ImageTest.fp7_2.zip

  • Author
  • Newbies

Thank you for your assistance...i have the pdfs embedded in the table so it can be used on several computers (no network) but other users are still able to edit/change records (which i want to disable) but without restricting access to(ie opening ) the pdfs..does that make sense?

if i have the other users as "read only" access they cannot open and utilise the embeded pdfs "your access priviledges do not allow you to perform this action"....sorry but im still confused..

For the read-only scenario, try providing a button that invokes a script that runs as the admin. The script will Go To Field[select/Perform] to open the container's contents.

The demo I provided allows a guest (read-only all tables) to view embedded pdfs, but not edit any field data.

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.