Forum Replies Created

Page 5 of 5
  • Uwe Smidt

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

    Dear Götz,

    Yep, that worked fine!

    Thank you!

    Uwe

  • Uwe Smidt

    Member
    November 19, 2023 at 4:10 pm in reply to: $currentlayoutbreakpoint not behaving as expected

    Damn… still not working!

    I put

    Do inherited
    Calculate myVariable as $cinst.$currentlayoutbreakpoint
    If $cinst.$currentlayoutbreakpoint=320
    Do $cinst.$objs.native_list.$width.$assign(10)
    Else If $cinst.$currentlayoutbreakpoint=768
    Do $cinst.$objs.native_list.$width.$assign(100)
    Else
    Do $cinst.$objs.native_list.$width.$assign(0)
    End If

    in my remote forms $init, but $cinst.$currentlayoutbreakpoint just doesn’t do anything

    Any ideas?

    Thanks in advance

    Uwe

  • Uwe Smidt

    Member
    November 17, 2023 at 11:21 am in reply to: $currentlayoutbreakpoint not behaving as expected

    Hi Michael,

    This makes perfect sense – thanks for your help!

    Best regards

    Uwe

  • Uwe Smidt

    Member
    November 13, 2023 at 12:54 pm in reply to: Saving named Workspaces

    Dear $Omnis,

    Do you have an update for me? We have Omnis 11 now, and when starting Omnis, there is a message ‘restoring previous IDE state’. So the basic toolkit to fulfill my wishes seems to be there…

    Maybe there is a work around for me in the meantime, like having multiple config files, one for each screen setup…?

    Best regards

    Uwe

  • Uwe Smidt

    Member
    April 20, 2023 at 6:59 pm in reply to: user-defined constants

    Yippiiieeeee!

  • Uwe Smidt

    Member
    April 10, 2023 at 5:11 pm in reply to: Schema mapping database value type “date” to wrong data type

    Dear Minh Phuong,

    I recently had a mis-mapping between a Postgres Servertable and an Omnis Schema on the primary key property.

    I don’t know if it was a problem of the Postgres-DAM or of Postgres itself. But when I recreated the Postgres Object (via PGAdmin), in this case the table, the mis-mapping stopped, and primary was primary on both sides.

    This is only a workaround, but it could help you to isolate the problem.

    Best regards

    Uwe

    • This reply was modified 2 years, 3 months ago by  Uwe Smidt.
  • Uwe Smidt

    Member
    April 3, 2023 at 9:33 am in reply to: Removing items from a list with $sendall

    Dear Marten,

    Thank you for your answer!

    My wish to do it in just one line of code seems to be like ‘sawing off the tree branch on which you sit’ – so I’ll do it in 2 lines as proposed by you 😉


    Best regards!

  • Uwe Smidt

    Member
    February 7, 2023 at 4:31 pm in reply to: Easy way to send library WITH database?

    Dear Andreas,

    Thank you for your prompt and comprehensive answer!

    I assume your solution works fine for an isolated problem in one form.

    But if the problem is more complex or difficult to locate in an application/library, it may become more economic to include the whole database for the troubleshooting, as opposed to rebuilding parts of an application into a stand-alone prototype to reproduce the problem.

    Therefor I look for an approach to include the database structure & data along with the library.

    But I assume there is no such easy way with little effort on the sending and receiving side. Instead, probably doing a database dump and sending it along side, plus a dialog to edit connection parameters, is the better way…

    Thank you anyway

    Best regards

    Uwe

    • This reply was modified 2 years, 5 months ago by  Uwe Smidt.
  • Uwe Smidt

    Member
    June 25, 2022 at 1:50 pm in reply to: Linux Headless Server – too many users

    Thanx for your response, Paul!

    I am using 10.2, and quite honestly, I don’t know how many concurrent users my developer license allows for – I’ll check.

    But even so, there seems no way to log in to the headless server when I’m the n+1’th user, in order to kick out users as admin.

    I assume your command kills all processes, as opposed to resetting client connections. Then I’d rather restart the container with ‘docker restart <containerID>


    But instead of using a sledge hammer I was looking for a way to check & kick out client connections…

  • Uwe Smidt

    Member
    November 29, 2023 at 9:29 am in reply to: Export to a file-issues

    Dear Andreas,
    Thank you for your great sample – I have integrated it into my library, and it works fine!

    Best regards
    Uwe

  • Uwe Smidt

    Member
    November 6, 2023 at 9:49 am in reply to: ERROR: failed to bind Omnis Server Socket

    Great, thanx Andreas!

  • Uwe Smidt

    Member
    November 3, 2023 at 12:19 pm in reply to: ERROR: failed to bind Omnis Server Socket

    Hi Andreas,

    Thank you for your prompt answer!

    So the error message refers to the Node.js port on 6102, and not the Omnis Server port which I put on 5902?

    I’m not using the worker object, but where could I change Node.js port on 6102?

    Thanks a lot & have a great weekend!

    Uwe

  • Uwe Smidt

    Member
    April 3, 2023 at 8:47 am in reply to: Displaying Document Previews – with picture control?

    Dear Götz,

    Thanks for your answer.

    I had hoped for an easier and more general way to display previews of any kind of file, as in MacOS’s Finder…

    But this should work for PDFs!

  • Uwe Smidt

    Member
    March 6, 2023 at 12:08 pm in reply to: Displaying Document Previews – with picture control?

    Hi Götz,

    Thank you for your help! I tested it, and yes, it works fine for all(?) image formats as jpg, png, svg etc, also for PDF, and even for special formats like NEF (Nikon RAW format).

    But it does not preview text files, XML, CSV, Docs etc – which would be great for what I want to do – a small Document Management system. Maybe that needs a special tool / external site etc …?

    With

    Begin statement
    Sta: <div>
    Sta: <h2>Pictures</h2>
    Sta:

    You can embed pictures.

    Sta: Test
    Sta: </div>
    End statement
    Get statement lcHTML
    Calculate $cinst.$objs.ctrHTML.$html as lcHTML

    I could display all these image files, but I needed to put them to a directory on my Web server first.<div>Is there a way to display test.pdf in ctrHTML when the file is stored in irData.File?</div><div>

    Sta: irData.File] width=”200″ height=”176″ alt=”Test” />

    did not work!

    Thanks in advance!</div><div>Uwe</div>

    • This reply was modified 2 years, 4 months ago by  Uwe Smidt.
Page 5 of 5