﻿<?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 » Business Objects and Data Access (How do I?)  » BBS does not show Custom Field (CFP)</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 06 Jun 2026 13:41:11 GMT</lastBuildDate><ttl>20</ttl><item><title>BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26084.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
I created some CFPs but they don´t appears on my selection field when I use a BBS with DevExpress Grid.&lt;br&gt;
&lt;br&gt;
Anybody can help me?&lt;br&gt;
&lt;br&gt;
Tks&lt;br&gt;</description><pubDate>Fri, 19 Feb 2010 13:06:51 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26127.aspx</link><description>Hey Luiz!&lt;/P&gt;&lt;P&gt;Oh, yeah... go ahead! It is always welcome. ;)</description><pubDate>Fri, 19 Feb 2010 13:06:51 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26125.aspx</link><description>Trent,&lt;BR&gt;&lt;BR&gt;Thank you so much for your help and the&amp;nbsp;guys of this forum.&lt;BR&gt;I´m not a advanced programmer on .NET/VS Platform, I came from old fashion client-server&amp;nbsp;technology.&lt;BR&gt;&lt;BR&gt;I´m learning a little&amp;nbsp;piece of stuffs&amp;nbsp;every day......&lt;BR&gt;I told to Ivan that I can feel more secure to do a testimonial about SF right now, If you wanna.... ask me by email ok?&lt;/P&gt;&lt;P&gt;See ya! :cool:</description><pubDate>Fri, 19 Feb 2010 10:43:38 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26121.aspx</link><description>Glad you got it going! :)</description><pubDate>Fri, 19 Feb 2010 08:32:07 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26118.aspx</link><description>Pretty Cool... &lt;/P&gt;&lt;P&gt;Tks a lot again....:cool:</description><pubDate>Fri, 19 Feb 2010 06:34:00 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26114.aspx</link><description>[quote][b]Luiz Lima (02/18/2010)[/b][hr]A doubt: If my grid does not change this column (CFP), no matter with the BO Update?[/quote]&lt;br&gt;
&lt;br&gt;
Glad it is working now.&lt;br&gt;
&lt;br&gt;
As far as update, remember that the Custom Field Property is read only so you will not be able to change it or update it, so in your grid make sure it is shown as read only.</description><pubDate>Thu, 18 Feb 2010 18:34:30 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26113.aspx</link><description>Edhy,&lt;br&gt;
&lt;br&gt;
It works now!&lt;br&gt;
But I had to remove the grid, bbs and bo from form, after that Works.&lt;br&gt;
&lt;br&gt;
A doubt: If my grid does not change this column (CFP), no matter with the BO Update?&lt;br&gt;
&lt;br&gt;
Tks</description><pubDate>Thu, 18 Feb 2010 18:17:06 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26110.aspx</link><description>Luiz,&lt;br&gt;
&lt;br&gt;
Could it be because you have the name of the property enclosed with brackets [] in the GetCustomBindablePropertyDescriptors?&lt;br&gt;
&lt;br&gt;
Just copy the one I did for you above, it should work.  Rebuild the solution before testing.&lt;br&gt;
&lt;br&gt;
If that does not work, close the solution and VS then open it again, build and try.</description><pubDate>Thu, 18 Feb 2010 15:00:07 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26109.aspx</link><description>Edhy,&lt;br&gt;
&lt;br&gt;
It didn´t work!&lt;br&gt;
I made a clean / rebuild and nothing!&lt;br&gt;
Could you see my BO code to see if I´m doing something wrong?&lt;br&gt;
&lt;br&gt;
I attached a file with:&lt;br&gt;
&lt;br&gt;
- ScreenShot of Devexpress grid configuration&lt;br&gt;
- My BO&lt;br&gt;
&lt;br&gt;
Tks</description><pubDate>Thu, 18 Feb 2010 14:44:06 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26108.aspx</link><description>Edhy is putting you on the right track here...but you can download StrataFlix by just logging into the My Account area of the SF website and going to the downloads section.</description><pubDate>Thu, 18 Feb 2010 14:23:07 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26105.aspx</link><description>Hi Luiz,&lt;br&gt;
&lt;br&gt;
Put it anywhere in your BO it is just another function.  Make sure you re-build your BO project or the whole solution to make sure it will be seen by the BBS.</description><pubDate>Thu, 18 Feb 2010 11:42:50 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26104.aspx</link><description>Edhy,&lt;br&gt;
&lt;br&gt;
In which point of file should I put this lines to garantee that BOM will not kill my codes?&lt;br&gt;
&lt;br&gt;
 tks</description><pubDate>Thu, 18 Feb 2010 11:04:19 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26103.aspx</link><description>Hi Luiz,&lt;br&gt;
