












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













What are the three tiers in GW application architecture - SOLUTION -Data, application, presentation (or user interface/web clients) In which tier are the following used? PCF Files, Gosu, and Data model entities? - SOLUTION -Presentation, application, and data respectively 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) - SOLUTION -a) table b) column c) not stored d) column (foreign key column) 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 array key field (such as ABContact.Contact Notes) b) a typelist (such as VendorType) c) a typekey Field (such as ABContact.VendorType) - SOLUTION -a) not stored in the database b) table c) column (foreign key column)
Name two circumstances in which you would execute the gwb genDataDictionary command. - SOLUTION -When you install app and when you extend Data Model (and are concerned with data model validation beyond schema validation in Entity Editor). If you modify system permissions or some other aspect of access and would need to regenerate the Security Dictionary. How many ETX files can a given entity have? - SOLUTION -One ETX file per entity in most cases. What datatype do you enter for fields that will store... a) String values? b) Boolean values? c) Numbers with decimal values? - SOLUTION -a) varchar b) bit c) decimal Which datatypes require columnParam subelements? - SOLUTION - a) decimal requires precision and scale b) varchar requires size When does a GW app actually modify the physical structure of the database? - SOLUTION -Physical structure of the database is only modified during start-up.
How do you deploy PCF changes? - SOLUTION -Navigate to UI and hit Alt + Shift + L OR you can restart the server OR you can log in as admin and reload files from Internal Tools Reload page. What must you specify in a widget's "value" property? - SOLUTION -You must specify the field in the data model that the widget is bound to. When would you see the keyword "as" in the value property? - SOLUTION -When the container's base object is subtyped, and the field to which the widget is bound is at one of the subtype levels. What is a display key? - SOLUTION -It is an abstract display value referenced by a widget's label property. It can have one or more language-specific values, and when the UI is rendered, the value matching the user's language is used. If you create a widget and specify only the ID, name, and label, is the widget visible? Editable? Required? - SOLUTION -The widget will be visible, not editable, and not required. For a standard input widget, how do you implement a "long" date format? - SOLUTION -Within the label in Studio, you can select the property to "long" for date format. For the object "myContact" of type ABContact, what is the dot notation for the object's: a) Preferred currency? b) Notes?
c) Level of experience of my contact's assigned user? d) Mobile phone (if it is a person)? - SOLUTION -a) anABContact.PreferredCurrency b) anABContact.ContactNotes c) anABContact.AssignedUser.ExperienceLevel d) (anABContact as ABPerson).CellPhone A Detail View that displays data must have at least one root object. Why? - SOLUTION -Input widgets of a Detail View must reference some object in order to specify where the data they display comes from. This object must be the root object, or an object related to the root object. Therefore, in order to display data, a root object is needed. A Detail View that displays data must have at least one input column. Why? - SOLUTION -Input columns are used to organize atomic widgets in Detail View. Every input widget must be in an input column. If a Detail View displays data, then it has at least one input widget, which means it must have at least one input column. What determines if a Detail View is reusable or not? - SOLUTION -If a Detail View is declared as the parent object of a PCF file, then it is reusable. It can be referenced by any number of other containers. The def property of a Panel Ref usually has a value in the format of "x(y)" a) What information comes before the parenthesis? (What is the x?)
-Locations, page, location group, wizard, popup, worksheet, forward, exit point - SOLUTION -Location group and wizard Of the seven types of locations listed which renders a screen somewhere other than the screen area? -Locations, page, location group, wizard, popup, worksheet, forward, exit point - SOLUTION -Worksheet Of the seven types of locations listed which typically navigates to one of several locations based on business logic? -Locations, page, location group, wizard, popup, worksheet, forward, exit point - SOLUTION -Forward Of the seven types of locations listed which does not navigate (directly or indirectly) to a screen? -Locations, page, location group, wizard, popup, worksheet, forward, exit point - SOLUTION -Exit Point Of the seven types of locations listed for each location, what method would you usually use to navigate to it? a) Locations b) page c) location group
d) wizard, popup e) worksheet f) forward g) exit point - SOLUTION -a) "go" to navigate to pages, locations groups, wizards, and forwards b) "push" to navigate to popups and exit points c) "goInWorkspace" to navigate to worksheets What is the array method to return the number of objects in the ContactNotes array? What is the value? - SOLUTION -var count = array.length or array.Count. The total number of elements in the ContactNotes array is 5. What is the expression to return the count of notes that are regarding a problem? What is the count value? - SOLUTION -var countNotes = notes.countWhere(\note -> note.ContactNoteType == typekey.ContactNoteType.TC_PROBLEM). The total number of elements in the ContactNotes array is 1. In the screenshot shown here, what is an expression to return an array of ContactNotes where the note was created after Jan 31, 2014? - SOLUTION -note.where(\note->note.CreateTime >= "02/01/2014".toDate()) What is the significance of a rule set's root entity? - SOLUTION - Every rule set is tied to an entity, known as the root entity. This determines which class of objects the rule set is tied to. It also determines the object available to the rules in the rule set when the rule set is triggered.
How do you create an enhancement method that returns no value? - SOLUTION -You would create the method and optionally specify a return type of void. How do you reference enhancement properties and methods? - SOLUTION -You reference enhancement properties and methods using the same syntax as base app entity properties and methods: object.propertyOrMethodName. What does a code generator do? - SOLUTION -A code generator processes a GW resource defined in XML format (such as PCF file, entity, etc) and produces a Gosu or Java class. Name at least one difference between incremental and bulk code generation. - SOLUTION --incremental code generator can process a single file, while bulk processes a set of files -incremental is not supported for every resource type -incremental can be start on save or during project make while bulk can be started on the CodeGen menu or during project rebuild. What is a breakpoint? - SOLUTION -indicates a place where you want to suspend execution of Gosu or Java code. What is a PCF method? How can you debug a PCF method? - SOLUTION -It is a plain old Gosu function that is local in a PCF file and executes logic tied to that file. You can open the Expressions.gs file, find the function and click on the gutter area at the desired line to set a breakpoint.
What is the difference between an ETX file and an ETI file? - SOLUTION -ETI file defines a new custom entity from scratch. ETX file extends a base app entity (ex/ adding new columns) Does the base app have ETI files? Can developers create new ETI files? Where and how? - SOLUTION -Yes, ETI files are in the base app. Developers can create new ETI files in the \extensions\entity folder using GW Studio and the Entity Editor. If the ABLawyer entity has an array of Cases, what type of field is required on the Case entity? - SOLUTION -The Case entity requires a foreign key field in the ETI definition that specifies the fkentity attribute as the ABLawyer entity. To deploy data model changes, are you required to a) Regenerate the Data Dictionary? b) Restart the app server? c) Restart Studio? - SOLUTION -a) No, not required. Regenerating the data dictionary will identify any errors in the data model. If successful, the process will add new and modified entities to the data dictionary. b) Yes, you must restart the app server to deploy the new and modified entities. The process creates new database tables and/or upgrades the database. c) No, studio is immediately aware of the data model changes. It is not necessary to restart GW Studio. In a List View: a) What type of widget displays individual fields of data?
make the cell editable in the UI? - SOLUTION -The list view panel's row iterator editable property must be set to true. When you drag an Iterator Buttons widget onto a toolbar, how many buttons are added? - SOLUTION -Two: Add and Remove Assume an object called ABContact has an Addresses array and an Addresses list view panel whose Row Iterator is configured. Identify how the property should be configured. - SOLUTION - toAdd: anABContact.addTo(addToAddresses.currentAddress) What are some of the differences between the files in the Metadata\Typelist\ and \Extensions\Typelist\ folders? - SOLUTION - Metadata: OOTB. Consists of TTI and TTX files. read only. cannot create typelist files here. Extensions: TIX and TTI files. Can create typelist files. Which is a valid code for a typecode in a food coloring typelist? a) RedDye# b) YellowDye c) OrangeDye:10 - SOLUTION -b. Typelist must be unique within the typelist and must have 50 characters or less. Value for code must be alphanumeric. Which typecode attribute determines the order in which typecodes are listed in the UI? - SOLUTION -Priority attribute determines the sort order in the UI for a typelist. After priority, the name (not code) determines the sort order. Entries with priority - appear at the end of the list.
What does a typefilter do? - SOLUTION -Only displays certain typecodes from typelist on UI What are the primary use cases for popups? - SOLUTION -Add, edit, view, or search What happens if a location's canEdit property evaluates to false? - SOLUTION -You will not see editable fields on the popup What happens if a location's canVisit property evaluates to false?
c) No d) Yes e) Yes What is the difference between the "input set" widget and the "input set ref" widget? - SOLUTION -InputSet widget groups widgets together and is placed within an input column within a detail view panel. Used to reference an Input Set PCF file. Input Set PCF can be referenced by one or more InputSetRef widgets. Input Set PCFs are reusable input sets. Name any two dynamic widget properties that can evaluate expressions. - SOLUTION -Editable, required, visible, available How is a partial page update implemented? - SOLUTION - Implemented by configuring dynamic widget behavior by enabling targeted post on change. Often the dynamic widget behavior configuration also includes configuring an expression for a widget property. (as of 10.0.2+ versions no longer need to specify target while configuring post on change) What are three properties that you can configure for a widget with targeted Post On Change enabled? - SOLUTION - disablePostOnEnter, onChange, and target What are two configurations for the target property? Which is the best performing? Why? - SOLUTION -DATA_ONLY or a specific ID. DATA_ONLY refreshes only the user-editable data and is often best performing.
How can you refresh the layout of several related widgets by enabling Post On Change on one trigger widget? - SOLUTION -If there are several widgets that you need to refresh the layout or update data, consider wrapping the related widgets into an Input Set widget. What is a subtype entity? - SOLUTION -Child to a parent entity and inherits all fields from parent. What is a subtype entity extension? - SOLUTION -An entity extension of a base application entity. Describe at least one limitation of relying heavily on subtype hierarchies. - SOLUTION --Subtype can only have one parent entity (multiple inheritances are not supported) -Deep hierarchies where lowest child inherits all the fields of the parents can result in very wide tables that are highly denormalized >> poor application performance When you create a new subtype, why are you NOT able to specify a table name? - SOLUTION -Bc the new subtype data is stored in the same table as the supertype. Name two business situations where it might be useful to use modal PCFs. - SOLUTION -Different types of contacts (individual vs business); different lines of business (auto vs property) For a given set of modal PCFs, what two things must all of the PCFs have in common? - SOLUTION -All files must have same
List all the Digital apps that integrate with InsuranceSuite apps. - SOLUTION -VendorEngage CustomerEngage-AccountManagement CustomerEngage-QuoteandBuy ProducerEngage ProducerEngage for Salesforce Financial Services Cloud ServiceRepEngage ServiceRepEngage for Salesforce Financial Services Cloud Which insurancesuite products integrate with CustomerEngage- Quote and Buy? - SOLUTION -PolicyCenter Which insurancesuite products integrate with ProducerEngage? - SOLUTION -PolicyCenter, BillingCenter, and ClaimCenter. ContactManager for vehicle repair selection only. Which insurancesuite products integrate with CustomerEngage- Account Management? - SOLUTION -PolicyCenter, BillingCenter, and ClaimCenter. ContactManager for vehicle repair selection only. To which PolicyCenter directory does Digital code deploy to when installing the Digital back-end? - SOLUTION - modules/configuration/gsrc/edge When installing Digital code to InsuranceSuite, which parameter instructs the deployment artifact to install to ClaimCenter? - SOLUTION ---target
ex: java -jar bin\portal-deploy-0.3.19.jar --targetC:\Guidewire ClaimCenter Digital services are comprised of what types of InsuranceSuite classes? - SOLUTION -Handlers, data transfer objects, plugins, and utility classes Digital apps communicate with InsuranceSuite apps using which type of requests? - SOLUTION -JSON-RPC. (dat sync and migration APIs for Salesforce apps use REST APIs in addition to JSON-RPC requests) How are InsuranceSuite entity instances updated using DTO instances? - SOLUTION -1. DTO instance passed to digital services RefUpdater instance