• Resolved anespa

    (@anespa)


    Dear Team,
    I am using WPBI Lite for my wordpress installation. I have a non-wordpress site which has connection with the WP site. I need to take the Chart & Table functionality to my non-wp instance . Is WPBI provide any support for same ? Please give a solution to call the WPBI plugin functionality externally.

    Thanks,
    Anes

    http://wordpress.org/plugins/wp-business-intelligence-lite/

Viewing 5 replies - 1 through 5 (of 5 total)
  • What you would need in this case is a Web Service interface to be integrated with the plugin code that calls the internal API to retrieve the data and make them available via Web Service.
    The data are retrieved as JSON son creating a web service to serve them should be quite easy.
    For the moment the plugin does not implement such interface.

    Thread Starter anespa

    (@anespa)

    Dear Team,
    Thanks for your fast support . Do your team can give a detailed information regarding “How the Web Service interface to be integrated with the plugin code that calls the internal API to retrieve the data”. That is the point we really seeking the help.

    Thanks,
    Anes

    Thread Starter anespa

    (@anespa)

    Dear Claudio,
    From my detailed analysis, I reached an assumption that to make an interface I need to create a new plugin that uses WP Business Lites functions/classes and provide the required web service through that. Please verify my assumption . I am waiting for your quick reply.

    Thanks,
    Anes

    Hello Anes,
    yes this is a possible solution, or you can just extend the existing WPBI code base so as to be able to serve the deta via web service calls. You don’t necessarily need to develop a separate WP plugin, but simply add a file that receives parameters in the query string (query ID typically) executes the query and sends back the results as a JSON string.
    I hope this helps.

    Thread Starter anespa

    (@anespa)

    Dear Claudio,
    As you suggest , I tried an option to directly call your API function
    for chart using a test file in my wordpress root . I called it as xyz.php
    with code
    <?php require_once(“wp-load.php”);?>
    <?php $test = get_html_4_chart(1);// 1 is id of already exist chart
    echo $test;
    ?>
    When I call directly this file,I got the result as the Javascript files & some CSS rules . There is
    any method to take the result as HTML or any other alternative to make
    it show as chart in a screen ? Please advise.

    Thanks,
    Anes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to communicate with WPBI plugin’ is closed to new replies.