Ignition 8 Gateway Script and Client Event scripts with project inheritance

ignition80
#1

@Paul.Scott

I have a 7.9 backup upgraded to 8.0.7-nightly.
There is a global project inherited by another project “Final”.

I would like to know how are managed the gateway and client script for the global project and the “Final” project ? I don’t find any indication in: https://docs.inductiveautomation.com/display/DOC80/Project+Inheritance

With some test, the behavior seem to be as follow:

  • Client and Gateway scripts are not inheritable. You can’t override these ressources in the designer.

  • For Gateway script:
    Startup script of the global project is executed
    and then Startup script of the “Final” project

  • For Client script:
    script from the global project are not executed (for example startup). This make sense because the gobal project is not really loaded in the client scope.
    Client Script in the “Final” project are executed

Is it the intentional behavior for client script ???

0 Likes

#2

Right-click -> override resource. The outstanding issue is that there is no granularity, the overridde is for all client or gateway scripts.

Are you sure the startup script for the “global” project is running? It shouldn’t, but if you haven’t overridden it in the child project it will run this script because it inherited it. But it’s the child running it.

0 Likes

#3

In the child project I can’t override Client Events or Gateway Events with a Right-click menu.
There is no menu ?

In my use case, both Gateway startup script in the global project and the child project are executed.
I don’t know who is responsible of the execution

0 Likes

#4

You don’t see this?

image

If it’s not greyed out then it’s already overridden in the child project. If the child project had gateway events defined this would be the case.

I don’t see the parent startup scripts running in my test setup, so maybe it’s something specific to your configuration and that it’s an upgrade. You might need to open a ticket with support and provide your 7.9 backup.

0 Likes

#5

Yes, I don’t have this menu.
It must be the upgrade of a 7.9 project who has put the overrides on the gateway and client events in the child project.

for the Gateways Events, Startup or timer script in the global project and in the child project are both executed in my case… I will see to fill a ticket if it’s not the intentional behavior.

0 Likes

#6

If the global project (or any other project) is configured as Inheritable then it should not be “runnable” and its scripts should not be running.

0 Likes