Encountered something today that I forget about every 6 months or so and thought i would see how others handle the situation.
In our development area we set up temporary servers (dev1,dev2 kind of thing) to work in segregated areas. But because of things like SUBNM not liking cell references the server name is hardcoded into the websheet, so when I copy over from prod to a dev area I have to remember to do a find and replace on all the templates. Is there anyway that I can setup the websheets to be more modular in their nature? I have kicked around having a master config sheet, but once again the SUBNM issue comes into play. I know my major problem is that I expect TM1 functionality to keep pace with development methodologies of other languages and I really should not, but I can't seem to put aside my coding background.
Is there a good way to create websheets for maximum portability?
Websheet Best Practices
- George Regateiro
- MVP
- Posts: 326
- Joined: Fri May 16, 2008 3:35 pm
- OLAP Product: TM1
- Version: 10.1.1
- Excel Version: 2007 SP3
- Location: Tampa FL USA
- Eric
- MVP
- Posts: 373
- Joined: Wed May 14, 2008 1:21 pm
- OLAP Product: TM1
- Version: 9.4
- Excel Version: 2003
- Location: Chicago, IL USA
Re: Websheet Best Practices
See attached.
Is this kind of what you are looking for? (FYI this does not work on web due to a unsupported function, RANK(), but gives you an idea of how I have dealt with the server issue). Also I am not using the SUBNM, but I think a simple cell reference should do the trick. I have not tried. I am not aware of a way to have the file know which server you are on/want? I foresee problems if your are connected to 2 servers, a toggle seems good enough for most of my purposes.
Is this kind of what you are looking for? (FYI this does not work on web due to a unsupported function, RANK(), but gives you an idea of how I have dealt with the server issue). Also I am not using the SUBNM, but I think a simple cell reference should do the trick. I have not tried. I am not aware of a way to have the file know which server you are on/want? I foresee problems if your are connected to 2 servers, a toggle seems good enough for most of my purposes.
- Attachments
-
- Active_Users_Dashboard.xls
- (56.5 KiB) Downloaded 512 times
Regards,
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1
Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1
Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
- George Regateiro
- MVP
- Posts: 326
- Joined: Fri May 16, 2008 3:35 pm
- OLAP Product: TM1
- Version: 10.1.1
- Excel Version: 2007 SP3
- Location: Tampa FL USA
Re: Websheet Best Practices
Thanks Eric. I was thinking of going down a similar path that you have headed down. As far as being connected to more then one server I really dont have that problem since we are exclusively web (Not my decision) so I dont have to deal with multiple logins. So far the biggest hurdle in my case is the SUBNM, since reading their docs
and in testing I noticed there is strange behavior as to what actually opens up after double clicking when there is a cell reference.TIP: Do not use cell references as arguments with the SUBNM function. Cell references prevent the function from correctly calling and launching the Subset Editor when you double-click the cell that contains the SUBNM function.
- Eric
- MVP
- Posts: 373
- Joined: Wed May 14, 2008 1:21 pm
- OLAP Product: TM1
- Version: 9.4
- Excel Version: 2003
- Location: Chicago, IL USA
Re: Websheet Best Practices
Well doesn't that stink! With that little tidbit, I got noth'nTIP: Do not use cell references as arguments with the SUBNM function. Cell references prevent the function from correctly calling and launching the Subset Editor when you double-click the cell that contains the SUBNM function.
Regards,
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1
Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1
Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
- Eric
- MVP
- Posts: 373
- Joined: Wed May 14, 2008 1:21 pm
- OLAP Product: TM1
- Version: 9.4
- Excel Version: 2003
- Location: Chicago, IL USA
Re: Websheet Best Practices
Not ideal, but could work on some of your worksheets. Whack* SUBNM and use the excel validation tool? Once again not ideal, but if the elements rarly change, it could work. Example Year (2007, 2008, 2009, 2010, etc) or Scenario (Actual, Budget, Prior Year, Prior Period,Etc)
*Whack another Chicago term, similar from Rub Out from the Al Capone era.
*Whack another Chicago term, similar from Rub Out from the Al Capone era.
Regards,
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1
Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1
Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
-
- Regular Participant
- Posts: 152
- Joined: Fri May 23, 2008 12:08 am
- OLAP Product: TM1 CX
- Version: 9.5 9.4.1 9.1.4 9.0 8.4
- Excel Version: 2003 2007
- Location: Melbourne, Australia
- Contact:
Re: Websheet Best Practices
This applies only in Excel. in TM1 web the subset editor will still launch if the 1st (server and dimension) argument is a cell reference rather than a string. As all end user access seems to be via web then a single cell reference for server name should do the trick for you nice and easy.TIP: Do not use cell references as arguments with the SUBNM function. Cell references prevent the function from correctly calling and launching the Subset Editor when you double-click the cell that contains the SUBNM function.
Re: Websheet Best Practices
Regarding this frequently asked question, see also this thread.
- George Regateiro
- MVP
- Posts: 326
- Joined: Fri May 16, 2008 3:35 pm
- OLAP Product: TM1
- Version: 10.1.1
- Excel Version: 2007 SP3
- Location: Tampa FL USA
Re: Websheet Best Practices
Thanks I will try uploading my samples to web. I had done some samples in excel and the SUBNM did not work properly so I never uploaded because I expect things to break when I upload them to the web and not actualy gain functionality.