Forum Replies Created

  • Michael Monschau Monschau

    Member
    February 21, 2025 at 9:58 am in reply to: Omnis Studio IDE Programming

    There is a bunch of class notation that can help with this to some extend, i.e. to modify a method you can $classes.myclass.$methods.//$method_name//.$modify(2) which wold open the method editor at line 2 of that method. Any notation that begins with $classes or $libs.mylib.$classes will access class notation and $modify() is a method of the actual class or method within a class. Hope this helps

    Regards,

    MIchael

    • Michael Monschau Monschau

      Member
      February 21, 2025 at 10:04 am in reply to: Omnis Studio IDE Programming

      Sorry, did not read thoroughly. Don’t know much about controlling IDE windows except that preferences for these are stored in the configuration file. There are various sections to do with the IDE and method editor. May be worthwhile playing with those.

  • Michael Monschau Monschau

    Member
    May 3, 2024 at 11:02 am in reply to: Picture upload via API

    OXML.$base64encode requires the binary data of the picture. You have to load the data using FileOps first. For example

    Do FileOps.$readfile(“path_to_image”,pictData)

    Do OXML.$base64encode(pictData,err) Returns base64

    Both pictData and base64 variables are of type binary

  • Michael Monschau Monschau

    Member
    November 16, 2023 at 8:54 pm in reply to: $currentlayoutbreakpoint not behaving as expected

    Hi Uwe,

    The notation $cinst.$currentlayoutbreakpoint must be executed in a client executed method as that is where the property $currentlayoutbreakpoint applies. It does not exist on the server.

    The notation $remoteforms.rfMyForm… addresses the remote form class, not the runtime form instance and hence it only reports the breakpoint set in design mode.

    The. notation $iremoteforms.$currentlayoutbreakpoint is not valid without the instance name of the remote form instance, i.e. $iremoteforms.rfMyForm.$currentlayoutbreakpoint, however as I mentioned above, $currentlayoutbreakpoint can only be read on the client so addressing $iremoteforms will be of no use.

    Kind regards,

    Michael

  • Michael Monschau Monschau

    Member
    September 11, 2023 at 6:57 am in reply to: How can I write/read a file on my phone device?

    You would have to use the browser local storage using Javascript in an Omnis method. Read up about window.localStorage.setItem(), …getItem(), …removeItem(), etc. Don’t forget to encrypt sensitive data.

    I am hoping to discuss saving Omns data (including lists) using local storage and its limitations.

  • Sorry the first line should have said…
    I am using the Omnis Developer Portal in the hope that I will at least reach some of you who attended this session. I have also posted this message on the Omnis List.

  • Michael Monschau Monschau

    Member
    February 14, 2018 at 10:38 am in reply to:

    I apologise for this posting at root level. It was meant to be posted in the Omnis News thread. A copy of this item can be found there. I don’t know if there is a way of removing it from here. If whoever is managing the list can do, please do.
    Michael