Skip to main content

#Service Cloud58 discutindo

We have third party site which creates a Web-to-case and we wanted to attach the image files to the case. The site is open to all in internet. So how to attach the image file securely in salesforce. 

 

#Salesforce Developer  #Trailhead Challenges  #TrailblazerCommunity  #Service Cloud

3 respostas
  1. 16 de out., 09:25

    Hi @kallimulla Abdul Kadhar, 

    Standard Web-to-Case can’t carry attachments. The form it generates posts plain form fields, not multipart uploads, and it never creates ContentVersion records. The one answer on that thread says the same. Since your site is open to the internet, the safe approach is to keep the file upload off the Salesforce side of the public boundary until the file has been vetted.  

     

    Recommended pattern: your site’s backend handles the upload and calls Salesforce with an authenticated integration user 

    1. Browser → your backend. The site’s own server receives the image. It validates the file before anything reaches Salesforce: 
      • Allow-list of types, checked by magic bytes and not just the extension (JPEG/PNG/WebP/GIF, and no SVG, since SVG can carry script).
      • Hard size limit and a limit on the number of files per case.
      • Malware scan (ClamAV or a cloud scanning service).
      • Bot protection and rate limiting (reCAPTCHA/Turnstile, per-IP throttling).
    2. Backend → Salesforce, authenticated. Don’t use Web-to-Case for this flow. Create the Case through the REST API, using an OAuth Connected App / External Client App (client-credentials or JWT bearer flow) as a dedicated integration user. 
      • The credentials stay on your server and are never exposed in the browser.
      • Give the integration user a minimal permission set: create Case, create ContentVersion, and nothing else.
    3. Attach the file via REST: POST a ContentVersion (base64 body for small files, multipart for larger ones), then a ContentDocumentLink to the Case. Or use the Composite API to create the Case and attach the file in one call.
    4. Case ID handling. Never let the browser pass a Case ID that it supplies. The backend should use the ID returned from its own Case creation.

    Alternatives: 

    An Experience Cloud site with a Case form and the file upload component fits if the site can be replaced or embedded. It’s native to Salesforce, but the Guest User risk is real, so prefer authenticated external users over Guest access.  

     

    An Apex REST endpoint (@RestResource) fits if you need custom validation inside Salesforce. The caller still has to be authenticated, so don’t expose the endpoint to the Guest profile.  

     

    Uploading to S3 or Azure Blob and storing a link on the Case fits high-volume or large-file scenarios. The files then live outside Salesforce, so access control and retention become your responsibility.  

     

    Email-to-Case works if users can email their attachments, but sender verification is weak and attachment limits apply.  

     

    The backend-plus-REST-API approach remains the strongest option on security, but it needs developer work on the third-party site.  

     

    Avoid 

    • Exposing an Apex REST endpoint or Visualforce page to the Guest User profile to accept uploads. Guest access is the most common source of Salesforce data exposure, and an open file-upload path invites abuse and storage exhaustion.
    • Storing credentials in client-side JavaScript.
    • Trusting the filename or content type sent by the client.

    Other points

     

    • Files in Salesforce count against your file storage limits, so size caps matter.
    • Decide whether the images need to be visible to the customer later, since that changes the sharing setup (ContentDocumentLink visibility).
    • Consider async scanning: store the file in a quarantine state until the scan passes, then attach it.

    I hope you find the above information helpful. If it does, please mark it as Best Answer to help others too.

0/9000

Hi everyone, has anyone experienced Salesforce UI freezing or significant latency in Chrome or Edge?

We’re investigating a recurring issue where Salesforce becomes unresponsive for 10–20+ seconds. It happens during active chat sessions, particularly during peak traffic, but we’ve also observed similar behavior when users aren’t actively handling chats.

Has anyone encountered similar issues, and were you able to identify the root cause or find a resolution? Any insights into browser performance, memory usage, network conditions, or known Salesforce issues would be greatly appreciated.

Thanks in advance! 

 

#Salesforce Developer  #Messaging Session  #Service Cloud  #Salesforce  #TrailblazerCommunity  #Chrome Browser  #Network

4 respostas
0/9000

I am unable to create a Configuration Item in ITSM CMDB getting the error "Cannot create Configuration Item of Type "Component ".  

 

#IT

Service 

 

#Service Cloud

1 resposta
0/9000

I could not find any information about this behavior. Is this possible per standard in Salesforce or a flow is needed for that?. In which cases is it recommended the use of both routing possibilities?. How is the configuration if this is also possible per standard? (high level explanatipn).    @Salesforce Administrators & Developers @* Service Cloud Voice *   

5 respostas
  1. 13 de out., 10:38

    Queue based and skill based can work in parallel, However the priority of routing will be given to the workitems with Skills.  

    Assume queue based is like assigning only one skill. 

0/9000

