Ticket Item Builder Setup
Prerequisites
-
To set up the Ticket Item Builder, you need the following licenses:
-
To set up the Ticket Item Builder, you must:
-
To set up the Ticket Item Builder, you need:
-
System permissions:
-
Customize Application
-
View Setup and Configuration
-
The Ticket Item Builder does not support required fields. Use Validation rules as an alternative to implement this functionality. |
Setting Up the Ticket Item Builder
-
From Setup, enter "static" in the Quick Find box, then select Static Resources
-
Complete one of the following:
-
If the en_US file displays in the list, proceed to step 11
-
If the en_US file doesn’t display in the list, proceed to step 5
-
-
Extract the file and save it to your local computer
-
Move back to FieldFX Back Office
-
Click New
-
Complete the following:
-
In Name, enter "en_US"
-
In Cache Control, select "Public"
-
Click Choose File
-
Select the en_US file you downloaded
-
-
Click Save
Ticket Details
Basics
The Ticket Details section displays basic ticket information.
Selecting the Fields to Display
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Ticket
-
Under Compact Layouts, click New
-
Complete the following:
-
In Label, enter "Ticket Details"
-
In Available Fields, select the fields to include
-
Click Add
-
In Selected Fields, change the order
-
Click Save
-
-
Click Compact Layout Assignment
-
Complete the following:
-
Click Edit Assignment
-
Under Record Type Overrides, select ticket types to use the compact layout
-
In Compact Layout to Use, select "Ticket Details"
-
Click Save
-
Item Grid
Fields
Basics
The Item grid displays the ticket items on a ticket.
Page layouts control the fields that display on the Item grid, as follows:
Layout | Result | Note |
---|---|---|
Master Layout |
Controls the fields that display on the Item Grid when you are viewing All items. |
The fields on this layout must also display on record type layouts before they will display data. |
Equipment Layout |
Controls the fields that display on the Item Grid when you select the Equipment filter. |
The fields on these layouts must also display on the Master layout before they will display data. |
Labor Layout |
Controls the fields that display on the Item Grid when you select the Labor filter. |
|
Service Layout |
Controls the fields that display on the Item Grid when you select the Service filter. |
|
Supplies Layout |
Controls the fields that display on the Item Grid when you select the Supply filter. |
Selecting the Fields to Display
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Ticket Item
-
Configure the Ticket Item Layout:
-
Under Page Layouts, click Edit next to Ticket Item Layout
-
Change the fields
To sort ticket items by sequence number, include the Sequence Number field on the Ticket Item Layout. -
Click Save
-
-
Add every new field you added to the Ticket Item Layout to the relevant ticket item record type layout:
-
Under Page Layouts, click Edit next to the layout
-
Drag the field onto the layout
-
Click Save
-
Repeat steps a to c for other page layouts as needed
-
-
Remove every field you removed from the Ticket Item Layout from the relevant ticket item record type layout:
-
Under Page Layouts, click Edit next to the layout
-
Click the Remove button next to the field
-
Click Save
-
Repeat steps a to c for other page layouts as needed
-
Configuring a Field to Display Read-Only
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Ticket Item
-
Under Custom Fields & Relationships, click the field name
-
Click Set Field-Level Security
-
Select Read-Only next to the user profiles on which to impose the read-only restriction
-
Click Save
Fields use a combination of page layout and field-level security settings and the most restrictive field setting always applies. For example, if you make a field required in the page layout security settings and read-only in the field-level security settings, the field displays read-only for the user profiles specified in the field-level security settings. |
FX Header
Basics
The expandable and collapsible FX Header displays at the top of the Item grid for tickets, defaulting to collapsed when first accessed.
Adding the FX Header to the Ticket Item Grid
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Ticket
-
Click Edit next to the applicable page layout
-
Drag Section below Standard Buttons on the Ticket Detail
Figure 4. A new Section being dragged onto a page layoutThe Section Properties window displays.
-
In Section Name, enter
FX Header
The Section Name must be entered precisely as shown to meet script requirements.
Section Name is case-sensitive.
-
In Layout, select 2-Column
-
Click OK
-
Drag fields into the FX Header section
-
Click Save
Item Picker
Search Results
Basics
Search results display at the bottom of the Item picker.
You can add items in the search results to a ticket.
Selecting the Fields for Price Book Item Search Results
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Price Book Item
-
Under Search Layouts, click Edit next to Search Results
-
Complete the following:
-
In Available Fields, select the fields to include.
-
Click Add
-
In Selected Fields, select the fields to remove
-
Click Remove
-
In Selected Fields, change the order
-
Select Override the search result column customizations for all users
-
Click Save
-
Selecting the Fields for Quote Item Search Results
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Quote Item
-
Under Search Layouts, click Edit next to Search Results
-
Complete the following:
-
In Available Fields, select the fields to include
-
Click Add
-
In Selected Fields, select the fields to remove
-
Click Remove
-
In Selected Fields, change the order
-
Select Override the search result column customizations for all users
-
Click Save
-
Selecting the Fields for Scheduled Crew Search Results
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Crew Planning
-
Under Search Layouts, click Edit next to Search Results
-
Complete the following:
-
In Available Fields, select the fields to include
-
Click Add
-
In Selected Fields, select the fields to remove
-
Click Remove
-
In Selected Fields, change the order
-
Select Override the search result column customizations for all users
-
Click Save
-
Selecting the Fields for Scheduled Equipment Search Results
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Equipment Planning
-
Under Search Layouts, click Edit next to Search Results
-
Complete the following:
-
In Available Fields, select the fields to include
-
Click Add
-
In Selected Fields, select the fields to remove
-
Click Remove
-
In Selected Fields, change the order
-
Select Override the search result column customizations for all users
-
Click Save
-
Picker Width
Setting the Picker Width
-
From Setup, enter "custom setting" in the Quick Find box, then select Custom Settings
-
Click Manage next to FX Settings
-
Click Edit
-
In TktItemBldr PBI MaxFlyoutWidth, specify the picker’s width when it flies across the page
-
Click Save
Custom Lookups
Basics
The Custom Lookups feature improves how lookups work on the Ticket Item Builder.
This powerful feature gives you the ability to:
Examples
Contact Lookup
Here’s an example of how you can configure the Contact lookup.
Setting | Value | Impact |
---|---|---|
QueryFilter |
|
Only contacts with a blank last name or a last name starting with the letter "S" display available for selection. |
QueryFields |
|
The listed fields display for contacts in search results. |
KeywordSearchFields |
|
Keyword searches analyze the last name of contacts. |
OrderBy |
|
Contacts sort in alphabetical order by last name. |
Equipment Lookup
Here’s an example of how you can configure the Equipment lookup.
Setting | Value | Impact |
---|---|---|
QueryFilter |
|
Only equipment linked to offices starting with the letter "H" displays available for selection. |
QueryFields |
|
The listed fields display for equipment in search results. |
KeywordSearchFields |
|
Keyword searches analyze the name and description of equipment. |
OrderBy |
|
Equipment sorts in alphabetical order by name. |
Configuring Custom Lookups
Scenario
As an example, we will show you how to configure the Contact lookup.
-
Add a CSF_Settings static resource:
-
Open a text editor
-
Enter the following to name the static resource:
window.csf_settings = {
-
Enter the identifying code for the Ticket Item Builder and Item grid:
window.csf_settings = { tib: { maingrid: {
-
Enter the API name of the lookup:
window.csf_settings = { tib: { maingrid: { "FX5__Contact__c": { "FX5__Contact__c": {
-
Enter a SOQL query to restrict the records that display available for selection in the lookup:
Refer to the SOQL reference documentation for more information on how to write SOQL queries.
window.csf_settings = { tib: { maingrid: { "FX5__Contact__c": { "FX5__Contact__c": { "QueryFilter": "(LastName=NULL OR LastName LIKE 'S%')",
-
Enter the fields to display for records in search results:
window.csf_settings = { tib: { maingrid: { "FX5__Contact__c": { "FX5__Contact__c": { "QueryFilter": "(LastName=NULL OR LastName LIKE 'S%')", "QueryFields": "FirstName, LastName, FX5__Office__r.Name",
In this example, the First Name, Last Name, and Office fields display for records.
-
Enter the fields to analyze in keyword searches:
window.csf_settings = { tib: { maingrid: { "FX5__Contact__c": { "FX5__Contact__c": { "QueryFilter": "(LastName=NULL OR LastName LIKE 'S%')", "QueryFields": "FirstName, LastName, FX5__Office__r.Name", "KeywordSearchFields": "LastName",
In this example, keyword searches analyze values in the Last Name field.
-
Enter the field by which to sort records:
window.csf_settings = { tib: { maingrid: { "FX5__Contact__c": { "FX5__Contact__c": { "QueryFilter": "(LastName=NULL OR LastName LIKE 'S%')", "QueryFields": "FirstName, LastName, FX5__Office__r.Name", "KeywordSearchFields": "LastName", "OrderBy": "LastName"
In this example, records sort in alphabetical order by last name.
-
Add braces
{ }
to end the lookup configuration:window.csf_settings = { tib: { maingrid: { "FX5__Contact__c": { "FX5__Contact__c": { "QueryFilter": "(LastName=NULL OR LastName LIKE 'S%')", "QueryFields": "FirstName, LastName, FX5__Office__r.Name", "KeywordSearchFields": "LastName", "OrderBy": "LastName" } } } } };
Every left brace
{
should have a matching right brace}
. -
Save the file with "CSF_Settings" as the file name.
-
-
Upload the CSF_Settings file to FieldFX Back Office:
-
From Setup, enter "static" in the Quick Find box, then select Static Resources
-
Click New
-
In Name, enter "CSF_Settings"
-
In Cache Control, select "Public"
-
Click Choose File
-
Select the CSF_Settings file
-
Test the Contact lookup
Barcode Scanning Feature
Basics
The Barcode Scanning feature gives you the ability to scan barcodes on items to add them to tickets.
This feature is ideal when you need to add large numbers of parts and/or supplies to tickets.
Setting Up the Barcode Scanning feature
-
Add a Barcode field to the Price Book Item object:
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Price Book Item
-
Under Custom Fields & Relationships, click New
-
Select Text
-
Click Next
-
In Field Label, enter "Barcode"
-
In Length, enter "255"
-
Click Next
-
Click Visible twice
-
Click Next
-
Select the page layouts on which to include the field
-
Click Save
-
-
Update page layouts for the Equipment object:
-
From Setup, enter "object" in the Quick Find box, then select Objects
-
Click Equipment
-
Under Page Layouts, click Edit next to a page layout for FieldFX Back Office
-
Add the Barcode field to the layout
-
Click Save
-
Repeat steps b to e for other page layouts as needed
-
-
Configure FX Settings:
-
From Setup, enter "custom setting" in the Quick Find box, then select Custom Settings
-
Click Manage next to FX Settings
-
Click Edit
-
In Equipment exact match search field, enter
FX5__Barcode__c
-
In PriceBookItem exact match search field, enter
Barcode__c
-
Click Save
-
-
Grant permissions:
-
Grant users Read and Edit permission for the Barcode field on the Equipment object
-
Grant users Read and Edit permission for the Barcode field on the Price Book Item object
-
-
Run a script for the Barcode field:
-
Select Utilities → Apex Execute
-
Enter the following script:
System.debug(FX5.FXWorkerLauncher.DoWork('FX5.CustomFieldInfoHandler', null));
-
Click Execute
-
Add barcodes to equipment:
-
Open the Equipment tab
-
Open the equipment
-
Click Edit
-
Click in the Barcode field
-
Scan the barcode on the equipment
-
Repeat steps b to e to add barcodes to other equipment items as needed
-
-
Add barcodes to price book items:
-
Open the Price Book Items tab
-
Open the price book item
-
Click Edit
-
Click in the Barcode field
-
Scan the barcode on the item
-
Repeat steps b to e to add barcodes for additional price book items as needed
-
Ticket Item Builder Button
Basics
The Ticket Item Builder button displays at the top of a ticket in FieldFX Back Office.
Changing the Name of the Ticket Item Builder Button
-
From Setup, enter "translation" in the Quick Find box, then select Override
-
In Package, select "FieldFX Base Package"
-
In Language, select "English"
-
In Setup Component, select "Button and Link Label"
-
In Object, select "Ticket"
-
Double-click the Button or Link Label Override column next to Ticket Item Builder
-
Enter a new button name
-
Click Save
Hiding Ticket Item Builder Components
Basics
To make things easier for users, you can hide unused components on the Ticket Item Builder.
Hiding Components on the Ticket Item Builder
-
Add the pageSettings_TIB FX Setting:
-
From Setup, enter "custom setting" in the Quick Find box, then select Custom Settings
-
Click FX Settings
-
Under Custom Fields, click New
-
Select the Text data type
-
Click Next
-
In Field Label, enter "pageSettings_TIB"
-
In Length, enter "255"
-
Click Next
-
Click Save
-
Select the components to hide:
-
Click Manage at the top of the page
-
Click Edit
-
In pageSettings_TIB, enter the names of the components to hide (use commas to separate the values):
-
Enter
HideBarCodeReader
to hide the Barcode field -
Enter
HideBulkEdit
to hide the Bulk Update button -
Enter
HideCopy
to hide the Copy Selected button -
Enter
HideDelete
to hide the Delete Selected button -
Enter
HideHeader
to hide the Ticket Details section -
Enter
HideItemSearch
to hide the Keyword Search field above the Item grid -
Enter
HidePicker
to hide the Item picker -
Enter
HideSelectChildren
to hide the Add Child Items button for dynamic parent items -
Enter
HideSortByMostRecent
to hide the Sort by Most Recent option above the Item grid -
Enter
HideStagePricing
to hide the Apply Stage Pricing button
-
-
Click Save
-