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

MD5 from Web Viewer to field


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

Recommended Posts

Posted

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

Posted

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

Posted

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/

  • Like 2
Posted

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

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