We created a new email-to-case configuration and new organization-wide email address in a sandbox. The configuration was done by our Release Management user (which doesn't have the System Administrator profile).    End users received their respective verification emails but were unable to complete the verification process. They clicked on the link in the email which opened up a browser window with the Verify Email Address button. After clicking on the Verify Email Address button, the browser screen appeared to be refreshing or reloading for several minutes and never displayed a confirmation message. We confirmed the verifications were still pending in setup.    We worked with multiple users and retriggered the verifications multiple times (ensuring that links in the email were only clicked on once) but the only way we could get a successful verification was if the person retriggering the verification and clicking on the link in the email had the System Administrator profile.    I submitted a Salesforce Support case to inquire if there was a process change. The resolution indicated that there might be an issue with a Summer '26 patch and timing of user verification of email addresses on their own user record in our sandboxes. We did some light experimentation in other sandboxes but still couldn't get the verifications completed without a System Administrator. Given the resolution we had been provided, it seemed that we shouldn't encounter the issue in production so we moved forward and created the email-to-case and organization-wide email address in production.    Unfortunately, we had the same issue in production so someone with the System Administrator profile both retriggered the verification emails and clicked on the verification link in those emails.   

Has anyone else encountered this behavior?    TL;DR, someone with the System Administrator profile had to trigger the verification email AND click on the verification link in that email in order to successfully verify new email-to-case and organization-wide email addresses.

 

8 respostas
0/9000

Hi everyone,

 

I'm finding this a bit confusing and was hoping someone here could help clarify.

According to this Salesforce article, if Open CTI users are intended to use a particular Presence Status, we should remove the VoiceCall object

 from the supported Service Channels associated with that Presence Status. 

 

In our environment, we're using Five9 as our third-party telephony provider.

 

However, when I try to remove the VoiceCall object from the Presence Status configuration, Salesforce doesn't allow me to leave the object  field blank. It requires me to select another Object, meaning I cannot set it to null or simply remove the association.

Am I misunderstanding Salesforce's instructions, or is there another way to configure this correctly for Open CTI users?

 

Has anyone using Five9 or another third-party CTI provider encountered this issue? I'd appreciate any guidance on how you've handled this configuration. 

 

Thank you,  

Mit  

 

Open CTI presence status question.

 

#Telephony Integration  #Service Cloud  #Omni Channel

3 respostas
  1. 8 de out., 18:31

    Hi @Mit Chandola

    , 

     

    We recently moved off Five9, so we didn't run into this situation ourselves, but I understand your concern now. You're right that the article doesn't clearly say whether removing the channel is all that's needed.  

     

    If you have a TAM assigned through Five9, I'd suggest reaching out to them to validate your changes. If not, you can contact Five9 Support at cases@five9.com

0/9000

Hi Trailblazer Community, 

 

I’m currently preparing to migrate existing WhatsApp numbers into Salesforce Service Cloud using Digital Engagement, with incoming conversations routed to agents through Omni-Channel. We already have Facebook Messenger channels running through Digital Engagement and Omni-Channel, so I’d really appreciate hearing from anyone who has completed a similar WhatsApp migration, particularly when migrating existing production numbers from another provider. 

 

There are a few areas where I’d be interested in hearing about your experience: 

 

1. WhatsApp vs. Facebook Messenger setup

Can we expect to reuse most of our existing Messenger setup and routing approach — for example queues, routing configurations, Omni-Channel, Messaging Components, automated messages, opt-out/STOP handling, and business-hours logic? Or are there important WhatsApp-specific differences or limitations we should plan for? 

 

In particular, which parts of an existing Messenger implementation can typically be reused, and which parts normally require separate configuration for WhatsApp? 

 

2. Two-step verification on the WhatsApp Business Account / phone number

Salesforce documentation indicates that two-step verification needs to be disabled as part of the connection/migration process. 

 

What I’m less clear on is when it can safely be enabled again.

Can two-step verification be re-enabled immediately after the number has been successfully connected to Salesforce, or does it need to remain disabled until the WhatsApp channel has been activated and the migration/cutover is fully complete? 

 

Related to this, when the number is initially connected to Salesforce, does the WhatsApp channel start in an inactive state, allowing us to complete the Salesforce configuration before activating it? 

 

3. Access to the actual WhatsApp phone number during setup

Do we need to have someone available during the migration who has access to the actual phone number? For example, is a verification code sent by SMS or phone call during the Salesforce/Meta setup that needs to be entered manually? If so, at what stage does this happen? 

 

I’m particularly interested in understanding which people and access we need to have available during the production cutover so we can plan this in advance. 

 

4. Migration from the existing provider and downtime

The numbers are currently handled through another platform (Falcon/Brandwatch). 

One of the main things I’m trying to clarify is the relationship between connecting/configuring the number in Salesforce and the actual production cutover. 

 

When the number is initially connected to Salesforce, does it remain active and operational through the existing provider while the Salesforce WhatsApp channel is inactive? In other words, can we connect the number, complete the Salesforce configuration, routing, etc., and then activate/cut over at a later planned time? 

 

If so, what exact action triggers the number to stop working through the existing provider and start working through Salesforce? 

 

For example, does the cutover happen:

  • When the number is initially connected to Salesforce?
  • When the WhatsApp channel is activated in Salesforce?
  • During a separate Meta/WhatsApp migration step?
  • At another point in the process?

Understanding this distinction is particularly important for our cutover planning, as we’d ideally like to complete as much of the Salesforce configuration as possible while the number is still operational through the existing provider. 

 

I’d also be interested in any experience with downtime during the migration. Was there a period where the number was unavailable on either platform, and if so, approximately how long did the cutover take? 

 

5. Rollback considerations

For anyone who has done this in production, how did you approach rollback planning? 

If an issue is discovered after the number has been migrated and activated in Salesforce, is there a practical way to move the number back to the previous provider? Or should the migration effectively be treated as a one-way cutover, where rolling back would require performing another provider migration? 

 

Any experiences, lessons learned, documentation, or recommendations around planning the production cutover would be greatly appreciated — particularly anything that caught you by surprise during the migration. 

 

Thanks in advance! 

 

#Service Cloud  #Digital Engagement  #Whatsapp  #Messaging  #Messaging Channels  #Omni Channel

1 resposta
  1. 27 de set., 13:01

    Hi Christoffer, 

    A lot of the existing Digital Engagement/Omni-Channel architecture can be reused, such as queues, routing configurations, Omni-Channel flows, and business-hours handling. However, WhatsApp has some channel-specific setup and Meta/WhatsApp requirements, so I’d validate each component rather than assuming the Messenger configuration can be copied directly.  

     

    For the migration itself, I’d plan for someone to have access to the WhatsApp number and the required Meta Business Manager/WABA permissions during the setup, since verification and migration steps can require access to the number.  

     

    For the cutover, I’d also treat the connection/migration and the actual channel activation as separate steps in your runbook and test the complete flow in a non-production environment first. The exact behavior can depend on the WhatsApp/Meta setup and the existing provider.  

     

    Since you have several production-cutover questions around 2-step verification, activation timing, downtime, and rollback, I’d recommend confirming those specific points with Salesforce/Meta for your exact migration scenario before scheduling the cutover. If you can share the Salesforce WhatsApp setup/documentation you’re following, the community can also comment on the specific steps. 

0/9000

Hi All,

Is there a way to create a report specifically for Service Cloud Users?

We have both Service Cloud Users and Sales Cloud Users in our Salesforce org, and we would like to report on them separately. Also Some Users works in both the clouds.

Has anyone done this before or have any suggestions on how we can achieve this?  I wanted to Create Reports as below :

1. Users with Service Cloud Licence. 

2. Users with Sales Cloud Licence. 

3. Users with both Service and  Sales Cloud Licence.

Thanks in advance!

 

#Trailhead  #Salesforce Admin  #Salesforce Developer  #Sales Cloud  #Reports & Dashboards  #Service Cloud

4 respostas
  1. 6 de out., 13:32

    Hey @Nehi Pathak

    , there is no direct flag for Sales Cloud users. It depends on how it is setup in your org.  

    You can use this generic query

    SELECT Id, Name, Profile.Name

     

    FROM User 

    WHERE IsActive = true 

    AND

    Profile.UserLicense.Name

    = 'Salesforce' 

    AND UserPermissionsSupportUser = false 

     

    you can check what profiles are assigned to Sales user. 

     

    For reporting, if you dont have standard report type for user, you can create a custome report type and then run the report.

0/9000

so currently I'm making my own chatbot app, I'm training my own AI using machine learning and NLP for that app but how am I supposed to implement that AI model into Salesforce.. basically I want to make a UI and provide a database for that app, so what kind of salesforce technologies can help me to make a UI and to provide an overall backend + any additional tips?

#Sales Cloud #Salesforce Developer #Service Cloud #Experience Cloud #Integration #CRM Configuration #Automation 

2 respostas
  1. 2 de out., 10:54

    For a chatbot interface, I would keep the first screen very simple. Give users a few clear options and an obvious place to type their question. A visible route to human support is important too. Then test the interface with ordinary users. Their confusion will quickly reveal what needs changing.

0/9000

When case is created from Email-to-Case, a task is getting created automatically for each reply to that Email in Email tab in the Case. How to disable creating tasks for this activity? I've tried below solution:   1. In Email-to-Case configuration, create tasks is unchecked. 2. There is no setting for Disable Email Logging as Tasks in Activity Settings 3. There is no automation (Flow/Process Builder) or Apex which is creating tasks. Still tasks are getting created. 4.Enhanced Email is enabled.   Please provide some insights to disable creating tasks on outbound/inbound email on the Case.    

 

@* Service Cloud * 

6 respostas
  1. 14 de set., 09:05

    For teams handling technical customer-service processes, resources such as industrial service resources can provide useful context around structured workflows.

    If Create Tasks is already unchecked and there’s no Flow, Apex, or Process Builder involved, check the Task’s Created By, creation time, and related EmailMessage record. This can help identify whether the Task is being generated by Enhanced Email or another installed component. Also review the Email-to-Case and Enhanced Email settings together to isolate the source.

0/9000