Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Reading files from FTP location and upload to CA

    Posted Fri September 16, 2022 08:21 AM
    The excel files are stored in an ftp location and the goal is for our process to grab the files from that location and load (replace/append) to an already existing excel data source definition to use with datamodule

    Can this be done, has anyone done this

    Thank you.

    ------------------------------
    Udaya Rani Palli
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Reading files from FTP location and upload to CA

    Posted Fri September 16, 2022 10:48 AM
    Hi Udaya,

    You can use REST API to update your file:
    REST API for Cognos Analytics

    You will use /files/import/{id} to update an existing file import.

    Best regards,

    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    ------------------------------



  • 3.  RE: Reading files from FTP location and upload to CA

    Posted Fri September 16, 2022 12:21 PM
    Hello Sir, 

    Thank you very much for your reply. This will be my first time attempting to use/consume API in CA, can you please give me some guidance or examples that will show me how and where the Rest API should be implemented.

    ------------------------------
    Udaya Rani Palli
    ------------------------------



  • 4.  RE: Reading files from FTP location and upload to CA

    Posted Mon September 19, 2022 02:09 AM
    Dear Udaya

    You can simply use an ETL tool to utilize cognos REST API. 

    Regards
    Sukru

    ------------------------------
    Sukru Haciyanli
    ------------------------------



  • 5.  RE: Reading files from FTP location and upload to CA

    Posted Mon September 19, 2022 06:34 AM
    Hi, 

    You can look at the accelerator catalog. 

    https://community.ibm.com/accelerators/catalog/content/Script-to-upload-file-using-REST-API-(11.1.7-and-above)

    Regards
    Kiran

    ------------------------------
    Kiran Passumarthi
    www.linkedin.com/in/kiranpassumarthi
    ------------------------------