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.

Container field: PDF Optimize for Image will not work if data comes from offline device

Featured Replies

User inserts pdf on the offline device.

The container is set to Optimize for Images

User can see the first page of the pdf in the container (as an image)

After the user synced, the same container field on the server will display the file name instead of the image of the first page.

Is there a way to fix this ?

P.S.

Mirrorsync 4

 

Edited by sfpx

  • Author

A little more info about the issue

When the pdf file is inserted in the device you can see this info in the container attributes

[General]
Filename: .pdf
Storage Type: Embedded
MD5: FAE885A65D413D76CE03826013DCA437
File Size: 24038
Internal Size: 235318
External Size: 0
External Files: 0

[Image]
Width: 792
Height: 612 

If I take the .fmp12 from the device and load it in filemaker pro, I still can see the same attributes and the container preview.

On the server, after a sync, the container [image] attributes are no longer there and the container will not preview the pdf file . 

I guess it's related to the fact that mirrorsync is using base64 instead of the filemaker insert file function.

I would say that it's more a filemaker problem than a mirrorsync one.

Now, if someone has an idea how to get back those attributes I would not mind adding  code post sync to fix this.

 

 

Edited by sfpx

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.