cunstom page develop

Forum Home Forums Uncategorized Issues cunstom page develop

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9183
    Zeus
    Participant

    hi,
    I developed a custom web page. and there are some questions below.
    I use the SCADA clientapi.js and anaxqueue.js to request data from the server. if there are too many channels there will be an error with HTTP requests with method GET. the request URL will be too long. and there must be a view id.
    https://ibb.co/pvG9GyY
    To solve it I configured a table view ahead to get the channel data.
    https://ibb.co/1dTMVMc
    I think there is a good solution to solve it. Could you help me? Or could we change the method GET to POST?

    #9184
    Zeus
    Participant

    hi,
    the first picture is below
    https://ibb.co/xYWgvCw

    #9193
    Mikhail
    Moderator

    Hi,

    if there are too many channels there will be an error with HTTP requests with method GET

    How many channels can be requested without error?
    Probably you should split one big request to a set of smaller requests.

    To request channels of a view, the view should be loaded in server part of the web app as you did. But it’s not clear solution.

    Or could we change the method GET to POST?

    Using C# you can develop a plugin that provides any API in comfortable format.

    • This reply was modified 2 years, 9 months ago by Mikhail.
    #9198
    Zeus
    Participant

    hi,
    I see. I will develop a method POST. That is a good idea. Thanks a lot.

    #9201
    Mikhail
    Moderator

    Hi,

    This example may help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.