&lt;br&gt;
Here is a sample in VB, make sure you use your BO name in the GetType():&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
Protected Overrides Function GetCustomBindablePropertyDescriptors() As MicroFour.StrataFrame.Business.FieldPropertyDescriptor()&lt;br&gt;
        Return New MicroFour.StrataFrame.Business.FieldPropertyDescriptor() { _&lt;br&gt;
            New ReflectionPropertyDescriptor("cfp_pro_descr", GetType(Here use the name of your bo))}&lt;br&gt;
    End Function&lt;br&gt;
[/codesnippet]</description><pubDate>Thu, 18 Feb 2010 10:50:12 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26101.aspx</link><description>Ops...the code was cutted.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
    &lt;Browsable(True), BusinessFieldDisplayInEditor(), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)&gt; _&lt;br&gt;
    Public ReadOnly Property [CFP_pro_descr]()&lt;br&gt;
        Get&lt;br&gt;
            Dim loCommand As New SqlCommand()&lt;br&gt;
            loCommand.CommandText = "SELECT pro_descr FROM tb_produto WHERE pro_cod = @pro_cod"&lt;br&gt;
            loCommand.Parameters.Add("@pro_cod", SqlDbType.VarChar)&lt;br&gt;
            loCommand.Parameters("@pro_cod").Value = Me.pro_cod&lt;br&gt;
            Return CType(Me.ExecuteScalar(loCommand), String)&lt;br&gt;
        End Get&lt;br&gt;
    End Property&lt;br&gt;
&lt;br&gt;</description><pubDate>Thu, 18 Feb 2010 10:38:06 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26100.aspx</link><description>Trent, &lt;br&gt;
&lt;br&gt;
I don´t have strataflix here, I tried to find this property on VB Samples, but I didn´t.:(&lt;br&gt;
Can you help me with the example below?&lt;br&gt;
If this CFP appears on Grid, We will solve a huge problem on my development.&lt;br&gt;
&lt;br&gt;
Tks a lot again,&lt;br&gt;
&lt;br&gt;
Luiz&lt;br&gt;
--------------------------------------------------------------------------------------------------------&lt;br&gt;
    &lt;Browsable(True), BusinessFieldDisplayInEditor(), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)&gt; _&lt;br&gt;
    Public ReadOnly Property [CFP_pro_descr]()&lt;br&gt;
        Get&lt;br&gt;
            Dim loCommand As New SqlCommand()&lt;br&gt;
            loCommand.CommandText = "SELECT pro_descr FROM tb_produto WHERE pro_cod = @pro_cod"&lt;br&gt;
            loCommand.Parameters.Add("@pro_cod", SqlDbType.VarChar)&lt;br&gt;
            loCommand.Parameters("@pro_cod").Value = Me.pro_cod&lt;br&gt;
            Return CType(Me.ExecuteScalar(loCommand), String)&lt;br&gt;
        End Get&lt;br&gt;
    End Property&lt;br&gt;
--------------------------------------------------------------------------------------------------------&lt;br&gt;</description><pubDate>Thu, 18 Feb 2010 10:36:07 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>RE: BBS does not show Custom Field (CFP)</title><link>http://forum.strataframe.net/FindPost26093.aspx</link><description>Most likely you did not add them to the GetCustomBindablePropertyDescriptors.  You need to override this method and add the ReflectionPropertyDescriptors for each CFP.&lt;br&gt;
&lt;br&gt;
You can see samples of this in a lost of different SF samples.  The best, however, would be the StrataFlix sample.</description><pubDate>Thu, 18 Feb 2010 08:40:13 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>