update notes via SDK (179 Views)
Reply
s99
Occasional Visitor
s99
Posts: 2
Registered: ‎12-11-2013
Message 1 of 3 (179 Views)
Accepted Solution

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

Please use plain text.
Honored Contributor
EWillsey
Posts: 1,796
Registered: ‎04-20-2010
Message 2 of 3 (167 Views)

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?
Please use plain text.
s99
Occasional Visitor
s99
Posts: 2
Registered: ‎12-11-2013
Message 3 of 3 (147 Views)

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"

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation