cancel
Showing results for 
Search instead for 
Did you mean: 

Execute javascript error

chicco0386
Champ on-the-rise
Champ on-the-rise
Hi, this is my situation:
1) Whit admin user I've set a Rules that execute a script (append copyright.js) with Inbound condition
2) I've create a new user (prova)
3) I've loggin with user prova and I add a new contet (for run the script)
4) An error accoured….
 Please correct the errors below then click Finish.

    * A system error happened during the operation: Invalid company home path: /app:company_home - found: 0

WHY?
The script can only run with admin user?It's impossible?Right?

HELP PLEASE…
THANKS
4 REPLIES 4

farhan
Champ in-the-making
Champ in-the-making
Users other than 'admin' can run scripts.

You need to make sure that any new user has all the required rights on the spaces used in the script.

chicco0386
Champ on-the-rise
Champ on-the-rise
Users other than 'admin' can run scripts.

You need to make sure that any new user has all the required rights on the spaces used in the script.

Ok…
But in the space where I've the scripts (CompanyHome->DataDictionary) the permission is set for:
1) Administrator like coordinator
2) Everyone like editor,consumer

so I think any new user is under the everyone group.
Or not?

farhan
Champ in-the-making
Champ in-the-making
First please place the scripts in its default location, i.e. CompanyHome->DataDictionary->Scripts

Second, yes, all users should be able to access the script.

To me, it seems like the script you are running has errors, and there is nothing wrong with accessing the script.

chicco0386
Champ on-the-rise
Champ on-the-rise
I have solved….

THANKS FOR THE REPLAY…