Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How to attach credential header to OAC Analysis HTTP Data Action REST request

Received Response
51
Views
4
Comments
Rank 3 - Community Apprentice

I am trying to figure out to add headers to a HTTP Data Action.
This Documentation, "https://docs.oracle.com/en/cloud/paas/analytics-cloud/acubi/create-http-api-data-actions.html", states that you can add custom headers, however I don't see an option to add a header. Is it actually possible? I can't imagine that is not possible.

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • I see it just there on the screen on the data action…

    Don't you have it? It is also in OAS 2024, therefore it isn't an extremely new feature.

  • Rank 3 - Community Apprentice

    Forgive my limited exposure to the Oracle ecosystem, so I might not be using all the correct Oracle platform terms. We are using Oracle Analytics cloud and Oracle Data Visualization.
    So, I am starting to think there is no option for this, and clearly the documentation I am looking at is not for OAC Data Visualization,
    Here is the screen shot of the dialog for adding an Action Link to an analysis.


    Here are settings presented by the "Options" bution

    Thank you,

  • edited August 2024

    Ok, the documentation you linked above, just like the screenshot I posted, are for a DV workbook (DV being Data Visualization).

    The screenshot you posted, are not for DV, but are the action links in a "classic" analysis.

    In action links in "classic" you can't set headers. You can just define parameters and that's it ("classic" is when the pages are in the /analytics/… URLs, while DV is when you have /dv or /ui/dv in the URLs).

    "classic" is the old interface that exist in the product for many many years (15+), while DV is more recent and it is being actively developed by adding new features all the time.

    If you need to work in "classic", I believe you will have to request for customer headers to be added to the HTTP Request action. You can do that by posting an idea in Site faviconOracle Analytics Cloud and Server Idea Lab

    . The idea will then be evaluated by Oracle and they will decided if they will implement it or not, also based on how many other users express an interest in it. It could take a while (or forever) to get it.

    Because you are on OAC, you also can't use the action to invoke a script as workaround in the meantime, because in OAC you are not allowed to define custom scripts. What you could do is to have a proxy somewhere that would receive the call from OAC, add the required headers and then execute a request on the real target.

  • Rank 6 - Analytics Lead

    @User_D6W4O

    you can file an Idea Lab as Gianni Mentioned as a workaround you can embed the /analytics application in the other Application if both using same IDP for authentication so federated user and login and no need to authentication header in the action Link

Welcome!

It looks like you're new here. Sign in or register to get started.