Forum Replies Created
-
# 3 years ago::
Hi Dinkel,
not sure I understand you correctly, but I suppose you are talking about Simplifier Plugins. If so, from the Documentation:
Plugins are coded JAR Files that can be developed in the classic way like Eclipse, Netbeans or another Java IDE. The Plugins can be ran standalone and remotely and communicate with the Simplifier via akka message bus system over tcp. Every Plugin has its own port number and, if necessary, also its own ip addresses.
Plugins can be coded in any programming language, it’s only necessary that an HTTP interface will be provided.
Afaik, you cannot do this within the free trial. In case you are just looking for an easy way to run some script server side, you can make use of BusinessObjects. Those can only be written in JS though.
Hope that helps.
in reply to: Developing own Simplifier plugins# 3 years ago::You can also use a message toast to give feedback to the user if running the mobile action did not work. Just connect a script node to the Error-port of the mobile action and add the following snippet:
sap.m.MessageToast.show("<your-error-message>")
Keep in mind that this only works for UI5 apps.
in reply to: Usage of “mobile actions”# 3 years agoin reply to: Using uploaded Assets# 3 years ago::Hi ck,
afaik it is as easy as this:
// create a new oData model with your connector and simplifier token var oModel = new sap.ui.model.odata.ODataModel("/client/1.0/odata/<your-connector>/?SimplifierToken=<your-token>"); // read the service endpoint oModel.read("<your-endpoint>", null, null, true, function(oData, response) { // do your work here }.bind(this));
Since you can access the simplifier global variables simply by
this.getGlobals().getVar("<your-variable>")
you could do something like
var oModel = new sap.ui.model.odata.ODataModel("/client/1.0/odata/" + this.getGlobals().getVar("odataCon") + /?SimplifierToken=" + this.getGlobals().getVar("token")); oModel.read(this.getGlobals().getVar("odataEndpoint"), null, null, true, function(oData, response) { // set result as items of your table this.setItemModel("Test", "Test_Table1", "items", oData.results); }.bind(this));
in reply to: How can i use an odata backend service