Forum Replies Created

Page 1 of 3
  • Paul Mulroney

    Member
    May 19, 2024 at 8:44 am in reply to: Omnis in the Cloud

    Hi Martin,

    Short answer is yes!

    The long and more complicated answer is that you can setup Omnis to run on a cloud service, and you setup a jsClient to handle login and application framework etc. You can then host your database and application “in the cloud”. If your Omnis app is setup for Desktop, then you’ll have a bit of work to convert it to a cloud-based solution. That’s the situation we find ourselves in now.

    We’re working on a solution. We’ve developed a framework for our application that works on desktop, tablet and mobile, and we’re creating jsClient forms that have the same functionality as our desktop windows.

    Happy to talk you through the process.

    Regards,

    Paul.

  • Paul Mulroney

    Member
    May 19, 2024 at 8:40 am in reply to: Query About the Omnis Developer Conference in Dusseldorf

    Hi Andreas,

    Thanks for your reply! Hope you are well!

  • Paul Mulroney

    Member
    May 14, 2024 at 11:22 pm in reply to: Query About the Omnis Developer Conference in Dusseldorf

    I’ll say “Me too!” – I couldn’t make it to the conference, bad timing. If there is any video/livestream, we’d love to tune in too!

  • Paul Mulroney

    Member
    May 14, 2024 at 11:21 pm in reply to: Picture upload via API

    Hi Martin,

    Glad it worked for you!

    Sorry I can’t make it to the conference, would’ve loved to be there but timing didn’t work for us.

    Regards,

    Paul

  • Paul Mulroney

    Member
    May 14, 2024 at 1:47 am in reply to: Picture upload via API

    Hi Martin,

    You don’t need the first part – you just need to get the contents of the file into the variable lbinary, and then do this:

    Calculate vsImageEncoded as utf8tochar(bintobase64(lBinary))
    Calculate vsImageEncoded as con('data:image/png;base64,',vsImageEncoded)

    How you populate lbinary depends on whether you can read the file from disk, or retrieve it from a URL.

    To read it from disk, do something like:

    Do voFileOps.$openfile('path to the file')
    Do voFileOps.$readfile(lbinary)
    Do voFileOps.$closefile()

    If you need to fetch it from a website, you need something like this:

    HTTPPage ('https://www.omnis.net/wp-content/uploads/2018/11/omnis-Logo.png') Returns lbinary ## fetches header and content
    Calculate lbinary as bytemid(lbinary,binsearch(chartoutf8(chr(13,10,13,10)),lbinary)+4,binlength(lbinary)) ## strip off the header and leave the content

    Regards,

    Paul

  • Paul Mulroney

    Member
    May 3, 2024 at 12:37 pm in reply to: Picture upload via API

    Try something like this:

    Calculate vsImageEncoded as utf8tochar(bintobase64(vrResult.delSignature)) ## bintobase64 returns UTF8 ready to send, but we need char because we're building the file ourselves.

    Then you can append this to the start

    Calculate vsImageEncoded as con(‘data:image/jpeg;base64,’,vsImageEncoded)


    Good luck!

    Regards,

    Paul.

  • Paul Mulroney

    Member
    August 10, 2023 at 1:55 am in reply to: Retrieve current list

    #CLIST has the name of the current list. I’m sure there’s a notation-y way to do it, but I’m not sure how that works.

    Regards,

    Paul.

  • Paul Mulroney

    Member
    June 24, 2022 at 1:37 am in reply to: Convert Microsoft Access to Omnis

    Hi $All

    This project has popped up again, so I thought I’d see – does anyone have anything that can do this?

    Regards,

    Paul.

  • Paul Mulroney

    Member
    June 24, 2022 at 12:42 am in reply to: Type Ahead

    Thanks Gav, that sounds like a great idea!

  • Paul Mulroney

    Member
    June 24, 2022 at 12:40 am in reply to: Linux Headless Server – too many users

    Which version of Omnis are you using? I thought that the developer license had a 5 user number so you could test multiple connections?

    Alternatively you can kill the process from the command line with “killall omnis” – this isn’t a nice way to stop everything, but it does work!

  • Paul Mulroney

    Member
    June 20, 2022 at 1:44 am in reply to: Omnis running as a Windows Service

    If you run the service as a particular user, then there are files stored in the users App Data folder – this is important when you want to run software updates etc.

    Also keep in mind that mapped drives are tied to a particular user – if you reference files on mapped drives, you must be running as a user that has access to those drives.

  • Paul Mulroney

    Member
    June 20, 2022 at 1:30 am in reply to: Best IDE for Mobile App Development

    I agree with Rainer – Omnis is a pretty good mobile platform to work with, because you can get both iOS and Android with the same code base. You can also get device controls eg camera, gps, contacts etc from the device so there are lots of options available.

    There are other platforms like Android Studio, or XCode for iOS, or Xojo (iOS only), or others. A quick Google search will show you plenty of options.

  • Paul Mulroney

    Member
    June 9, 2022 at 11:18 am in reply to: Omnis Studio 10.2 and VCS not working

    There was a patch for Studio 10.2 if you’re using Postgres for your VCS. Look at https://www.omnis.net/developers/resources/download/tools/libraries.jsp for the VCS library for Studio 10.2

  • Hi Everyone,
    With help from the list, and some personal replies, here’s what I found:
    At first, I couldn’t get the $sendall to work, so I coded this which did work:

    Do vlObjects.$define(vrObject) ;Create a list of objects that we want to work with
    Do $cinst.$objs.PagedPane.$objs.$sendall(vlObjects.$add($sendallref)) ;Add all objects from this page pane into a list
    Begin reversible block
    Set current list vlObjects
    End reversible block
    For each line in list from 1 to #LN step 1
    If $cinst.$objs.PagedPane.$panenumber(vlObjects.vrObject)=pnCurrentPage ;This is on the page that we want to validate
    Do vlObjects.vrObject.$validate() ;Call this specific validate method
    End If
    End For

    Then I received a couple of replies, which led me to this:

    Do $cinst.$objs.PagedPane.$objs.$sendall($ref.$validate(),$cinst.$objs.PagedPane.$panenumber($sendallref)=pnCurrentPage)

    Note using $ref in the first part, and $sendallref in the second part.
    See also this tech note which explains it more fully: https://www.omnis.net/developers/resources/technotes/tngi0027.jsp
    Regards
    Paul.

  • Paul Mulroney

    Member
    February 17, 2021 at 8:53 am in reply to: IOS Dev : is it possible to Include AR Kit

    Hi Rainer,
    I still want to do this, but so little time for “recreational programming”! 🙂
    I was thinking, using the new SDK would also be the way to allow Omnis to interact with Apple Watch – you could build views for Apple Watch in the SDK and then trigger these with endpoint calls to/from Omnis.
    If only someone could pay me for being creative! lol 🙂 🙂 🙂
    Regards,
    Paul.

Page 1 of 3