Hello all,
Just looking for a bit of advice on having multi-users upload data to TM1 via PAW.
Here's the details:
-Multiple users will input data offline into a standard template
-Security is controlled via a Department dimension for each user
What I've done in the past using TM1 Web is provide a hyperlink to a shared folder where users would drop the standard templates, then run a TI to import data into the respective cube.
It was a good solution at the time but had it's challenges i.e. upload files needed to be protected as data was sensitive, file management became tedious, etc.
I'm looking for a more updated/modern approach if one exists or just possible other ideas on how this could be accomplished.
To summarize:
Multiple users need to load data into TM1 via standard templates. Security exists on a Department dimension and data is sensitive in nature so that upload templates can't be stored in the same directory.
Any advice would be greatly appreciated.
Thanks in Advance!
User Upload csv files through PAW interface
-
- MVP
- Posts: 3233
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: User Upload csv files through PAW interface
I would give each user his or her own folder. All subfolders of 1 root folder.
If you do this in a consistent way (through naming and/or attributes on the }Clients dimension) then the DataSourceNameForServer function in the Prolog tab can easily satisfy which subfolder it is, and load the data. Normal Windows security access should be used for securing the subfolders.
If you do this in a consistent way (through naming and/or attributes on the }Clients dimension) then the DataSourceNameForServer function in the Prolog tab can easily satisfy which subfolder it is, and load the data. Normal Windows security access should be used for securing the subfolders.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 35
- Joined: Mon Aug 21, 2017 2:14 pm
- OLAP Product: TM1
- Version: 10.3
- Excel Version: 2016
Re: User Upload csv files through PAW interface
Hi Wim,
Makes sense thanks for the reply!
What I'd like to know is if a user would be able to click a link from PAW and have the sub-folder pop open on screen. Is this possible?
I've read posts about customizing virtual directories in IIS but I believe that applies to hyperlinks from perspectives web sheets.
It's not an absolute requirement but to provide a clean user experience popping open the link to the sub-folder from within PAW would be desirable.
I imagine embedding a snippet of a perspectives sheet with one action button may help with this but not sure.
Any advice on this?
Makes sense thanks for the reply!
What I'd like to know is if a user would be able to click a link from PAW and have the sub-folder pop open on screen. Is this possible?
I've read posts about customizing virtual directories in IIS but I believe that applies to hyperlinks from perspectives web sheets.
It's not an absolute requirement but to provide a clean user experience popping open the link to the sub-folder from within PAW would be desirable.
I imagine embedding a snippet of a perspectives sheet with one action button may help with this but not sure.
Any advice on this?
-
- MVP
- Posts: 3233
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: User Upload csv files through PAW interface
I haven't done that yet. Yes, experimenting with a Perspectives websheet and the HYPERLINK function into it can maybe lead to a solution, use the TM1User function in Excel as well as part of the hyperlink to jump to.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
- paulsimon
- MVP
- Posts: 808
- Joined: Sat Sep 03, 2011 11:10 pm
- OLAP Product: TM1
- Version: PA 2.0.5
- Excel Version: 2016
- Contact:
Re: User Upload csv files through PAW interface
Hi
We allow users to upload data via CSV. We use a small VB.Net programme to do this. They get to this via a hyperlink from TM1 Web using the EXCEL HyperLink function which passes in the name of the Cost Centre etc to be loaded. The VB.Net is quite dumb. All it does is upload the file and to rename it using a standard naming convention based on the details passed. It puts the file into an Uploaded files folder on the server. The user then runs a TI process to load the CSV file into a cube. The user needs to have access in TM1 to the particular cost centre to do this and the file has the cost centre code in its name. Once processed, the file is moved to a processed files folder.
This approach gets past the issue of all files being in the same folder, since the users do not have direct access to the folder. The only way to get a file into the folder is via the VB.Net program and they have no read access to the folder. They can only access the data that is loaded from the file in TM1 and that is subject to normal TM1 Security Controls.
We just happened to use VB.Net. If I was doing it now I would probably use Vue and Node JS but the particular tools for uploading the file don't really matter that much.
The file uploader allows them to download a sample template CSV file.
Regards
Paul Simon
We allow users to upload data via CSV. We use a small VB.Net programme to do this. They get to this via a hyperlink from TM1 Web using the EXCEL HyperLink function which passes in the name of the Cost Centre etc to be loaded. The VB.Net is quite dumb. All it does is upload the file and to rename it using a standard naming convention based on the details passed. It puts the file into an Uploaded files folder on the server. The user then runs a TI process to load the CSV file into a cube. The user needs to have access in TM1 to the particular cost centre to do this and the file has the cost centre code in its name. Once processed, the file is moved to a processed files folder.
This approach gets past the issue of all files being in the same folder, since the users do not have direct access to the folder. The only way to get a file into the folder is via the VB.Net program and they have no read access to the folder. They can only access the data that is loaded from the file in TM1 and that is subject to normal TM1 Security Controls.
We just happened to use VB.Net. If I was doing it now I would probably use Vue and Node JS but the particular tools for uploading the file don't really matter that much.
The file uploader allows them to download a sample template CSV file.
Regards
Paul Simon