E
egarcia
Guest
Hello, We are planning to add filter support in a future release. We are working on a model that would allow any of the Rollbase where clause to be mapped to an OpenEdge Service / Business Entity. I do not think that we have a general workaround for this today. In the other hand, you idea seems a possible way around this (depending on the use case). A limitation is to identify session and associate it with the user. A simplified version would be to use the userid instead of the ClientContextId. (Assuming that a user only has one session.) Using the ClientContextId would be a better approach since it would prevent the filter for a user being set by another one. To create the record in the database, you can invoke a method in the Business Entity. You need to consider here that requests are asynchronous. Depending on your need, you can have this code being called from the client (JavaScript in a form) or from the server (Object Script). Here are the references in the wiki to the white papers showing how to access the AppServer from Rollbase: community.progress.com/.../2156.accessing-the-openedge-appserver-from-rollbase.aspx I hope this helps.
Continue reading...
Continue reading...