0% found this document useful (0 votes)
56 views7 pages

Project Designer Business Rules Guide

Uploaded by

Nehru Vickey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views7 pages

Project Designer Business Rules Guide

Uploaded by

Nehru Vickey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

8/8/24, 12:09 AM Code On Time: Development / Project Designer / Business Rules

Development / Project Designer

 Business Rules

TABLE OF CONTENTS 

PRINT (/PRINT/LEARN/DEVELOPMENT/PROJECT-DESIGNER/BUSINESS-RULES) | PREVIOUS


(/LEARN/DEVELOPMENT/PROJECT-DESIGNER/ACTIONS) | NEXT (/LEARN/DEVELOPMENT/PROJECT-
DESIGNER/CATEGORIES)
The framework of a generated application can be extended with custom business rules
(/learn/sql-business-rules/overview) to handle client- and server-side events. The events are
typically raised in response to user interface actions. There are several types of business
rules:

SQL Business Rules (/learn/feature-tour/sql-business-rules) are written in the


programming language of the database engine.
Code Business Rules (/learn/feature-tour/csharp-visual-basic-business-rules) are
written in the programming language of the project (C#/Visual Basic).
JavaScript Business Rules (/learn/feature-tour/javascript-business-rules) are written in
JavaScript.
Email Business Rules (/learn/feature-tour/email-business-rules) are implemented as
email templates.
JavaScript business rules are executed by the client web browser. All other types of business
rules are executed on the server. Business rules have uniform access to field values and
application framework facilities. The application framework orchestrates execution of
business rules, which allows the developer to implement business logic that is not bound to
user interface elements.

Business rules can be found in the Project Browser by clicking on the Rules tab when a
controller is selected.

[Link] 1/7
8/8/24, 12:09 AM Code On Time: Development / Project Designer / Business Rules

(/blog/2012/07/working-with-business-rules-in-designer/[Link])

A new business rule can be created by using the New | New Rule action on the action bar.

(/blog/2012/07/working-with-business-rules-in-designer/[Link])

A business rule can be edited by using the context menu action Open.

[Link] 2/7
8/8/24, 12:09 AM Code On Time: Development / Project Designer / Business Rules

(/blog/2012/07/working-with-business-rules-in-

designer/[Link]) (/blog/2012/07/working-

with-business-rules-in-designer/[Link])

The context menu option Sync (/learn/development/project-designer/synchronizing-with-


project-explorer) will select the relevant business rule node in the Project Explorer.

[Link] 3/7
8/8/24, 12:09 AM Code On Time: Development / Project Designer / Business Rules

(/blog/2012/07/working-with-business-rules-in-

designer/[Link]) (/blog/2012/07/working-with-

business-rules-in-designer/[Link])

The definition of JavaScript, Email, and SQL business rules can be entered in the Script
property.

[Link] 4/7
8/8/24, 12:09 AM Code On Time: Development / Project Designer / Business Rules

(/blog/2012/07/working-with-business-rules-in-designer/[Link])

Code business rule files must be edited in an external text editor, such as Visual Studio. The
Edit Rule action on the action bar will open the .cs(vb) file in Visual Studio.

(/blog/2012/07/working-with-

business-rules-in-designer/[Link])

The Id of a business rule can be changed in the Project Explorer. Click on the Id property to
start editing. The context menu action Rename in the Project Explorer also performs the
same function.

[Link] 5/7
8/8/24, 12:09 AM Code On Time: Development / Project Designer / Business Rules

(/blog/2012/07/working-with-business-rules-in-

designer/[Link]) (/blog/2012/07/working-

with-business-rules-in-designer/[Link])

Business rules can be deleted using the context menu option Delete in the Project Explorer.

(/blog/2012/07/working-with-business-rules-in-

designer/[Link])
[Link] 6/7
8/8/24, 12:09 AM Code On Time: Development / Project Designer / Business Rules

Business rules can be moved to a different controller by dragging


(/learn/development/project-explorer/business-rules) the business rule node.

(/blog/2012/07/working-with-business-rules-in-

designer/[Link]) (/blog/2012/07/working-with-

business-rules-in-designer/[Link])

Continue to DEVELOPMENT / PROJECT DESIGNER / CATEGORIES


(/LEARN/DEVELOPMENT/PROJECT-DESIGNER/CATEGORIES)

© 2024 Code On Time LLC. All rights reserved. All trademarks mentioned on this website
are property of their respective owners.
Watch ([Link] | Blog (/blog/index) | Roadmap (/roadmap) |
Learn (/learn/index) | Community ([Link] | Support
([Link]

[Link] 7/7

You might also like