TJ53 Posted December 11, 2014 Posted December 11, 2014 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
Bob Minteer Posted December 16, 2014 Posted December 16, 2014 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
TJ53 Posted December 22, 2014 Author Posted December 22, 2014 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/ 2
Bob Minteer Posted December 22, 2014 Posted December 22, 2014 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
TJ53 Posted December 27, 2014 Author Posted December 27, 2014 You are welcome! glad you found it useful.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now