Cognos Analytics

Cognos Analytics

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

 View Only
Expand all | Collapse all

Creating FORMS to accept input from end user

  • 1.  Creating FORMS to accept input from end user

    Posted Tue February 08, 2022 09:49 AM
    Hi all, just wondering if we can create forms (similar to google form) to accept the inputs from user.  As temporary workaround we can use text prompts to input the values or Stored Procedure to get capture prompted inputs and process back to report/dashboard, which I feel a traditional way of achieving it. Is any one explored new method or any recent feature in cognos to support forms. Thanks for your comments.

    ------------------------------
    SWAMY THIPPESWAMY
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Creating FORMS to accept input from end user

    Posted Tue February 08, 2022 10:26 AM
    Hi Swamy,

    If you need to accept inputs from users, you just need to create a prompt in your report:
    https://www.ibm.com/docs/en/cognos-analytics/11.2.0?topic=reporting-adding-prompts-filter-data

    For instance, if you have a Country column, you might want to create a filter with the following expression:
    [Country] = ?pCountry? (you will be able to select only one country)
    or
    [Country] in (?pCountry?) (you will be able to select many countries)

    Best regards,

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



  • 3.  RE: Creating FORMS to accept input from end user

    Posted Tue February 08, 2022 10:55 AM
    Thanks Patrick.  Additionally,  We would want to capture this data to db to create report out of it instantaneously. So want to know how do we store these data inputs back to db table other than stored procedure method. 

    Regards,

    ------------------------------
    SWAMY THIPPESWAMY
    ------------------------------



  • 4.  RE: Creating FORMS to accept input from end user

    Posted Wed February 09, 2022 04:07 AM
    Hi Swamy,

    I think there is nothing out of the box. I don't know what can be done.

    Best regards,

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



  • 5.  RE: Creating FORMS to accept input from end user

    Posted Wed February 09, 2022 06:26 AM

    SWAMY THIPPESWAMY – there are several ways you can deal with this, but to stick with the IBM Cognos suite or products, you could use IBM Cognos Planning (TM1) to capture data, write back to database or you could also report directly off of a TM1 Cube.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Peter Chan

    613-295--0428

     






  • 6.  RE: Creating FORMS to accept input from end user

    Posted Wed February 09, 2022 04:19 AM
    Hi,

    you can create such a form like interface by adding a stored procedure from your database to a framework that writes back data again to a table in the database. You can have multiple fields n the table, that are filled by a prompt, a constant (current_date) or for example the username. Here you can find more information on how to set up this functionality: Creating or modifying stored procedure query subjects - IBM Documentation. 
    Be aware that you need to set your database access to write as well.

    ------------------------------
    Robert-Peter den Heijer
    ------------------------------



  • 7.  RE: Creating FORMS to accept input from end user

    Posted Wed February 09, 2022 06:04 AM
    Hi Robert,

    Thanks for the details. I have created SP in SQL Server and imported to FM. It is perfectly working fine as expected.
    Post import to FM, have selected Type as "Data Query", added macro prompt to all the input columns and tested with input values which is writing to table. However at Report Studio, have created textbox prompts with same prompt parameters name of FM and then raw table as list on report page. This is not reflecting back to underneath table. Do we have to map textbox prompts back to any of columns on report ?


    Thank You!

    ------------------------------
    SWAMY THIPPESWAMY
    ------------------------------



  • 8.  RE: Creating FORMS to accept input from end user

    Posted Wed February 09, 2022 05:54 AM
    Swamy,

    In Framework Manager, you can import database stored procedures as a query object that can accept parameters, and can either retrieve or update data based on the nature of the stored procedure.

    If you are using data modules, this is not a supported feature:
    Framework Manager features not supported by data modules (in Appendix C)

    Best regards,

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



  • 9.  RE: Creating FORMS to accept input from end user

    Posted Thu February 10, 2022 07:52 AM

    Hey together,
    I recommend to have a look at Apparo FastEdit - available from the IBM Accelerator Cataloge:
    https://community.ibm.com/accelerators/catalog/content/Apparo-Fast-Edit
    A trial version with a license for one business case it available there. 

    For further requests just ask @Jens Bäumler
    I tried it once and it works perfectly when you want to setup a 3rd-party software. 



    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ
    Ingelfingen
    ------------------------------



  • 10.  RE: Creating FORMS to accept input from end user

    Posted Thu February 10, 2022 12:26 PM
    I wrote about this years ago. https://cognospaul.com/2014/01/02/creating-data-entry-page-cognos/

    ------------------------------
    Paul Mendelson
    ------------------------------



  • 11.  RE: Creating FORMS to accept input from end user

    Posted Mon February 14, 2022 10:57 PM
    Hi All, Thank you so much for your quick response and guidance. I could able to achieve this by using Stored Procedure and Macro's on Framework Manager. Its working as expected. 

    Thank You!!!

    ------------------------------
    SWAMY THIPPESWAMY
    ------------------------------