Jump to content
Sign in to follow this  
TJ53

MD5 from Web Viewer to field

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

You are welcome! glad you found it useful.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.