Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
Info

OK this page is a bit old now, but a majority of the issues STILL exist, and Dynamic Forms is still NOT ready for Prime Time.

Video

In-depth look at everything I know about Dynamic Forms and Dynamic Actions.

...

Tip

if you like the pretty coloured icons in the top right hand corner of the lightning record page then you will love my new Indicators Lightning Web Componentthe Salesforce Indicators component - come help us build it to make it better.

Expand
titleExpand to see Video ToC

00:00 - Introduction 00:00 - Release Notes 00:28 - Get Started 01:58 - How we work now 02:36 - History of Dynamic Forms 04:20 - What is being delivered 04:38 - Setting the Scene 05:24 - JDDemo 10:50 - Setting up the Lightning Pages 11:59 - Convert the Page Layout 12:58 - Record Types and Page Layouts 13:47 - The Converted Page 14:08 - Mobile Layouts (not covered) 14:43 - Lightning Page Issues 16:30 - The Rules for Classic Page Layouts 17:34 - Compact Layouts and Hovers 19:22 - Building the Lightning Page 20:22 - No Record Previews 21:40 - Conditional Visibility of Sections 22:42 - The Fields Panel 23:51 - Weirdness with placing fields 24:51 - Why do Reports work different to Pages? 25:53 - You can add in bulk, but not delete bulk 27:01 - No Related Records Fields 28:26 - View the Page 29:30 - Comfy vs Compact Layouts 30:00 - Differences between components 30:44 - Layout Display Issues 32:34 - SLDS vs Salesforce 34:50 - Narrow Column Field Sections 37:06 - No Blank Spaces Hack 38:26 - What will be our new Best Practices 38:48 - Section Headings 39:11 - Save takes a little longer 40:03 - Conditional Fields 40:58 - If you build it, will they want it? 41:10 - Set Conditional Visibility on Status 41:45 - Tips for Conditional Visibility 42:32 - Testing Conditional Visibility 43:39 - Conditional Visibility during Edit 43:57 - Required Fields 46:02 - Using the Edit Button 46:53 - Conditional Sections 48:07 - Field Sections in Tabs 48:56 - Multiple of the same field 50:55 - Required Fields on Related Record Comp 52:12 - Will the users cope? 52:35 - Can we remove Standard Page Layouts? 53:40 - Dynamic Actions 58:41 - Detail Page Links 59:32 - Set up Conditional Actions 59:56 - Why no Conditional Tabs? 1:00:12 - Test Conditonal Buttons 1:00:52 - Set 10 Buttons to display 1:02:38 - Cloning 1:07:53 - Bottom Line (NOTE: Don’t follow my idea here - see below re editing!!) 1:10:07 - Layout Best Practices 1:12:26 - What makes a good page 1:13:18 - Next Steps

...

  • Custom Objects Only AND it isn’t supported on record pages that use pinned-region or custom page templates (as per the setup page).

  • Probably only about half the features needed in Custom Objects

  • So it’s about one quarter delivered.

Issues

Spring '23 Release

  • Now on most standard objects.

  • Still no Mobile

  • Still no blank fields

  • Still Slow

  • Still no appropriate way to deal with Related Records

  • Bottom line, still not useable.

Issues

Shown in the video

  • No Field Previews in page editor

  • No collapsible Sections

  • Section headings bigger

  • CSS Help icons different - WHYYYYYY

  • CSS on Field heights

  • No Blank field - WHY - there is a horrible hack???

  • A bit slow to save

  • Narrow section Fields don't honour existing CSS

  • No ability to add related fields, so related record components is not the same look, so it's going to look weird

  • No changes to create new field wizard in setup to stop adding a field to the Page Layouts

  • Can't delete one column of a section

  • Can't delete multiple fields at a time

  • Can't filter fields by types, like you can for reports

  • Can build a "wizard" but can't conditionally display tabs still

  • “You can't add a field there!” errors and often losing your fields selections

  • No read only indicator

  • New record and edit record has weird page layout with the different sections

Note

Editing Pages with Dynamic Form Fields

Beware! This doesn’t work well. In video 3 of the Be an Innovator quest they showed how easy it was to add a few fields to an existing lightning page. And it was something I said in my video that you might be able to start slowly and keep the existing pages and slowly add dynamic sections. NOPE, it does not work! Please do not do this!
See this extra video https://www.loom.com/share/bcc773a540c341ddb4fb956d3c07396b explaining it.

You do NOT want two SAVE buttons, one you can’t get to!

Then they doubled down and showed a similar thing in Release Readiness Live! https://twitter.com/jodiem/status/1272823818407403520

...

The “Duelling Save Buttons” are STILL there as at Spring '23!

Nice Things

  • Field API Names (but why isn't reports the same?)

  • Icons for field types

  • Bulk Click and drag! (why can't we have this on reports)

  • Add fields to multiple sections

  • Fields conditionally display as you edit

  • Fields in different sections of the page

  • Can't have two fields with one required and one not (but you can on a Related Record Component)

  • Cloning WORKS! (with a hack)

  • Hiding a section doesn't work until you save, which is good, but it doesn't turn back on in full edit mode

  • As you create new fields, you can just refresh the fields panel to see them. This is good. (Why can’t we have this in reports).

...

  • WHY does my edit Modal have a Save & New button? WHYYYYYY?

  • Why can’t I quickly create a new Field from the Fields tab… I get a direct link to the Object from the detail component, so why can’t I get a direct link to the object from anywhere else on this builder page?

Bottom Line

  • Can the user handle the differences on custom objects to Account / Contacts / Opportunities / Cases?

  • Can you handle the differences in look?

  • You need to think about and deal with the permissions

  • If you can work out your Assignments - still DO NOT do too many Lightning Pages

  • Can you deal with the edit page being different to the layout page?

  • Maybe if you have record types for just different sections, or different stages, then that is probably good to move

  • Managing buttons in two places (they are needed on the page layouts for mobile)

  • Where you had different page layouts for different buttons, may be good to move

  • If you can handle setting up mobile separately

  • What else does Record Types drive for you

  • You are still going to have to maintain a page layout, so is it worth the overhead yet?

  • How are Profiles are going to work in with this - eg having different page layouts for different profiles within the same Lightning page? What is the future of Profiles WRT Dynamic Forms - since Profiles are going away and being replaced with Permission Set Groups?

  • Need to know about performance implications - eg if I have to duplicate fields to have a slightly different layout for different profiles or perm sets rather than having different lightning Pages (I never want to do more than one Lightning Page unless absolutely necessary).

  • How is this going to work in with the setup functionality - the Perms team could NOT get the setup changed to incorporate Permission Sets into the Field creation screen, so how will this be incorporated into the new field creation and field editing screen.

...