TM1 Active Form

Post Reply
gayathri
Posts: 2
Joined: Mon Oct 22, 2012 10:19 am
OLAP Product: Cognos TM1
Version: 9.5.2
Excel Version: 2007

TM1 Active Form

Post by gayathri »

Hi,

Need some help with the Active forms.

I have two active forms, once i click on an action button in the first active form,it will make some changes in the dimension elements(it deletes few records) and takes me to the second active form.Now once i come back to the first sheet it is still showing the deleted records.(Its not refreshing the form).We can refresh it by clicking on the'rebuild the current sheet' but my client doesnt want to do that.Neither he wants an action button which rebuilds the sheet.

So is there any way to refresh the sheet without clicking anything.

Thanks in Advance!
User avatar
qml
MVP
Posts: 1098
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: TM1 Active Form

Post by qml »

Go to the Action Button Properties window and change the Calculate option to Rebuild Sheet without changing anything else, then click OK.
Kamil Arendt
gayathri
Posts: 2
Joined: Mon Oct 22, 2012 10:19 am
OLAP Product: Cognos TM1
Version: 9.5.2
Excel Version: 2007

Re: TM1 Active Form

Post by gayathri »

Thanks for your reply!

But ..sorry..in the first active form,its not an action button...it is an excel button,inside which macro has been written which in turn runs a TI process to delete records.

Sorry once again!

Is there any other way to refresh the sheet.
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: TM1 Active Form

Post by lotsaram »

gayathri wrote:Thanks for your reply!

But ..sorry..in the first active form,its not an action button...it is an excel button,inside which macro has been written which in turn runs a TI process to delete records.

Sorry once again!

Is there any other way to refresh the sheet.
If you can write a macro to run a process (not that easy since this requires a whole lot of TM1 API declarations - but I'm assuming you copy and pasted from someone else) then surely you can also read the reference guide documentation "TM1 Macro Functions" and look up the function "TM1REFRESH"? ... Oh no, you can't because despite this function being introduced in 9.4 and the current version being 10.1.1 IBM still hasn't updated the documentation to include this function! :roll: .

(Mind you using the macro recorder and pressing Alt+F9 keys to see what gets recorded ain't that difficult either. Nor is a quick search of this forum for "active forms" where you would have found this function referred to countless times I'm sure.)
Post Reply