Forum Replies Created

  • Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello,

    i found a bug within the Widget.

    I’ve fixed it and here you can download the transport.

    https://files.simplifier.io/f/4cb037f889824b49994e/?dl=1

    I will update the Standard Content later.

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    1
    Down
    ::

    Hello,

    you can do this like in the Smart Maintenance Dashboard.

    Save the Source Field into a global variable from type any.

    Than get the Source Field from the variable and set the selected value.

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello,

    perhaps you have to change the mode.

    I have created some screenshots with an example i’ve created.

    The mode Execute is used for DELELE, UPDATE or INSERT and the mode query is used for selects

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Changing the Datatype into an other will break all your applications and is not right because the datatype is given from the ui5 framework

    dont do this

    Your Datatype has to be from the same Basedatatype as the Widget Property in this case String.

    Than you should make a parsing within the Process Designer by using the parse and string functions from the ITIZ_Uitilities Business Object.

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello,

    i have a library named helperFunctions wich is registering a object helperFunctions in the window object.

    The library is zipped and has only one js file.

    Now create a new library within Simplifier Upload the Zip file and add the script wich is within the zip file.

    After this you can add the Library within your application.

    And now you can use the Library within a script shape in the Process Designer.

    in reply to: Importing a JS-Library
    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello Julia,

    for Desktop and iOS you can use this Code.

    $(sap.ui.getCore().byId(“Create_Image–ui_unifed_FileUploader”).FUEl).trigger(“click”);

    On Android this doesn’t work because google is blocking it and you will only get an error messge saying.

    “File chooser dialog can only be shown iwth a user activation.”

     

    An other way to create and read pictures is by using the mobile action (Capture Image).

    The Mobile Action is giving back a FileUrl and with the Client Side Business Object SIMP_FileHelper and the Function readFileByUrl you can read the Image.

    It is giving you back the blob and base64 for the Image with the given FileUrl.

    If you do not have the Business Object you can download it from Here

    Note: The Mobile Action can only be used with our Simplifier Mobile Client for iOS nad Android

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello,

    you have to Delfine a Parameter named params/myVar an than you can use it with Double points in the sql Statement.

    select * from myTable where col1 = :myVar:

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello,

    you can use an autofield to check if the application was opened by simplifier mobile client.

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello,

    the Simplifier is using internally a MVC pattern and has Models for Each Screen.

    By knowing this you can use Bindings where the Simplifier is doing an auto conversion to string.

    https://openui5.hana.ondemand.com/1.60.20/#/topic/bf71375454654b44af01379a3c3a6273

    https://openui5.hana.ondemand.com/1.60.20/#/topic/c98d57347ba444c6945f596584d2db45

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    1
    Down
    ::

    Hello,

    i have a little complement for the debugging of server side bo’s.

    A better way is using the Simplifier.Log object because if the business object breaks with an error you will never get the output parameters.

    with the Simplifier.Log object he is logging into the Logs & Monitoring at the time you call it so if the Business Object breaks after your log statement the Log is already written to the Logs & Monitoring.

    There are 5 log levels.

    debug
    info
    warn
    error
    critical

    and you can use it like this.

    Simplifier.Log.debug(“message”, details)

    Note:
    The visibility of your log and loglevel depends on the server settings you have for log levels.

    In my case the Debug logs will not shown.

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    1
    Down
    ::

    Hello,

    the client 1.0 route is for the mobile client so you can use this but have to expect some side effects.

    for example the 1.0 client route is filtering the Explored Application so you will not get the full list of applications.

    but if you are good with this you should use this route the UserInterface route Kahn mentioned is used by Simplifier for the admin interface.

    so if we change it for newer Simplifier versions the API will change for the client 1.0 route the api will not change.

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    1
    Down
    ::

    Hello,

    for iOS you Need an Application on your Simplifier Instanze.

    you can Download the Application at:

    https://download.simplifier.io/transports/

     

    Actually the application is counted to your license but we are working on that problem.

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Hello,

    the queryParams are not added to the xml structure so you have to change it to soap.

    Edit: The queryParams are added to the Endpoint URL as Query Parameters.

    But i can see another misstake in your parameters.

    You sad that Parameters can have Multiple Items so the JSON should have this as a Array.

    {
      "Parameter": {
        "item": [
          {
            "Name": "name",
            "Value": {
              "StringValue": "someStringValue"
            }
          }
        ]
      }
    }
    

    And same for the Connector Call

    soap/startProcess/processWebParameter/Parameter/item/[0]/Name

    soap/startProcess/processWebParameter/Parameter/item/[0]/Value/StringValue

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    0
    Down
    ::

    Helle,

    the generated data types will be also deleted if you delete the corresponding connector

    Malfurion
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 0
    • Replies: 94
    # 2 years ago
    Up
    1
    Down
    ::

    Hello,

    in Simplifier 5.0 there will be a new Mobile Action for Recording Videos.

    But the way to do this with 4.5 is by script or client side business object.

    var captureVideo = function(oParameters, fnSucceed, fnFail) {
        if (typeof navigator === "undefined" || !navigator.device || !navigator.device.capture || !navigator.device.capture.captureVideo) {
            fnFail("Capture video is not defined!");
            return;
        }
        if (typeof window.resolveLocalFileSystemURL !== "function") {
            fnFail("Function resolveLocalFileSystemURL is not defined!");
            return;
        }
        var oConfig = $.extend({
            "limit": 1,
    	"duration" : 60
        }, oParameters);
        if (typeof oConfig.limit !== "number") {
            oConfig.limit = parseInt(oConfig.limit, 10);
        }
    
    	if (typeof oConfig.duration !== "number") {
            oConfig.duration = parseInt(oConfig.duration, 10);
        }
    
        var fnCaptureVideoCallback = function(aMediaFiles) {
            var oResponseData = {};
            if (aMediaFiles.length > 0) {
                var oVideo = aMediaFiles[0];
                oResponseData.name = oVideo.name;
                oResponseData.fullPath = oVideo.fullPath;
                oResponseData.lastModifiedDate = oVideo.lastModifiedDate;
                oResponseData.size = oVideo.size;
                oResponseData.type = oVideo.type;
                resolveLocalFileSystemURL(oVideo.localURL, function(oEntry) {
                    oResponseData.fileUrl = oEntry.toURL();
                    fnSucceed(oResponseData);
                });
            }
        };
        navigator.device.capture.captureVideo(fnCaptureVideoCallback, fnFail, oConfig);
    };
    
    var oParameters = {limit: 1, duration: 60};
    
    captureVideo(oParameters, function(data) {
        console.log("onSuccess");
    }, function(msg) {
        console.log("onError", msg);
    });
    
    in reply to: Record videos
Viewing 15 posts - 31 through 45 (of 93 total)