Forum Replies Created

  • Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Thomas,

    when using the function generateWithConfig in our SF_PDF BusinessObject you can pass  { “page-height”: “54mm”,”page-width” : “86mm”} in the configJSON input variable.

    in reply to: PDF PageSize
    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    1
    Down
    ::

    Hi Christian,

    it would be https://myenv.stage.simplifier-install.com

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    1
    Down
    ::

    Hi Christian,

    i’m sorry to tell you that you can’t do it this way. The reason it is not working is that nonWorkingDays needs to be an array but you define it as a string with the value “[0,1]”

    I would suggest you to create a global variable of the type array of int (which you can create with a collection and the basetype integer). Afterwards you can set the default value to [0,1] in the json view.

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Hannah,

    the pop function works, as we also use it in some applications.

    Have you checked if the value of your global variable is actually an array?

    Where do you use that code sample(application script block, serverside businessobject, clientside buisness object)?

    Here’s also a quick reference to the documentation: Array.prototype.pop()

     

    in reply to: Java STACK.pop()
    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Patrick,

    the nativ QR-Code feature is only for mobile devices, if you want to decode the QR-Code in your Web Application, you’re going to need a external library (you can try this one https://github.com/LazarSoft/jsqrcode) for it.

    Afterwards you can build a videostream to scan the QR-Code or you can upload the QR-Code as image and decode it with your chosen library.

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Gabriel,

    the call you are using seems to work only with elements bound via Simplifiers visualbinding.

    In the example the table was bound via an ItemsPath, so the context of the model on pressing the item is not the view name but requires the name ‘variableHolder’.

    Please create an new Clientside BusinessObject and create a Method analogous to “ITIZ_Utilities “-> “GetSelectedListItem”.

    Afterwards change the scriptline 4 into:

    var oOriginal = lo_listItem.getBindingContext(Object.keys(oSelectedItem.oBindingContexts)[0]).getObject();

    We are currently working on a solution in ITIZ_Utilities to correct this error.

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    1
    Down
    ::

    Hi Alex,

    you can access those values like this:

    {{#person}}

    {{name}}

    {{age}}

    {{/person}}

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Andreas,

    you got a personal mail.

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hello Andreas,

    this can’t be done unfortunately, because the playground gets reseted every morning.

    If we would assign the roles to you they will be gone by the next reset, same as the db schema and application you transported.

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hello Dora,

    the first option is, to manually rebuild your current Application as an Simplifier Application, that means to create every screen and action by yourself. This will make the management and maintenance easier afterwards.

    the second option, that we do not recommend, is to create a Simplifier Application and then copy your code into the file of the “code” section. After copying your code into the “code” section you should just need to save the scripts. If you deploy the Application your pasted code will be overwritten by the configured simplifier app which is empty in your case.

    It is uncertain to say that copying your UI5 application project structure to the “code” section of Simplifier will work

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    0
    Down
    ::

    Hi Dora,

    it is possible to merge your Ui5 Application on Simplifier, but you will not be able to configure it like all other simplifier applications, so we do not suggest to do it that way.

    Vitali
    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: 0
    • Replies: 14
    # 2 years ago
    Up
    1
    Down
    ::

    Hi Klaus,

    You can iterate in templates with the mustache notation. This will look like this:

    {{#pathToArray}}
    {{key}} or {{this}} if it is a simple array
    {{/pathToArray}}

    You can find more information here.

    Vitali
    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: 0
    • Replies: 14
    # 3 years ago
    Up
    1
    Down
    ::

    Hi Ralf,

    I’m sorry to tell you that it’s not going to work out the way you want it to.

    UI5 doesn’t provide any way to access the current element or its properties in expression/property bindings, since they are included in the View.json.

    If you just don’t want to use your USER_Struct variable for the binding, a possible alternative could be to write the values of the selected property of each checkbox into a view model and then reference the model path in the binding of the key property of the respective checkbox in the UI Designer. For this you need to take care of initializing the view model first though.

    If you want to have an example of the ‘ViewModel’ solution, I’ll be happy to provide you with one.

    As another option you could add a formatter function to the property binding of ‘selected’ for each checkbox but again, this would rely on scripting and usage of model binding.

    Regards,

    Vitali

    Vitali
    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: 0
    • Replies: 14
    # 3 years ago
    Up
    0
    Down
    ::

    Hey Ralf,

    you can simply configure it in the Process Designer like in the Screenshots below.

    If the condition is true i set the key to ‘X’ through a constant, otherwise i set it to ”

    I hope it helps you out.

    Attachments:
    You must be logged in to view attached files.
Viewing 14 posts - 1 through 14 (of 14 total)