fmpdude

FMP's Get(UUIDNumber) Implementation?

Discussion created by fmpdude on Dec 1, 2018
Latest reply on Dec 2, 2018 by FileKraft

Does anyone know the internal implementation of Get(UUIDNumber)?


Since I don't have FMP 17, I just wrote my own method using Java's SecureRandom() - which is used for UUIDs also.

 

With my new simple micro-service method (really just using available built-in calls), I can specify the length of the uuid-number to return (no realistic size limit), the algorithm to use, and even, if desired, what type of number to return (int, double, Gaussian, ...).

 

This method would work with any version of FMP from 12 forward.

 

I just generated five million values and had no dups.

 

I'll be glad to share this code if anyone's interested.

Outcomes