# Shared scripts in 7.6

**URL:** <https://forum.inductiveautomation.com/t/shared-scripts-in-7-6/11467>\
**Category:** Ignition\
**Created:** [April 5, 2016, 10:14am UTC](https://forum.inductiveautomation.com/t/shared-scripts-in-7-6/11467 "2016-04-05T10:14:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabrice\_CHAVEROT](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Fabrice\_CHAVEROT](https://forum.inductiveautomation.com/u/Fabrice_CHAVEROT)\
**Post date:** [April 5, 2016, 10:14am UTC](https://forum.inductiveautomation.com/t/shared-scripts-in-7-6/11467/1 "2016-04-05T10:14:49Z")

</div>

Hello,

Is there a way to have shared scripts in legacy version (7.6) (under the app namespace)

I have several global script modules I use in several projects. Each time I modify a script module, I must import it in all projects wich are using this module…After time, I don’t remember wich script is the last version and it’s difficult to maintain

I know that in newer version there are shared or project scripts distinction but I can’t upgrade…

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 5, 2016, 12:00pm UTC](https://forum.inductiveautomation.com/t/shared-scripts-in-7-6/11467/2 "2016-04-05T12:00:10Z")

</div>

Unfortunately, no. IA restructured the script support code completely to make shared scripts possible.  
As an alternative, consider rewriting your stable scripts in java in a module. Then updating the module will replace your scripts in the system.\* namespace without any action in the projects.

---

<div class="post-metadata">

**Author:** ![Fabrice\_CHAVEROT](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Fabrice\_CHAVEROT](https://forum.inductiveautomation.com/u/Fabrice_CHAVEROT)\
**Post date:** [April 5, 2016, 2:32pm UTC](https://forum.inductiveautomation.com/t/shared-scripts-in-7-6/11467/3 "2016-04-05T14:32:03Z")

</div>

OK I was thinking about Java but until now I haven’t written Java custom modules, and I have not a lot of time , even if I have already coded in Java in the past.

Are there some samples in the SDK ? Or Have you some skeleton code to start ?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 5, 2016, 3:08pm UTC](https://forum.inductiveautomation.com/t/shared-scripts-in-7-6/11467/4 "2016-04-05T15:08:10Z")

</div>

Start with [this section](https://docs.inductiveautomation.com:8443/display/SE/Adding+Scripting+Functions) of the the [SDK programmer’s guide](https://docs.inductiveautomation.com:8443/display/SE/Ignition+SDK+Programmers+Guide).

---

<div class="post-metadata">

**Author:** ![Fabrice\_CHAVEROT](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Fabrice\_CHAVEROT](https://forum.inductiveautomation.com/u/Fabrice_CHAVEROT)\
**Post date:** [April 6, 2016, 9:16am UTC](https://forum.inductiveautomation.com/t/shared-scripts-in-7-6/11467/5 "2016-04-06T09:16:37Z")

</div>

Thanks a lot
