Module 5: Introduction to Development Flashcards
What is a UI Policy?
Determines what happens on a form:
setting a field mandatory
setting a field as hidden
setting a field as read only
Where do UI Policies execute:
In the web browser (Client side)
How do you set a UI Policy so it works on all views?
Set Global to true
What’s the purpose of a UI Policy?
Managing the user experience, has nothing to do with security
What does a data policy do?
Enforces data consistency using mandatory and read/only
How does a Data policy different from a UI Policy?
Data also applies to all data entered via:
form
import sets
web services
Data Policies execute on Server side (True/False)?
True (But can also run on client side)
Can data policies work on List editing?
Yes, it appears editable, but fails to update
UI Actions types (7):
Form Buttons
Form context menu items (Right click header)
Form Links (Near Related Lists)
List Buttons
List contents menu items (right click a record)
List choices (at the bottom of a list)
List links (Related links at the bottom of the list
What are the four type of a Client Script?
onCellEdit()
onChange()
onLoad()
onSubmit()
A business rule runs at 4 times:
Before
After
Async (queued)
Display (before the record is displayed)
What do display Business rules typically access?
Scratchpads (g_scratchpad)
How many places can a script be used?
Over 30
Name the 8 most common places a script is used:
UI/Data Policy Business rule Client Scripts UI Macros/Scripts/Properties/Pages Script Includes Transform Maps Flow Scripts ACL Scripts
What scripts run on the browser?
Client side scripts: UI Policies and Client Side Scripts