Hi Holger,
this could be a reason. I noted, that the behavior is less erratic, if I clear the browser cache / saved settings and refresh the EDG workspace (through the admin pages).

I was somehow unaware of the API refresh - will try that...

Thanks a lot.
Greetings
Bernd

Am 18.02.25 um 08:40 schrieb Holger Knublauch:
H Bernd,

Yes we are using dash:IncludedScripts frequently and they seem to usually work.

One thing to note is that after changes to such scripts, you may need to press the *Refresh the generated API* button on the Script Editor panel to ensure that the APIs have been rebuilt/invalidated. This also applies to changes to properties such as dash:generatePrefixConstants.

Maybe the Refresh button explains what you’re seeing?

Holger


On Feb 17, 2025, at 17:22, Bernd Johannes <bjo...@gmail.com> wrote:

Hi EDG enthusiasts,
I try to factor out repetitive functions and constants into an included script, to provide a single source of truth throughout the implementation.

I try to reuse the constants and functions in some explore- and modify actions.

However, the results are mixed: not all functions and constants seem to be available, and I struggle to find a schema, which ones are not visible. Furthermore, the set of visible / invisible constants and functions changes sometimes (after edits of the library).

Is this approach supported in general? Or am I trying to achieve something unsupported and thus unstable?

Thanks for hints on your experience on that.
Greetings
Bernd

--
The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
To post to this group, send email to topbraid-users@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/topbraid-users/a36ab649-6e91-4515-b1ca-ffdfb022428an%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/a36ab649-6e91-4515-b1ca-ffdfb022428an%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
To post to this group, send email to topbraid-users@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/topbraid-users/9C6156F6-EEED-4B42-AC4A-90F4F18CC120%40topquadrant.com <https://groups.google.com/d/msgid/topbraid-users/9C6156F6-EEED-4B42-AC4A-90F4F18CC120%40topquadrant.com?utm_medium=email&utm_source=footer>.

--
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to topbraid-users@googlegroups.com
--- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/topbraid-users/12b6194b-c1c2-4711-9d29-b716af1fad35%40gmail.com.

Reply via email to