Forum Replies Created

  • Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    1
    Down
    ::

    You can use ES6 for Scripts in ProcessDesigner but be aware that browsers which doesn’t support ES6 feature will have problems. If you want to use ES6 and still be compatible with browsers which use ES5 you can configure the deploy process of your business application.
    You can find information about configuring the deploy process in the documentation.

    in reply to: ECMASCRIPT5
    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    1
    Down
    ::

    I mean the order of loading the library parts. Look at this code snippet:

    addScript('js/mapsjs-core.js', 'mapsjs-core');
    addScript('js/mapsjs-mapevent.js', 'mapsjs-mapevent', ['mapsjs-core']);
    addScript('js/mapsjs-service.js', 'mapsjs-service', ['mapsjs-core']);
    addScript('js/mapsjs-ui.js', 'mapsjs-ui', ['mapsjs-core',  'mapsjs-mapevent', 'mapsjs-service']);
    addStyle('css/mapsjs-ui.css');

    I don’t know if this is the right order because I don’t know the library.

    If it’s a problem of generating the code then try deploying and look into index.html. Your library should be referenced there.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    I think the problem is the order of loading your library.
    Look at the documentation to learn how you control the order loading the library.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    I am not sure if this possible at the moment.
    You can create separate modules for each of the pages and load the “page module” when onPageChange event is triggered.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    Do you use the Simplifier client to execute your application? Which operating system does your phone use?

    in reply to: Login problems at app
    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    Feel free to add your feedback to this thread so we find it easier again.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    Hi,

    You have to create that Auto Field in your module. You can do this in the Data Workbench while editing the module.
    For further information I recommend the documentation regarding the Data Workbench.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    Hallo, bitte installieren Sie das unvertrauenswürdige Zertifikat manuell auf dem Gerät und versuchen Sie es bitte erneut.

    Beste Grüße

    Kahn

    Sollte dies nicht funktionieren, können Sie es mit dem Entwickler-Modus versuchen. Dazu tippen Sie im Login Screen mehrmals auf das Simplifier Logo. Sie haben den Modus erfolgreich aktiviert, wenn sich das Logo einmal gedreht hat und wenn bei der Versionsnummer, die Sie unterhalb des Logos finden, ein “-Dev” hinzugefügt wurde. Wenn Sie sich nun versuchen einzuloggen, werden Sie gefragt, ob Sie dem Zertifikat vertrauen wollen.
    Warnung: Wenn Sie zustimmen, dass der Client nicht vertrauensvollen Zertifikaten vertrauen soll, wird der Client jegliche Zertifikate akzeptieren, bis dies wieder in den Einstellungen deaktiviert wurde.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    2
    Down
    ::

    You have to bind this.

    document.addEventListener("backbutton", onBackKeyDown.bind(this), false);
    
    function onBackKeyDown() {
        var curr_page = sap.ui.getCore().byId("Application").getCurrentPage();
        console.info(curr_page.getId());
        if (curr_page.getId() === "PAGE1") {
            console.info('close pressed');
            window.navigator.app.exitApp(); // OK
        } else {
            console.info('back pressed');
            // window.navigator.app.backHistory(); // <no action
            this.navBack(); // Uncaught TypeError this.navBack is not a function
            // window.navigator.app.navBack();  // Uncaught TypeError window.navigator.app.navBack is not a function
        }
    
    }
    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    1
    Down
    ::

    To navigate back you can use
    this.navBack();

    and to close the application you can use
    window.navigator.app.exitApp(success,error)

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    1
    Down
    ::

    You could try to upload your files without the fileuploader widget.
    For task like that you can use cordova-plugin-file-transfer which is part of the Simplifier client. You can find a documentation of the API on Github.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    You try the following:
    Add a button (sap.m.Button) and add the following to the press event like you did in a post above.

    var fileUploader = $(‘#Create_Image–ui_unifed_FileUploader-fu’);
    if (fileUploader !== null)
    fileUploader.click();

    Then add to the onAfterRendering of your screen the following code:

    $(‘#Create_Image–ui_unifed_FileUploader-fu’).change(function() {
    $(‘#Create_Image–ui_unified_FileUploader1-fu_form’).submit();
    });

    Now hide the button with a CSS rule which says

    display: none;

    Now you can trigger the hidden button with

    sap.ui.getCore().byId(“Id_Of_The_Button”).firePress()

    On this way the file chooser will appear automatically.

    @jonas.rausch You can’t fire the press event on this way because she uses sap.ui.unified.FileUploader which is a form with an input of type file.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    What are you trying to achieve? I see you use a fileuploader probably for an image. Maybe there is a different solution,

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    0
    Down
    ::

    Just for my understanding: You just want to use a click event of a button, right?
    This should work like on your PC. There shouldn’t be any differences.

    Dinkel
    Moderator
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
      Has successfully completed the online course Basics - 100.
    • Topics: 6
    • Replies: 18
    # 2 years ago
    Up
    1
    Down
    ::

    Hi,

    I’ve just found a different route in the application “Explored” which I searched some days ago and it gives me all applications including their modules.
    Here is a snippet of the Ajax setup:

    var ajaxSetup = {
    type : “POST”,
    url : SimplifierSettings.apiBaseUrl + “client/1.0/auth”,
    data : JSON.stringify({MacAddress: “random string”}),
    contentType : “application/json; charset=utf-8”,
    success : _onSuccess,
    context : this
    };

    Is it a outdated route?

Viewing 15 posts - 1 through 15 (of 18 total)