Locating a record via _UID
Posted: 21 Mar 2022 13:02
Hi,
I'm using FMP for the online version of my tree, and I'm getting into using plugins as a way to apply updates to FH, using exported data from FMP. I'm very aware of the risks of doing this, but I'm interested to give it a try.
FMP applies a unique ID (in fairly standard guid format) to each exported record, and I do have those now on my FH records. They are in the _UID field.
For subsequent updates, I'd like to be able to locate a record via its _UID value. From what I can see, there is no built-in function to do this. My initial thought is that I have to build a lookup table which has a key of the _UID and a value of the FH record ID, and use that to convert one to the other ... at which point locating the record is straightforward.
Does anyone have/use an alternative approach to this?
Martin
I'm using FMP for the online version of my tree, and I'm getting into using plugins as a way to apply updates to FH, using exported data from FMP. I'm very aware of the risks of doing this, but I'm interested to give it a try.
FMP applies a unique ID (in fairly standard guid format) to each exported record, and I do have those now on my FH records. They are in the _UID field.
For subsequent updates, I'd like to be able to locate a record via its _UID value. From what I can see, there is no built-in function to do this. My initial thought is that I have to build a lookup table which has a key of the _UID and a value of the FH record ID, and use that to convert one to the other ... at which point locating the record is straightforward.
Does anyone have/use an alternative approach to this?
Martin