Page 1 of 1

TM1Web URL for element selectionson common Dimension

Posted: Mon Jan 19, 2015 4:26 pm
by wang_chris
We are going to create a dashboard to include several iframes together.

It can be made by TM1Web URL (Action=Open &Type=CubeViewer, and other parameters) for each iframe. However, since these iframes share same dimensions, we want to hide DimensionBar in each iframe, and keep these common dinesions outside. So client can select elements from these common dimensions, and once a selection is done, all these iframes will react to the new selected elements.

But I can not find a URL link or java script for such dimension/element operation in TM1 Manual.

How can we make these common dimensions in a dashboard/portal?

Regards,
Chris

Re: TM1Web URL for element selectionson common Dimension

Posted: Mon Jan 19, 2015 7:42 pm
by tomok
You can't find it in the manual because it's not there and AFAIK what you want to do via TM1Web cannot be done. In TM1Web, each browser window (and that includes iframes) is independent. There is no knowledge between windows, or in your case, frames. So Frame_1 would have no clue what has happened in Frame_2. You might be able to write some client-side javascript code that refreshes the content in other frames based on some keystrokes in the current frame but that's only a guess.

On a side note, TM1 documentation has been historically light on "what can be done with TM1" type stuff. They pretty much just give you the technical documentation and figuring out just exactly how to accomplish something with TM1 is up to you.

On a second side note, iFrames are extremely frowned upon in the web development community. It's a very old technology and may soon be dropped from support in the major browsers. AJAX is what you are looking for in this case and TM1 does support AJAX calls. However, it is new to 10.2.2 and there is zippo in the way of examples. Good luck!

Re: TM1Web URL for element selectionson common Dimension

Posted: Wed Jan 21, 2015 4:27 pm
by wang_chris
Is there AJAX call function introduction in TM1 Manual?

Re: TM1Web URL for element selectionson common Dimension

Posted: Wed Jan 21, 2015 5:12 pm
by tomok
wang_chris wrote:Is there AJAX call function introduction in TM1 Manual?
Hold on. I'll stop what I'm doing for a paying client, look that up, and then get back to you ASAP. :roll: