﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Specifying replacement values</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 17:02:46 GMT</lastBuildDate><ttl>20</ttl><item><title>Specifying replacement values</title><link>http://forum.strataframe.net/FindPost4692.aspx</link><description>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.&lt;br&gt;
&lt;br&gt;
Does this make sense? I tried to look in the documentation and couldnt find anything, or maybe i didnt look hard enough. :P</description><pubDate>Wed, 29 Nov 2006 09:25:19 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Specifying replacement values</title><link>http://forum.strataframe.net/FindPost4845.aspx</link><description>I just noticed you havent replied to my reply on this thread :D Am what i am asking able to be done?</description><pubDate>Wed, 29 Nov 2006 09:25:19 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Specifying replacement values</title><link>http://forum.strataframe.net/FindPost4696.aspx</link><description>sorry, i pasted your reply in my reply so i had a reference then forgot to delete it. :hehe:</description><pubDate>Tue, 21 Nov 2006 08:44:21 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Specifying replacement values</title><link>http://forum.strataframe.net/FindPost4695.aspx</link><description>&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar_ctlTopicsRepeater__ctl2_lblFullMessage&gt;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).&amp;nbsp; Or, you can just assign the same permission to each of the forms so that they all have the same message.&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here's what I want my message to look like in the messaging:&lt;/P&gt;&lt;P&gt;"You do not have access to {0}"&lt;/P&gt;&lt;P&gt;Is there anyway I could specify {0} in the message field of the denied action in the permission key?&lt;/P&gt;&lt;P&gt;FormAccessDenied Inventory&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Tue, 21 Nov 2006 08:43:37 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Specifying replacement values</title><link>http://forum.strataframe.net/FindPost4694.aspx</link><description>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).&amp;nbsp; Or, you can just assign the same permission to each of the forms so that they all have the same message.</description><pubDate>Tue, 21 Nov 2006 08:22:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>