forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
954 stars 406 forks source link

Can not retrieve the email templates from the org browser. #3702

Closed anshumishra07sstk closed 2 years ago

anshumishra07sstk commented 2 years ago

Summary

Clicking on an email template from the org browser doesn't give an option to retrieve the code.

Steps To Reproduce:

  1. Connect to Default org (My SF sandbox)
  2. Go to Org Browser and look for Email Templates Metadata.
  3. Choose the correct folder. It shows the email template name.

Expected result

_After right clicking the email template name, there should be an option to retrieve the code. _And selected email should be added to the branch.

Actual result

_Email Template name doesn't show an option to retrieve the code. _Nothing gets added to the branch. There is no option to pull the email template into the branch for deployment.

Additional information

Feel free to attach a [screenshot.](url)

Salesforce Extension Version in VS Code:

SFDX CLI Version:

OS and version:

anshumishra07sstk commented 2 years ago

https://www.loom.com/share/61ebc6b3ca9b46a08edb725bd2349e1f

The org browser doesn't retrieve the email templates and the explorer just shows email template folders but not the actual templates under "email" metadata.

Please take a look and if possible schedule a call to fix this issue. Thank you!

AnanyaJha commented 2 years ago

Hi @anshumishra07sstk thanks for reporting this! Are you seeing this behavior with any other metadata types in the org browser? Could you also share what version of the Salesforce Extensions for VS Code you're using? This can be found in the Extensions Marketplace, thanks!

anshumishra07sstk commented 2 years ago

Hi Ananya,

Sorry I couldn't reply earlier.

I see this problem with other data types too. Today I added a new field in an object and when I opened VS Code Org Browser, I saw that field but after doing the right click, there was no option to retrieve that field so I retrieved the object itself. That adds all the changes to my new branch.

However, to add all those changes in the branch, choose mine and discard others; makes the whole process too time consuming. But at least that option works for other metadata but there is nothing for email templates deployment.

[image: image.png]

I will appreciate it if you can schedule a call and help me fix this issue. I will be available from 3:00-5:00 PM EST today. If that doesn't work for you, please let me know.

Thank you!

Regards, Anshu Mishra CRM Administrator, Global Contact Center Operations

Empire State Building 350 Fifth Avenue, 21st Floor New York, NY 10118 www.shutterstock.com

On Thu, Dec 16, 2021 at 10:29 AM AnanyaJha @.***> wrote:

Hi @anshumishra07sstk https://github.com/anshumishra07sstk thanks for reporting this! Are you seeing this behavior with any other metadata types in the org browser? Could you also share what version of the Salesforce Extensions for VS Code you're using? This can be found in the Extensions Marketplace, thanks!

— Reply to this email directly, view it on GitHub https://github.com/forcedotcom/salesforcedx-vscode/issues/3702#issuecomment-995923529, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW3PCE4I3NYG2KNRVYIIHQLURIAWBANCNFSM5KFMZ2NA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

RitamAgrawal commented 2 years ago

@anshumishra07sstk This issue is consistent with components under folders of metdatatypes like Email Templates, Dashboards, Documents and Records. If you come across any other metadata types please let us know. Thank you.

anshumishra07sstk commented 2 years ago

Hi Ritam,

Thank you for your response. I have a few questions though:

Please let me know if we can schedule a call tomorrow. It will be quicker than having lots of emails going back and forth. Thank you!

[image: image.png]

Regards, Anshu Mishra CRM Administrator, Global Contact Center Operations

Empire State Building 350 Fifth Avenue, 21st Floor New York, NY 10118 www.shutterstock.com

On Mon, Dec 20, 2021 at 9:47 PM Ritam Agrawal @.***> wrote:

@anshumishra07sstk https://github.com/anshumishra07sstk This issue is consistent with components under folders of metdatatypes like Email Templates, Dashboards, Documents and Records. If you come across any other metadata types please let us know. Thank you.

— Reply to this email directly, view it on GitHub https://github.com/forcedotcom/salesforcedx-vscode/issues/3702#issuecomment-998424615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW3PCE5G4HUT6LSP6KJQBWDUR7TFFANCNFSM5KFMZ2NA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

randi274 commented 2 years ago

This has been fixed with the latest release of the extensions, 54.6.1 - let us know if you encounter any additional issues!