Skip to Content
author's profile photo Former Member
Former Member

Determining DataProvider infocube at runtime

I would like to know if there is an easy way to determine what InfoCube is assigned to a dataprovider at runtime of a Web template. My goal was to take the InfoCube name and then use it in some JavaScript code to control further logic in building the page. I saw some JavaScript functions in the API docs that get you Item properties or a DataProvider characteristic list, but I did not see anything to determine what the current value of INFOCUBE was.

My only thought was trying to inspect the URL string for the INFOCUBE pattern under a specific provider, but since we have encryption, I don't think that is feasible. Any thoughts on obtaining this would be appreciated.

Thanks.... Jody Chassereau

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2004 at 02:55 PM


    use the web item text elements

    with generate_caption= and only_values=X ELEMENT_NAME_1=INFOCUBE



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thank you so much, Heike.. That was exactly what I needed to accomplish this and was much more straightforward than when I had the hidden select box. I really appreciate you explaining how to bring text element data into web template logic.

      Thanks! Jody

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.