Showing results for 
Search instead for 
Do you mean 

update notes via SDK

SOLVED
Go to Solution
s99
Occasional Visitor

update notes via SDK

New to Trim and the TrimSDK running 7.1 (think)

Having permissions issues when using the SDK.

 

As a user I can update the notes of a record in the application but doing so via vbscript using SDK get a prompt stating administration right required to update notes

 

Any assistance would be appreciated

1 ACCEPTED SOLUTION
Honored Contributor

Re: update notes via SDK

Not sure what your question is here. You must be admin to replace notes. Otherwise you must use the append function. Though that requires update metadata rights. There are numerous ways to configure security.

Are you running a record addin? Are you running in the context of the current user? Are you trying to impersonate a user?
2 REPLIES
Honored Contributor

Re: update notes via SDK

Not sure what your question is here. You must be admin to replace notes. Otherwise you must use the append function. Though that requires update metadata rights. There are numerous ways to configure security.

Are you running a record addin? Are you running in the context of the current user? Are you trying to impersonate a user?
Highlighted
s99
Occasional Visitor

Re: update notes via SDK

Apologies for being so vague, but thank you for pointing me in the right direction.

Didn't realise there are other functions/method to append/prepend notes. Was trying to do something basic like

 

trimRecord.notes = "ABC123"

 

Change code to this solved the issue

 

trimRecord.setNotes "ABC123"