how to get data from web page into dynamics 365 b c?

kmkaotkmkaot Member Posts: 261
I want collect data on frequencies period from web or web source,
will anyone suggest the options available

warm regards
Crishna

Answers

  • ftorneroftornero Member Posts: 524
    Hello @kmkaot,

    You can use something like this to get web page
    pageextension 50101 CustomerListExt extends "Customer List"
    {
        trigger OnOpenPage();
        var
            Client: HttpClient;
            Response: HttpResponseMessage;
            URL: Text;
            Content: HttpContent;
            Page: Text;
        begin
            URL := 'http://www.elmundo.es';
            Client.Get(URL, Response);
            Content := Response.Content;
            Content.ReadAs(Page);
            Message(Page);
        end;
    }
    

    Or if the web source have an API use it.

    Sorry, the information you asking for is very generic.


    Regards.
  • kmkaotkmkaot Member Posts: 261
    Hi, ftornero

    Thank you very much for quick support.

    There is website for collect and display data from devices with GSM sim. This website is showing real time values. I need to collect data online store in NAV table. for example Meter Id, Current reading, Pressure etc.

    please advice...
    thanks in advance

    kmk

  • ftorneroftornero Member Posts: 524
    Hello @kmkaot,

    To try to help you out is necessary more information about what you want to do, i.e:
    • Is there an API to get the data ?
    • Do you need, otherwise, to get the page and parse the data to obtain the information you need ?
    • Is the page public so you can post the URL here ?
    • And all the information you can share about the project....

    How I said before you need to be more specific.

    Regards.
Sign In or Register to comment.