Module 8 Flashcards
Where does SN use JavaScript?
Server
User
What is called in SN the customization of an instance and/or applications using JS?
Scripting
What type of platform does SN use?
aPaas (Application Platform as a Service)
What is a UI Policy?
A rule applied to a form to dinamically change: information or the form itself.
It is about managing the user experience and data integrity
Where do UI policies execute?
On the client side
What set fields are influenced by UI Policy?
Manadatory or Optional
Hidden or Visible
Read-Only or Editable
What do you need to do to apply a UI policy to all views?
Set the Global setting to true
What does Data Policy do?
It enforces requirements on field and record data when the data is inserted into SN or when the data is an import set
A rule that enforces data consistency by setting fields as mandatory and/or read only.
What is the difference between data policy and UI policies?
UI policies are only enforced on data entered into a form
Data Policies are applied to all data entered into the platform.
Where does Data Policy execute?
on the server side but can also run as UI policy on the client side
What are data policies about?
managing the integrity of the information stored in the database
What do UI actions do?
add buttons, links, and context menu items on forms and lists making the UI more interactive
On what side(s) are UI actions build?
Client or server side based on the client checkbox selection
What are examples of UI actions?
- Form buttons
- Form context menu items
- Form links
- List buttons
- List context menu items
- List choices
- List links
When is the UI Action visible and ready to be used?
When the UI Actions Active box is checked
What makes real-time changes to the appearance of the user interface, especially forms?
Client scripts?
Where are clients scripts executed?
On the client side?
What can client scripts do?
See attachment
What types of scripts are supported?
onCellEdit()
onChange()
onLoad()
onSubmit()
When do Business rules run?
When a record is:
displayed
inserted
updated
deleted
When a table is queried
Before or after the database action has occured
What are the option of the When setting of a business rule?
- Before a record is saved in the database
- After a record is saved to the databse
- Async (client and server work indipendently so the client does not wait for the server)
- Display (before the record is displayed)
To what are business rules assigned?
To an application scope
To the global environment
What does every business rule include?
- What table to run against and timing
- What conditions to evaluate
- What scripts to run
What is the different between UI policies and business rules?
- Business rules are not real-time
- They do not monitor fields on a form
- They monitor records as they are inserted or updated