Atlas-Assistance-Dogs / atlas-dogs

Repository for Atlas Dogs flows in Salesforce
1 stars 1 forks source link

Add field for DidMeetThisWeek to Log and ClientDog to Contact #539

Closed deb761 closed 1 month ago

deb761 commented 2 months ago

Critical Changes

Changes

  1. Added DidMeetThisWeek to Client Log
  2. Added ClientDog to contact & Client quick action
  3. Added setting contact field to TeamTrigger
  4. Added new fields to Team permission set
  5. Removed group recipe from snowfakery recipe

Issues Closed

529 #531

atlasjen commented 1 month ago

i tried deploying to a fresh scratch org. I got this error in deploy

image

deb761 commented 1 month ago

I just pushed a fix. It should work now.

atlasjen commented 1 month ago

the scratch org built successfully, after the update. I can see the new fields in the object settings for both Log and Contact.

I did need to add the "worked with TF" checkbox to the page layout for logs... but i'm still not seeing it show up when i look at the logs directly, nor is it in the New Client Log form. We will also likely want to add it to the log related list under contacts.

However, the atlas settings like client page layout aren't coming through. I don't see the Atlas page layout. I tried sf project deploy start -d force-app -d unpackaged/post but while that ran successfully, it didn't make a difference. ideas?

Client Dog is populated :)

deb761 commented 1 month ago

I fixed a problem with the profiles being ignored. As far as "not seeing it show up when you look at logs directly", do you mean when you pull up the record list page? Are you saying you want it in the default list view? And do you want it in the related list for Contact? Would that be for both Client and TF logs?

atlasjen commented 1 month ago

I deployed to a new scratch org. All is good with Client Dog and propagating from Team.

Regarding logs, if i go to edit an existing log, i see the new field: image

here is what I see when i go to create a new Client Log: It does not have the field: image

When i look at the related logs from w/in the contact, it does not show, so i would like it in the default list view: image

When I go to look at View All, it also doesn't show: image

I have no way to edit the fields shown in these list views. We didn't add this to TF Logs, so it only applies to client logs.

deb761 commented 1 month ago

So, what I am hearing is:

  1. This new field only applies to Client logs
  2. You want to see it in the New Client log dialog
  3. You want to see it in the Client log related list
  4. You want to see it in the default list view (View all)
atlasjen commented 1 month ago

yes, that sounds correct!