[stackoverflow] [progress Openedge Abl] Using The Assign() Method On The Jsdo To Update Oe...

Status
Not open for further replies.
D

DevonOsh

Guest
My app draws data from an OpenEdge table and uses a Business Entity and Rest Service to serve up the data through the PASOE. I am developing on the JavaScript side and have little to no experience with OE beyond generating Business Entities with CRUD operations for my services to use.

What I'm trying to do is update a single field of a single record from true to false by using the JSDO's assign method. I keep getting a 500 error that says it was unable to find a a WHERE STRING and that it needs KEYS and INDEXES, and all that stuff. The problem is, I almost certain I'm using assign() wrong, but I can't be sure. The documentation on it is not very specific as to how to us it and what parameters it wants in order to update or assign anything. I feel like this example is woefully vague. What should "update-object" look like?

Help!

Thanks in advance.

PS. I can create a code snippet of what I'm trying to do if need be, but my question is pretty general.

Continue reading...
 
Status
Not open for further replies.
Top