| | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 07/09/2008 2:20:16 PM Posts: 436, Visits: 944 |
| I'm going to create a message in the messaging component that I am going to use in RBS for an access denied message. I was wondering if there was a way that I could specify replacement values in RBS for the message in the messaging component. This way I dont have to create separate messages for each form. Granted I'll have to create a permission key for each form but i'll only need one message.
Does this make sense? I tried to look in the documentation and couldnt find anything, or maybe i didnt look hard enough. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 1:09:23 PM Posts: 2,686, Visits: 1,888 |
| You can either set the default message key within the SecurityBasics class... I think it's SecurityBasics.DefaultMessageKey, and leave all of the messages blank within the security editor (it uses the default if you don't specify one). Or, you can just assign the same permission to each of the forms so that they all have the same message.
www.bungie.net |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 07/09/2008 2:20:16 PM Posts: 436, Visits: 944 |
| | You can either set the default message key within the SecurityBasics class... I think it's SecurityBasics.DefaultMessageKey, and leave all of the messages blank within the security editor (it uses the default if you don't specify one). Or, you can just assign the same permission to each of the forms so that they all have the same message. |
Here's what I want my message to look like in the messaging: "You do not have access to {0}" Is there anyway I could specify {0} in the message field of the denied action in the permission key? FormAccessDenied Inventory Thanks |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 07/09/2008 2:20:16 PM Posts: 436, Visits: 944 |
| sorry, i pasted your reply in my reply so i had a reference then forgot to delete it. |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 07/09/2008 2:20:16 PM Posts: 436, Visits: 944 |
| I just noticed you havent replied to my reply on this thread Am what i am asking able to be done? |
| |
|
|