If you look at the layouts, they are using two different actions.
On the desktop, the email button is just a "send mail" script step.
On the iPad, it runs a script titled "Send Project by E-mail | iPad", which actually goes to related records, and then sends email NOT to a List() of emails, but a found set of email addresses in the related records.
You might just want to duplicate that script for desktop use, and change the button on the desktop layout to use your duplicated script.
Thanks for your comment.
At MAC, if I choose Desktop Template or iPhone & iPad layout I always got the same result , it means 4 emails !
But if I try at iPad or iPhone it works. I got result as expected, just 2 emails.
I did your suggestion and I got the same result yet.
I'd like to use this feature at my own development but I feel that something is missing.
FM 13 Pro Advanced v 13.0v3
Sorry for the delay, I looked into the starter solution a bit further instead of by memory, the iOS script uses List() as well. The List() function has no de-dupe capability, so if you have two tasks with the same two personnel on each task, List() results in 4 values. I believe in iOS it will automatically filter the list to unique email addresses, but not so on the desktop.
I added a custom function that de-dupes a list based on these:
And implemented it to a sample file to test. Please see attached, I hope this helps. The Starter solutions are meant to be a starting point, and sometimes there are quirks like this when you try and customize them to your needs.
Projects.fmp12.zip 343.8 K
Thank you for your support. Now I have all elements to finish customer application.