Page 1 of 1

Lock cell temporarily

Posted: Tue Oct 19, 2010 3:33 pm
by Toto
Hello,

I would like to make my own little workflow. Until a user presses a button, some cell should not be editable for him. After pressing the button he should be able to edit the cells, until he presses the button again.
Should this be done within a TI-process, or is it better to have rules for it?
How should this rule look like (have not found the function for locking a cell yet)?
For the TI process I would use ElementSecurityPut, right?

Thanks a lot for a hint!

Regards,

Toto

Re: Lock cell temporarily

Posted: Tue Oct 19, 2010 6:10 pm
by rkaif
Yes you can use ElementSecurityPut() function in the TI Process to make the cells Read only. You can also use the same function to unlock the cells and give Write security level.

Also you can create a Active Button to execute your TI Process.

Re: Lock cell temporarily

Posted: Wed Oct 20, 2010 4:12 am
by Toto
Hello Rizwan,

thanks for your reply. I tried ElementSecurityPut, but the user who executes the process must have data security rights, which the normal user does not have.
In my TM1Web-Frontend the user should press a button like "Start the task" and only after pressing the button he should be able to insert the data for the task.

Any idea what should happen in the background when pressing the button?

Thanks a lot!!

Toto

Re: Lock cell temporarily

Posted: Wed Oct 20, 2010 7:05 am
by lotsaram
Toto wrote:I tried ElementSecurityPut, but the user who executes the process must have data security rights, which the normal user does not have.
You need to ensure that the "Security Access" option for the process is checked (to do this right-click the process name). Then you just need to give a group the user belongs to read access to the process in question.

Re: Lock cell temporarily

Posted: Wed Oct 20, 2010 7:46 pm
by Toto
Great, thanks a lot!