# The command ignores the "Scan iPad" action

**URL:** <https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184>\
**Category:** Questions\
**Tags:** scripting\
**Created:** [July 17, 2024, 3:29am UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184 "2024-07-17T03:29:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saeed](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Saeed](https://the.fmsoup.org/u/Saeed)\
**Post date:** [July 17, 2024, 3:29am UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184/1 "2024-07-17T03:29:07Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/e/e13552a79e4441ae3c01b2e15a76e16ca1cc2fa5.png)

Hi everyone,

I’m curious why the script isn’t working when I press "Scan iPad" and it goes directly to the "Asset Info List" layout.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/4/448b27a5f54faff10465e53d5ba6f81388db3f7b.png)

---

<div class="post-metadata">

**Author:** ![samfmp](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@samfmp](https://the.fmsoup.org/u/samfmp)\
**Post date:** [July 17, 2024, 6:32am UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184/2 "2024-07-17T06:32:08Z")

</div>

Did you use your PC to execute the script?  
Insert from device only supports on FileMaker Go

[https://help.claris.com/en/pro-help/content/insert-from-device.html](https://help.claris.com/en/pro-help/content/insert-from-device.html)

---

<div class="post-metadata">

**Author:** ![Saeed](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Saeed](https://the.fmsoup.org/u/Saeed)\
**Post date:** [July 17, 2024, 6:43am UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184/3 "2024-07-17T06:43:15Z")

</div>

No I used via ipad .

---

<div class="post-metadata">

**Author:** ![samfmp](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@samfmp](https://the.fmsoup.org/u/samfmp)\
**Post date:** [July 17, 2024, 6:57am UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184/4 "2024-07-17T06:57:36Z")

</div>

Maybe you could add a set variable step of get last error after insert from device and use show custom dialog of that variable to see if there is any error?

---

<div class="post-metadata">

**Author:** ![Saeed](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Saeed](https://the.fmsoup.org/u/Saeed)\
**Post date:** [July 17, 2024, 10:56am UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184/5 "2024-07-17T10:56:03Z")

</div>

I'm puzzled because it was working perfectly before, but since yesterday, this issue has occurred.

---

<div class="post-metadata">

**Author:** ![Saeed](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Saeed](https://the.fmsoup.org/u/Saeed)\
**Post date:** [July 17, 2024, 3:22pm UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184/6 "2024-07-17T15:22:29Z")

</div>

To resolve this issue, I discovered that the camera for FM is disabled in the iPad settings.

---

<div class="post-metadata">

**Author:** ![Kirk](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/kirk/32/2197_2.png) [@Kirk](https://the.fmsoup.org/u/Kirk)\
**Post date:** [September 28, 2024, 3:45pm UTC](https://the.fmsoup.org/t/the-command-ignores-the-scan-ipad-action/4184/7 "2024-09-28T15:45:08Z")

</div>

Unrelated to the now resolved issue, but why the custom dialog with a field/variable, when the user request is to just click the button? The field entry does not seem to have a defined purpose or definition of expected value.
