Forum Replies Created

  • dcyborra
    Participant
    • Topics: 6
    • Replies: 4
    # 3 years ago
    Up
    0
    Down
    ::

    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.

    dcyborra
    Participant
    • Topics: 6
    • Replies: 4
    # 3 years ago
    Up
    0
    Down
    ::

    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.

    dcyborra
    Participant
    • Topics: 6
    • Replies: 4
    # 3 years ago
    Up
    0
    Down
    ::

    Hi,

    you can inclue your uploaded pictures by the given path in the upload overlay. Uploaded javascript files will be executed, thus will be available in the scope you define.

    in reply to: Using uploaded Assets
    dcyborra
    Participant
    • Topics: 6
    • Replies: 4
    # 3 years ago
    Up
    0
    Down
    ::

    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));
    
Viewing 4 posts - 1 through 4 (of 4 total)