This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 25, 2015, 2:24 AM
43 Posts
topic has been resolvedResolved

Illegal Circular Use when using an empty script library that reference another empty script library

  • Category: Domino Designer
  • Platform: Windows
  • Release: 9.0
  • Role: Developer
  • Tags:
  • Replies: 2

I found a strange Illegal Circular Use error today. Steps to reproduce the error are as follows

1. I created an empty Script Library called GlobalFunctions with no code in it.

2. After that I created another Script Library called ProfileFunctions. In the Options section I put in Use "GlobalFunctions". No additional code is added and I can save without any error prompt.

3. I create a new form (Profile) and on the Global section I put in Use "ProfileFunctions". I hit Save and immediately get a error saying Illegal Circular Use : ProfileFunctions in the bottom bar.

I have run into this error in the past but it is usually due to a real circular Use reference or missing variables or method. I am really confused why this happen in an empty and definitely non-circular script library.

Does this means that in a form we cannot reference a script library that uses another script library ?

Regards

Tinus Riyanto

Aug 25, 2015, 6:30 AM
14 Posts
Can't reproduce in Designer 9.0.1
I just copied your steps exactly, and had no problem, using Designer 9.0.1.
I don't recall whether I've ever tried it with version 9.0, but have created forms using script libraries using other script libraries in several older versions.

Double-check the spelling of your script library names, and the spelling in all your Use statements.
I have on several occasions seen the "Illegal circular USE" error when the name in the Use statement doesn't match any existing script library, and that still happens in 9.0.1.
Aug 25, 2015, 11:44 AM
43 Posts
You are right, it must have been a typos

However since I could not spot it by eyeballing those script libraries, I ended up copy pasting the library name to notepad and back to designer. Now I can save the Profile form so it must have been a typos somewhere in the Use part


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal