# Does Get(InstalledFMPlugins) work on server?

**URL:** <https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233>\
**Category:** Questions\
**Tags:** psos\
**Created:** [August 10, 2020, 10:23pm UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233 "2020-08-10T22:23:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [August 10, 2020, 10:23pm UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233/1 "2020-08-10T22:23:48Z")

</div>

Hi all,

I mean using Get(InstalledFMPlugins) in a script called by Perfom Script On Server ?

Thanks

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [August 11, 2020, 8:35am UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233/2 "2020-08-11T08:35:54Z")

</div>

Of course. Do you have problems?

---

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [August 11, 2020, 1:26pm UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233/3 "2020-08-11T13:26:08Z")

</div>

I don't get anything returned, and I know there is one plugin installed. The function is called in a PSOS script and the returned value is saved in a field. The FMPA displays in a custom dialog the contents of the field.

I will get back to this later this morning, maybe I have an error in the script. I will post back.

---

<div class="post-metadata">

**Author:** ![jormond](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jormond](https://the.fmsoup.org/u/jormond)\
**Post date:** [August 11, 2020, 1:28pm UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233/4 "2020-08-11T13:28:52Z")

</div>

Why are you saving the results in a field? Why not just pass it back as a script result? If you are using a field, you now have to deal with context ( layout, TO, field, correct record, etc ).

---

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [August 11, 2020, 1:30pm UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233/5 "2020-08-11T13:30:28Z")

</div>

Hum,

It never crossed my mind that a PSOS could return a value to the caller. I will try this !

---

<div class="post-metadata">

**Author:** ![jormond](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jormond](https://the.fmsoup.org/u/jormond)\
**Post date:** [August 11, 2020, 1:32pm UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233/6 "2020-08-11T13:32:40Z")

</div>

Just make sure you have the "Wait for completion" box checked.

---

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [August 11, 2020, 3:00pm UTC](https://the.fmsoup.org/t/does-get-installedfmplugins-work-on-server/1233/7 "2020-08-11T15:00:53Z")

</div>

Made some changes and returned a value in PSOSed script . . . and it works !

Don't know what was wrong before (Wait for completion was on). I guess code 10 explains this.

Thanks to all
