cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

User permissions for timers

ZbigniewK
10-Marble

User permissions for timers

I have a service which is working.

Have a timer, which starts this service once per year.

When in "Run as user" I use user from different project - it works perfecly.

When I create new user, adjust permissions - I receive this error:
Message ::TypeError: Cannot call method "PostMultipart" of null

 

I try to log table variable- have data inside, at both users

I try to log url - is correct, at both users.

 

Line where I have error:

 

var params = {
partsToSend: table /* INFOTABLE */,
url: url /* STRING */
};

var newVar = Resources["ContentLoaderFunctions"].PostMultipart(params);

1 ACCEPTED SOLUTION

Accepted Solutions
nmutter
14-Alexandrite
(To:ZbigniewK)

"Cannot call method "PostMultipart" of null" means that Resources["ContentLoaderFunctions"] evaluates to "null" for the user.

 

So your own user does not have visibility permissions for entity ContentLoaderFunctions.

View solution in original post

2 REPLIES 2
nmutter
14-Alexandrite
(To:ZbigniewK)

"Cannot call method "PostMultipart" of null" means that Resources["ContentLoaderFunctions"] evaluates to "null" for the user.

 

So your own user does not have visibility permissions for entity ContentLoaderFunctions.

Surprising, I just thought it's more like system, and would not even guess there is such entity
Found it, set it - and it's working, thanks. 

Top Tags