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.

MD5 from Web Viewer to field

Featured Replies

Hi, this is for FMP 12 (not 13)

 

I need to populate a field with the content of the web viewer (without copy and paste). Any way of doing this? please see attached file … thanks!

 

 


Oops … the file attached here.

 

md5.fmp12.zip

I just realized that you said that you are using Filemaker 12.   If it were 13, you could use a Javascript call back to Filemaker via fmp:// protocol and pass the MD5 as a parameter to a FM13 script.

 

But, since you are using Filemaker 12, I would merely use the FREE BaseElements plugin which has MD5 and SHA256 functions to do the job (...and I would probably opt for this method under 13 as well... because it's dead simple.).

 

The script step would simply look like:

Set Field [md5::field_md5[]; BE_MessageDigest ( md5::field; BE_MessageDigestType_MD5 )]

This IMHO would simplify things quite a bit.

 

regards...

 

Bob Minteer

  • Author

Hi Bob,

 

Thanks a lot for your reply and for the plugin info. Yes this is for FMP12, I thought I was missing something and could be done easily but I guess not … probably because I'm using a javascript function inside the wv.

 

Anyway ... with FM 13 this can be done natively by using the function GetContainerAttribute(sourceField; "MD5"), there is a useful video from Todd Geist that show some more of this ...

 

https://www.geistinteractive.com/2014/05/05/filemaker-md5-hash-function/

Whoa!  You know... I thought that I had investigated ALL of the new features in Filemaker 13... I did NOT see GetContainerAttribute() !!

 

Thanks for pointing that one out!  

 

regards...

 

Bob

  • Author

You are welcome! glad you found it useful.

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.