User Story 2
Fonteva would like to make a Directory of Contacts with the following requirements:
- This Directory should be publicly available.
- The Directory should include a banner (Image 1) and logo image (Image 2).
- Front end users should be able to search this Directory by First Name, Last Name, Full Name, City, or State.
- Front end users should also be able to filter their results by Membership Type and Recent DB Applied For.
- Users should also be able to Sort by First Name, Last Name, or Full Name.
- The Default Sort should be by Personal Email and in Alphabetical Order (Top of results should be A, end of results should be Z).
- Only the Geo Location view should display, and there should be 5 results per page.
- The following 4 fields should be viewable in your results – First Name, Last Name, City, and State.
- For clarification purposes, they would like to have the Label visible for City and State.
- Fonteva would also like to have images enabled so that users can see pictures of the Contacts in the front end, and a stock placeholder image (Image 3) for Contacts that do not have images.
- Fonteva would like each record to have a Detail Page that consists of Full Name, City, State, and Personal Email.
- There should be an action button on the Detail page that will direct users to the Contact's LinkedIn page.
- The Detail Page should also allow for end users to edit the fields of their personal record's Detail Page.
- They would also like to have a map component.
- Add an Enhanced List component on the Detail page for Badges that includes the following fields: Badge ID (Name), Badge Type, and Badge Description. No Images, Action Buttons, or Filter Criteria is necessary. Only 5 results should show per page in the Enhanced List component.
How would Fonteva Create this Directory?
Prerequisites
- From the App Picker, [Select] Directories.
- From the Directories tab, [Click] the New button.
- Create a Directory of Contacts.
- From the Create a New Directory modal, in the Primary Object field [Search and Select] Contact. In the Display Name field, [Type] Fonteva Directory of Contacts and [Click] the Save and Continue button.
- This Directory should be publicly available.
- In the Visibility section of the Display tab, [Confirm] that the Authenticated Users Only checkbox is unchecked.
- In the Visibility section of the Display tab, [Confirm] that the Authenticated Users Only checkbox is unchecked.
- The Directory should include a banner (Image 1) and logo image (Image 2).
- From the Display tab, next to the Banner Image field, [Click] the Browse button. [Select] Image 1 from the Media Library.
- From the Crop Image modal, [Crop] the image as desired and [Click] the Save button.
- From the Display tab, next to the Logo Image field, [Click] the Browse button. [Select] Image 2 from the Media Library.
- From the Crop Image modal, [Crop] the image as desired and [Click] the Save button.
- Front end users should be able to search this Directory by First Name, Last Name, Full Name, City, or State.
- From the Search, Filter, & Sort tabs, [Drag and Drop] the following fields from the Available Search Fields text box to the Selected Search Fields text box:
- First Name
- Last Name
- Full Name
- Billing City
- State
- From the Search, Filter, & Sort tabs, [Drag and Drop] the following fields from the Available Search Fields text box to the Selected Search Fields text box:
- Front end users should also be able to filter their results by Membership Type (A custom picklist field on Fonteva's environment's Contact records).
- From the Search, Filter, & Sort tabs, [Drag and Drop] the following fields from the Available Filter Fields text box to the Selected Field Fields text box:
- Membership Type
- Membership Type
- From the Search, Filter, & Sort tabs, [Drag and Drop] the following fields from the Available Filter Fields text box to the Selected Field Fields text box:
- Users should also be able to Sort by First Name, Last Name, or Full Name.
- From the Search, Filter, & Sort tabs, [Drag and Drop] the following fields from the Available Sort Fields text box to the Selected Sort Fields text box:
- First Name
- Last Name
- Full Name
- From the Search, Filter, & Sort tabs, [Drag and Drop] the following fields from the Available Sort Fields text box to the Selected Sort Fields text box:
- The Default Sort should be by Personal Email and in Alphabetical Order (Top of results should be A, end of results should be Z).
- From the Search, Filter, & Sort tab, from the Default Sort Field field drop down [Select] Personal Email.
- From the Search, Filter, & Sort tab, from the Default Sort Field Order picklist [Select] ASC.
- Only Geo Location view should display, and there should be 5 results per page.
- From the Display tab, from the Default View menu, [Select] Geo.
- From the Enhanced List tab, [Uncheck] the Enable Enhanced List View checkbox.
- From the Table tab, [Uncheck] the Enable Table List checkbox.
- From the GeoLocation tab, in the Display Results field, [Enter] 5.
- From the GeoLocation tab, in the Longitude field [Select] Billing Longitude.
- From the GeoLocation tab, in the Latitude field [Select] Billing Latitude.
- The following 4 fields should be viewable in your results – First Name, Last Name, Billing City, and Billing State.
- From the Geo Location tab, [Enter] the following values into the corresponding fields:
- Position 1 (Name) - First Name
- Position 2 (Subtitle) - Last Name
- Position 3 - Billing City
- Position 4 - Billing State
- From the Geo Location tab, [Enter] the following values into the corresponding fields:
- For clarification purposes, they would like to have the Label visible for Billing City and Billing State.
- From the Geo Location tab, next to the Position 3 and Position 4 fields, [Check] the Show Label checkboxes.
- From the Geo Location tab, next to the Position 3 and Position 4 fields, [Check] the Show Label checkboxes.
- Fonteva would also like to have Images enabled in their search results so that users can see pictures of the Contacts in the front end, and a stock placeholder image (Image 3) for Contacts that do not have images.
- From the Geo Location tab, [Check] the Enable Image checkbox.
- From the Geo Location tab, next to the Placeholder Image field, [Click] the Browse button. [Select] Image 3 from the Media Library.
- From the Geo Location tab, in the Image Field field, [Select] Image.
- Fonteva would like each record to have a Detail Page that consists of First Name, Last Name, Billing City, Billing State, and Personal Email.
- From the Detail tab, in the Name Field, [Select] Last Name.
- From the Detail tab, in the Detail Subtitle field, [Select] First Name.
- From the Detail tab, [Drag and Drop] the following fields from the Available Fields text box to the Selected Fields text box:
- Billing City
- Billing State
- Personal Email
- There should be an action button on the Detail page that will direct users to the Contact’s LinkedIn page.
- From the Detail tab, [Check] the Enable Action Button checkbox.
- From the Detail tab, in the Action Button Field [Select] LinkedIn URL (custom field).
- From the Detail tab, in the Action Button Label field [Type] Click Here.
- The Detail Page should also allow for end users to edit the fields on their personal record's Detail Page.
- From the Detail tab, [Check] the Enable Listing Profile Edit checkbox.
- In the Profile Fields section of the Detail tab, [Drag and Drop] the following fields from the Available Fields text box to the Selected Fields text box:
- First Name
- Last Name
- Billing City
- Billing State
- Personal Email
- They would also like to have a map component.
- From the Detail tab, in the Longitude field [Select] Billing Longitude.
- From the Detail tab, in the Latitude field [Select] Billing Latitude.
- From the Related List tab, underneath the Default Components column, [Drag and Drop] Map into the Drag and Drop Lightning Component box.
- Add an Enhanced List component on the Detail page for Badges that includes the following fields: Badge ID (Name), Badge Type, and Badge Description. No images, action buttons, or filter criteria is necessary. Only 5 results should show per page in the Enhanced List component.
- From the Related List tab, underneath the Default Components column, [Drag and Drop] Enhanced List into the Drag and Drop Lightning Component box.
- On the previously created Enhanced List Lightning Component, [Click] the Edit (pencil) button.
- From the Enhanced List Lightning Component Edit screen, in the Object field, [Select] Badge-- OrderAPI__Badge__r.
- From the Enhanced List Lightning Component Edit screen, [Enter] the following values into the corresponding fields:
- Position 1 (Name) - Badge ID
- Position 2 (Subtitle) - Badge Type
- Position 3 - Badge Description
- From the Enhanced List Lightning Component Edit screen, in the Display Results field, [Enter] 5.
- From the Enhanced List Lightning Component Edit screen, [Click] the Save button.
Final Step
From the top-right corner of the Directory Builder, [Hover] your mouse over the downward pointing arrow next to the Save button. [Click] Save and Exit.