Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Widget Connector
width900
urlhttps://www.youtube.com/watch?v=On46cCe8GfE&list=PLbPt6SI1Zhb8CnWh7Gvopto7D6LEwcB9A&index=12
height500

Add a dropdown drop-down fields to an app application to link data. To recap on the steps in the video:

Creating Drop-down

...

Fields

  1. In the stream Businesses, create a new view called DD_Businesses.

    Tip

    The DD_ prefix is used here as an indication that this view is used for a

    dropdown

    drop-down.


  2. Ensure the new view has the UID and Name fields only.
    1. Hide the UID.
  3. Bring the contacts Dashboard back ashboard to the front.
  4. Drag the new DD_Businesses View (icon) icon onto the BusinessName field on the edit formThis dynamically creates a Drop Down-down field.
  5. Setup the dropdown Set up the drop-down by opening the configuration form for the stream attribute BusinessName.
    1. Set Drop Down Value Field to Name.
    2. Under Mappings click , click + to add a new mapping and set:
      • Set Form Field to the BusinessUID
        The name of the attribute on the form to which we want to map
        to on our form i.e. BusinessUID
      • Set Drop Down Field to the : UID
        The name of the attribute on the view that we
        will want to map to the form value i.e. UID

Link the Contacts on the Business Dashboard

  1. Open the configuration form for the Business Contacts view on the Businesses dashboard.
  2. Next Click + next to the Default Sort Order click + and set:
    1. Name: ByName
    2. Sort Order Attributes, use FamilyName
    Next
  3. Click + next to the Default Filter click + and set:
    1. Name: ByBusiness
    2. Filter Details
      • BusinessUID equals Businesses.UID
      • Click abc to let tell PhixFlow know that this is an expression.
  4. Now the Businesses view will drive the content of the Contact Detailsi. e we This means you will see the contacts relevant to the selected business.


Tip

Drop Down -down fields are useful when we want users to select an option from a predefined values to be used for an attributelist of values. Another good candidate for a dropdown drop-down field is Type on the Businesses dashboard. Update all your contacts with a business from the dropdown drop-down list.


Panel

Next video: 11. Menus and Navigation

...