How to search through container field?
Here, i have only image (.jpg) files in my container field and i have almost 4000 records.
Means if i upload a image in FM in a container (image) field, and the similar matching results is shown.
I think you're asking how to find duplicate images. Is that correct? And you want to know if the image is the same, not just the name of the file?
You can't find a duplicate based on the container field itself. But I think you can create a calculation using GetContainerAttribute and the MD5 attribute and search for duplicates on that field.
Yes, so please can you explain me and tell me how to do calculation.
On Wed, Mar 8, 2017 at 11:22 AM, David Jondreau <email@example.com>
GetContainerAttribute(your container ; "MD5")
If your "upload" is intend to find, you can add global container field for it. Calculate MD5 from it, then find calculation field with the value.
Can you please explain me in details! or can you send .zip file with a
small project of it.
Thanks in advance
Create a calculation field for container.
You can see the result of text. Finding it with entering ! you can see it there are duplicated images.
First you wrote "similar matching", but using MD5 you can only find "exact matching" of container contents. (And MD5 can rarely fail that different content as same)
I'm no good at explaining the very basics, sorry!
I think what David is suggesting is to set up a calculation field for each record. The calculation field will be text and the calculation is GetContainerAttribute(your container ; "MD5") where "your container" is the name of your image field.
This gives each record a unique identity so this allows the detection of duplicates by searching on the calculation field either manually (maybe with "Find matching records") or by searching for duplicates on this field - enter find mode and enter "!" in the calculation field, then sort on that field to identify duplicates.
This can be done in a script as well of course.
I needed is as like google image.. we browse the image, upload and results
Something that off a kind.
Retrieving data ...