Specifying replacement values


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)
Group: Forum Members
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. Tongue
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
StarkMike
StarkMike
Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)
Group: Forum Members
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

StarkMike
StarkMike
Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)
Group: Forum Members
Posts: 436, Visits: 944
sorry, i pasted your reply in my reply so i had a reference then forgot to delete it. Hehe
StarkMike
StarkMike
Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)Advanced StrataFrame User (542 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I just noticed you havent replied to my reply on this thread BigGrin Am what i am asking able to be done?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search