Interview Questions 2 (1)
Interview Questions 2 (1)
Data Model
1. For each of the following, identify if it is stored as a database table, as a
table column, or not stored in the database at all:
a) An entity (such as ABContact)
b) A physical data field (such as ABContact.CreateTime)
c) A virtual data field (such as ABContact.FullName)
d) A foreign key field (such as ABContact.AssignedUser)
e) An array key field (such as ABContact.ContactNotes)
f) A typelist (such as VendorType)
g) A typekey field (such as ABContact.VendorType)
1. A detail view that displays data must have at least one root object. Why?
2. A detail view that displays data must have at least one input column.
Why?
3. What are the two most common types of widgets used to lay out a detail
view so that it is more usable to end users?
4. What determines if a detail view is reusable or not?
5. The def property of a panel ref usually has a value in the format of
"x(y)". What information comes before the parenthesis? (What is the
x?) What information is defined within the parenthesis? (What is the y?)
Editable Detail View
1. A screen contains a card view that contains a detail view. The detail
view contains an input. To allow the end user to change the value of
the input, what must be set to editable?
2. If you want to implement a toolbar for a detail view, what PCF
element do you add the toolbar to? (Hint: It is not the detail view
itself.)
3. A given detail view has a blank toolbar. The toolbar requires an Edit
button, an Update button, and a Cancel button. In the PCF editor,
how many tools must you locate in the toolbox and drag onto the
canvas to implement this requirement?
Input Sets
1. What are the two primary use cases for input sets?
2. Which of the following can be included in input sets:
a) Embedded list views
b) Inputs
c) Input columns
d) Input dividers
e) Labels
3. What is the difference between the "input set" widget and the
"input set ref" widget?
List Views
1. In a list view:
a) What type of widget displays individual fields of data?
b) What type of widget organizes the individual fields of data?
2. Assume you have a list view with "anABContact" as the root object. The
list view displays the contact's addresses.
a) What would the row iterator's "value" property be set to?
b) What would the row iterator's "element name" be set to?
c) What other widgets would make use of the element name?
3. A list view typically needs a toolbar, even if it is read-only. Why?
4. In what way is embedding a list view in a detail view different from
embedding a list view in a screen?
Editable List Views
1. For a cell to be editable, the cell’s Editable property must be set to true.
What three other elements must also be editable to make the cell editable
in the user interface?
2. When you drag an Iterator Buttons widget onto a toolbar, how many
buttons are added?
3. Assume that an object
called anABContact
has an Addresses array
and an Addresses list
view whose row iterator
is configured as shown.
Identify the errors in how the property is configured.
Modes
1. Name two business situations in which it might be useful to use
modal PCFs.
2. For a given set of modal PCFs, what two things must all of the PCFs
have in common?
3. Can a PCF have more than one mode?
4. What happens if a reference identifies a mode, but there is no PCF
with that mode in the set?
Locations
1. Which two contain multiple screens and have their own info bar,
actions menu, and side bar?
2. Which one renders a screen somewhere other than the screen
area?
3. For each location, what method would you usually use to navigate
to it?
Popups
1. What are the three primary use cases for popups?
2. What happens if a location's canEdit property evaluates to false?
3. What happens if a location's canVisit property evaluates to
false?
Arrays
Gosu Queries
1. For each of the following, identify the reason you would use it and
whether it can be found on the query object or on the results
object.
a) The select method
b) The compare method
c) The Count field
d) The make method
PCF Methods
1. Is it required or optional for a method to:
a) Receive input parameters?
b) Return a value?
2. Can an atomic widget reference:
a) A PCF method declared in the same file?
b) A PCF method declared in another PCF file?
3. What does a widget's "available" property control?
Enhancements
1. In Studio, enhancements are declared under what node?
2. What type of logic should be implemented as a getter? A setter? A
method?
3. When you create a new enhancement, what code does Studio add
for you automatically?
4. For an enhancement on the ABContact entity, what code would you
write to reference the given ABContact's AssignedUser field?
5. How do you create an enhancement method that returns no value?
6. How do you reference enhancement properties and methods?
Gosu Classes
1. What is a package?
2. When you reference a method, do you need to know which package
the method is in?
3. For what reasons might you decide to put logic in a Gosu class
method (as opposed to a PCF method or entity enhancement)?
4. What two keywords typically appear in the declaration of a Gosu
class method used for configuration work? What does each of them
mean?
Script Parameters
1. When is it appropriate to use a script parameter?
2. After you have created a script parameter, what must you do to fully
deploy it?
3. Where can a script parameter be referenced?
4. Where are the values of script parameters updated?
Partial Page Update
1. How is a partial page update implemented?
2. What are the three properties that you can configure for a widget
with targeted Post On Change enabled?
3. What are the three possibilities for the target property? Which is
the best performing? Why?
4. How can you most effectively refresh of layout of several related
widgets by enabling targeted Post on Change on one trigger
widget?
Field Validations
1. What are the two types of field-level validation at the data model
level? Can both of them be configured?
2. Assume that there is an Order entity that has an OrderNumber field.
The field appears on two detail views: LegacyOrdersDV and
NewOrdersDV.
a) Name a situation where you would implement validation logic for the
OrderNumber field at the data model level.
b) Name a situation where you would implement validation logic for the
OrderNumber field at the UI level.
3. What happens if a widget's validation expression returns null?
Business Rules
1. What is the significance of a rule set's root entity?
2. What triggers a rule set?
3. What two things are done for a rule whose condition is true that are
not done for a rule whose condition is false?
4. What is the effect of deactivating a rule?
Entity Names
1. For an ABPerson object, name an example of when the object's
entity name might appear in the user interface.
2. What field points to an object's entity name?
3. For which entities do you need to create an entity name?
4. What Gosu keyword always appears in the code used to generate an
entity name?
5. What must you do to deploy new entity names or changes to
existing entity names?
Product Designer
1. What is a workspace? Can any user create or remove a workspace?
2. What is a change list? Can users create multiple change lists?
3. Fill in the blanks:
a. The change list you are working in is called ____________ change list.
b. The left side which displays a hierarchical tree view is called ____________.
c. The ____________ menu displays the user settings, user change lists and an
option to log out.
d. The ___________ menu displays the synchronize and administrative
commands.
Product Designer
1. Name one example of each of the following:
a) "Policy file" information defined in the product model
b) Business logic defined in the product model
2. Name the three ways in which availability can be specified.
3. What is the difference between a coverage and a coverable?
4. What is the purpose of a coverage category?
5. What is an offering?
6. What are Question Sets?
7. What is Grandfathering and when do we grandfather a coverage for a
policy?
Consume Web Service
1. What is a WSDL? What does it describe?
2. With regards to WSDL binding styles:
a) What are the two types of styles?
b) How can you tell the style used by a given WSDL?
c) What Guidewire resource is used to consume each style?
3. What two types of files can be included as resources in a web
service collection?
Publish Web Service
1. What must be added to a Gosu class in order to make it a Guidewire
web service?