Forum Replies Created

Page 5 of 21
  • Andreas Pfeiffer

    Administrator
    October 29, 2024 at 1:36 pm in reply to: Undefined datagrid customformat column

    Martin,

    One more thing.

    Is this a user defined grid? If so, make sure that the $columndatacol property of each column fits with the column name of the list column.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 29, 2024 at 9:53 am in reply to: Undefined datagrid customformat column

    Hi Martin,

    Are you using the internal methods, i.e. $select? If so, can you check if the schema class is assigned to the $sqlclassname property and that the schema class has the columns that you expect?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 23, 2024 at 12:31 pm in reply to: Direct channel to further improving help resources?

    Hi Uwe,

    This is what the IDEAS section is all about. If you have any ideas to improve either Omnis Studio or the documentation please feel free to post it there. Those topics will be reviewed regularly from the team in UK.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 23, 2024 at 7:05 am in reply to: How to report spammers?

    Hi Paul,

    I just saw it and removed it.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    November 4, 2024 at 10:35 am in reply to: Undefined datagrid customformat column

    Martin,

    I don’t think so. However you can easily test it by omitting this code temporarily and see if it has any effect.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 30, 2024 at 12:44 pm in reply to: Undefined datagrid customformat column

    should be the column name only.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 23, 2024 at 9:37 am in reply to: jsProgressBar Control – not really controlling progress…

    Uwe,

    You are welcome.

    To make it clear. You do not need to have an Omnis REST server to make a push message to the client. There are two steps to send a push message.

    1. the remote form instance that will receive the push should open its channel. You can do this in the $construct of the form:

    Do $cinst.$openpush()

    2. When you want to push you need a reference to that remote form instance. Then you can send a push like this:

    Do $itasks.theOtherTask.$iremoteforms.myForm.$pushdata(row(‘something’))

    or – if you want to send it to the same task instance as you are in:

    Do $iremoteforms.myForm.$pushdata(row(‘something’))

    or – if your code is already in that instance:

    Do $cinst.$pushdata(row(‘something’))

    3. The form that will receive the push (i.e. myForm) has a $pushed method that you would need to override. This method needs to be client executed and will receive the row from the $pushdata.

    So for example if you have a busy loop running on the server you could do a push to the client by executing $pushdata to that instance. However there is still no way to interrupt that loop I am afraid since Omnis is busy running this loop.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 23, 2024 at 8:29 am in reply to: jsProgressBar Control – not really controlling progress…

    Uwe,

    The reason why you are not able to stop the loop might be because Omnis is busy running the loop and you try to interfere this from the outside.

    I would like to recommend a different approach. Let the loop run outside of the remote task, i.e. using a worker, a different thread (if in multithreaded mode) or even on a different Omnis instance. So the task will run completely in the background. This has the advantage that the user can continue working in your application.

    Once the task has finished you could then send a push to the client, i.e. making a red button become visible so that the user knows that the task is done and by clicking the button making the result visible.

    What do you think?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 22, 2024 at 7:39 am in reply to: jsProgressBar Control – not really controlling progress…

    Uwe,

    I haven’t tried this yet but you might be able to push a call to the client.

    In theory that could do the trick.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 10, 2024 at 9:15 am in reply to: File upload/download

    They are saved in the PDF folder location as you already mentioned. From there you can use the file object as Uwe already mentioned to pick them up again.

  • Andreas Pfeiffer

    Administrator
    October 10, 2024 at 7:03 am in reply to: File upload/download

    Hi Martin,

    So that means that Omnis does have access to the files already. So why uploading then?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 9, 2024 at 12:37 pm in reply to: File upload/download

    Martin,

    I am not sure what you mean with “customer statements”. Couldn’t Omnis create those PDF files? In that case they would already be on the Omnis server.

    If not, why not creating FTP access and upload the files that way? The FTP server simply needs to be in the same network as the Omnis server or the Web server you are using.

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 9, 2024 at 7:59 am in reply to: File upload/download

    Martin,

    In general you can upload several files one after another. Just open the sample library in the HUB that shows the file upload. It says: “select files” (plural) when you click the upload button. You can also drag&drop several files.

    ok – 5000 files is a very large number of files to be uploaded. I have never tested those numbers and depending on the file size it might take quite a while. So I wonder if there is any other approach, i.e. using an FTP server for this purpose?

    Best,

    Andreas

  • Andreas Pfeiffer

    Administrator
    October 8, 2024 at 12:03 pm in reply to: Subform Set Panel

    Awesome!

    Have a great day!

  • Andreas Pfeiffer

    Administrator
    October 8, 2024 at 10:30 am in reply to: Subform Set Panel

    For example: add the following to your user.css file:

    .omnis-wf-title-text {

    background-color:aliceblue !important;

    }

Page 5 of 21