01-14-2022
06:59 AM
- last edited
a month ago
by
JackLacava
hello all, please suggest if there is a way that we can stop users from running Force Consolidate for a given period?
Solved! Go to Solution.
01-18-2022 08:49 AM - edited 01-19-2022 03:53 AM
Hi all
There is an event handler to control front end actions. You can use it to prevent a force consolidate. You will find the details here.
You just need to check the condition (i.e. that it is a force consolidate) and then cancel the action. If you like to inform the user, that force consolidate is disabled, you need to trigger an error and control the error message.
But use it careful, you can stop the front-end from working correctly, because a bug prevents functions that trigger the event handler to fail.
Regards Christian
01-14-2022 11:15 AM
I just spent 10 hours yesterday fixing just this issue. Someone accidently hit Force Consol vs Consol. There should be a second prompt at minimum saying are you sure on any Force. Hopefully it is on the list of improvements.
01-14-2022 11:29 AM
Hi Clarke, agree .. Same issue we are facing somewhere, really spent too much time on it now..
01-18-2022 08:49 AM - edited 01-19-2022 03:53 AM
Hi all
There is an event handler to control front end actions. You can use it to prevent a force consolidate. You will find the details here.
You just need to check the condition (i.e. that it is a force consolidate) and then cancel the action. If you like to inform the user, that force consolidate is disabled, you need to trigger an error and control the error message.
But use it careful, you can stop the front-end from working correctly, because a bug prevents functions that trigger the event handler to fail.
Regards Christian
04-11-2022 08:32 AM
Thanks for sharing this information Christian. I am getting a access denied error when I click on the link you provided above. Do you know what kind of access I need to see it?
04-11-2022 11:15 AM
Hi Clifton, please contact you Onestream services contact or your partner (if you are a customer) to get the information. Regards Christian
04-11-2022 11:52 AM
I get the same error message, Is the site something that only Emp's can access. I can ask my service contact but what would I be telling them to give me access to. Giving them one link does not make sense if there is other information in this location (Accepted-Code-Samples). Would the request get us access to the full folder or just the one item. Also, are their other folders like this that would be helpful for us to have access to.
04-11-2022 01:08 PM
Your Onestream service contact has access to the solution. They moved it internal, because it can create problem, if not done correctly. But together you should be able to set it up.
04-11-2022 01:19 PM
Hi Christian,
What kinds of issues should we be looking out for if Front End Event Handler is not implemented correctly? Also is this something we could find in the GolfStream app or the Market Place? I have reached out to our OneStream Contact to get help accessing the information but any additional information would be appreciated.
03-31-2023 01:13 PM
hi there, using a wcf event handler, there's only an option to check if it is calculate when checking if it is running for consol or calculate using wcfeventhandler servicetype . calculate. do you have a snippet to check if OS is running a consol as opposed to calculate?