StrataFrame Forum

How do I Access the Business object control designer

http://forum.strataframe.net/Topic73.aspx

By Scott - 11/22/2005

I am trying to setup my required fields on my business object using the method mentioned in the help file topic, Getting Started-Business Rules-Implementing Required Fields, by right-clicking the business object within the Solution Explorer and selecting View Designer.  I do not get the business object control designer.  I have downloaded and installed the zip file from mentioned in the developers form.

Any thing I am doing wrong?

Thanks

Scott

By Robert Harvey - 11/22/2005

Have you tried using the BusinessObjectMapper?  You can right-click on a field and select Customize.
By Scott - 11/22/2005

I didn't see a way to set the required fields in the business object mapper.
By Robert Harvey - 11/22/2005

Ahhh.  I went and looked at the help page you are talking about.  After I followed the instructions to see what steps are required, I had no problem creating the required fields.  Although, I did not get my expected results.  I thought it might give you the fields required to create the object.  Instead, what you get are fields that are required in each row of the object.  And, you can create custom validators for each field from there. 

After you open the designer, go to the properties window.  Now look for the 'Required Fields' property and click on the elipses (...).  This should bring up the designer window that will contain all of the fields/properties for your business object.

By Scott - 11/22/2005

Got it.  Thanks.
By Trent L. Taylor - 11/22/2005

Another way to get to open the component designer in VS 2005 is to double click the business object from the Solutions Explorer.  This will open the component designer.  At this point, open the property sheet and click the button next to the RequireFields collection.  Check the fields that require validation and click OK.

Side Note
If the fields do not show up in the editor, it is because the project has not yet been built.  Build the project and try again.  This occurs since there is no valid Assembly to reflect off of to retrieve the field properties generated through the Business Object Mapper.