# FileMaker Go and iOS Photo Integration

**URL:** <https://the.fmsoup.org/t/filemaker-go-and-ios-photo-integration/993>\
**Category:** Questions\
**Tags:** scripting, clipboard, b64-encode, data-api\
**Created:** [May 28, 2020, 10:58pm UTC](https://the.fmsoup.org/t/filemaker-go-and-ios-photo-integration/993 "2020-05-28T22:58:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdbd](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/bdbd/32/620_2.png) [@bdbd](https://the.fmsoup.org/u/bdbd)\
**Post date:** [May 28, 2020, 10:58pm UTC](https://the.fmsoup.org/t/filemaker-go-and-ios-photo-integration/993/1 "2020-05-28T22:58:31Z")

</div>

Someone on another forum is looking for a way to export an image from a container to iOS' Photo library. I thought the question was interesting. The requestor believes it is simply a matter of exporting to a folder. I was under the impression there was more than folders involved in the photo library. Anyone know if it is possible to integrate FileMaker Go and the iOS Photo library and how?

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [May 29, 2020, 9:00am UTC](https://the.fmsoup.org/t/filemaker-go-and-ios-photo-integration/993/2 "2020-05-29T09:00:49Z")

</div>

Yeah, a version of this is natively built in to containers.

Click container, Export, Continue, Save Image... profit?

If it must be automated, then I suspect you could do it with an iOS shortcut. One approach might be to send the photo to the iOS shortcut via the `clipboard` input query param in the shortcuts:// url (`input=clipboard`), but I haven't tested if that works. Another option, depending on the size, would be to b64 encode and pass the b64 as the input, then decode/save within the shortcut. Yet another variation would be to call the Data API within FM Go to get a streaming url and pass that to the shortcut, which should be able to GET and save the image to a specific Photos album.

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [May 29, 2020, 6:12pm UTC](https://the.fmsoup.org/t/filemaker-go-and-ios-photo-integration/993/3 "2020-05-29T18:12:21Z")

</div>

A little more on shortcuts since I think they're cool.

EDIT: I got x-callback-url to work, just make sure the url is properly encoded.

Using a shortcut that simply does `Save [Clipboard] To [Photo Album]`, this url should work and calls back to FM automatically.

`shortcuts://x-callback-url/run-shortcut?name=NAME OF SHORTCUT&input=clipboard&x-success=fmp19://$/FILENAME%20ENCODED&x-cancel=fmp19://$/FILENAME%20ENCODED&x-error=fmp19://$/FILENAME%20ENCODED`
