Skip to main content

#Salesforce136 discutindo

Morning 

 

I haven't updated these aspects of a Field before - Data owner, Field Usage, Data sensitivity , Compliance Categorization fields but with the advent of AI Agents etc I am thinking it might be a good idea. 

 

My question is - Can I mass update all these as I don't see them being available on any Exports 

Classification Data on Fields

 

 

 

#Salesforce Admin  #Salesforce Developer  #Salesforce

5 respostas
0/9000

Context

We have an OmniScript that calls DataRaptor/Integration Procedure remote actions to pull data. When a device loses network mid-session, the remote action call fails and OmniScript throws a hard error instead of degrading gracefully. A red error banner names the failing element, shows true underneath, and the "Continue" button doesn't actually recover the flow. 

 

Fix implemented

Before triggering the DataRaptor/IP remote action, we register listeners for the browser's connectivity events:

js

window.addEventListener("online", handleOnline);

window.addEventListener("offline", handleOffline);

On offline → we set a flag and intercept the remote action call, showing a friendly "you're offline" message instead of letting the call fail and throw the error block.On online → we clear the flag and let the remote action proceed normally.

We also check navigator.onLine at call-time as a secondary guard.

This works correctly for every user we've tested, across web (all major browsers) and Mobile Publisher — the offline event fires reliably, our handler runs, and the graceful message shows up instead of the hard error.

The problem

For exactly one user, on Chrome, neither the offline event nor the online event appears to fire at all when the device's actual connectivity changes. Because our handler never runs, the flag never gets set, the remote action call goes through as if the device were offline, and the original OmniScript error surfaces.

 

Affected environment

  • OS: Ubuntu 24.04.2 LTS
  • Device: Lenovo laptop
  • Chrome: Version 151.0.7922.137 (Official Build) (x86_64)

Question for the community

Has anyone seen window.addEventListener("online"/"offline") fail to fire on Chrome for Linux (Ubuntu 24.04) on a specific machine, in an OmniScript/LWC context, while working fine on the same OS/browser combo for other users?  

 

Thanks!

 

 

#Salesforce  #Omnistudio  #DataRaptor  #Chrome Browser

1 resposta
  1. Ontem 15:24

    Hi Rakesh - the root issue is that the window online/offline events (and navigator.onLine) are inherently unreliable, and Linux Chrome is the worst case. Chromium marks the browser 'online' whenever there is any network interface with an IP - even a virtual or IPv6 adapter with no real internet - and it often never fires the offline event on Linux. So on that one Ubuntu user's machine the events genuinely will not fire; it is a documented Chromium limitation, not your code. 

     

    So do not gate your OmniScript logic on those events. Two robust patterns instead: 

     

    1. Handle the failure at the call, not before it. Wrap the DataRaptor IP remote action so that when it fails (network error or timeout) you catch it and show your friendly 'you are offline' message plus a real retry - rather than trying to predict offline up front. In OmniScript, use the element's error handling / a Set Errors plus conditional navigation so the hard error banner never shows. 

     

    2. If you want a proactive signal, run a lightweight heartbeat - a periodic fetch to a tiny known endpoint with a short timeout - and treat a failed or timed-out fetch as offline. That actually tests reachability, which the browser events do not. 

     

    navigator.onLine is fine as a hint (if it says false, you are definitely offline), but never as the source of truth. Catching the actual remote-action failure is what fixes the ungraceful error for everyone, including that Ubuntu user. 

     

    If this helps, please mark it as the Best Answer so it helps the next person - thanks :)

0/9000

🎥 I've started a YouTube channel — SalesforceDevDaily! 

 

Sharing the concepts, hacks, and lessons I've learned working as a Salesforce Developer — Apex, LWC, and real project tips. 

Channel Link:-

https://youtube.com/@salesforcedevdaily?si=33wpFFurKxhWvBEI

 

 

Subscribe and let's learn together! 🚀 

#Salesforce #Apex #LWC #Trailblazer

3 comentários
0/9000

Within work queue, it used to be possible to delete/mark as read individual items from "my feed". Now, our agents have to open each notification individually to "read" it and remove the notification. 

 

They get so many per day that it's not possible to go in to each one each time. It seems this changed recently but i see nothing about this anywhere.  

 

#Salesforce Admin  #Work Queue  #Salesforce  #TrailblazerCommunity

6 respostas
  1. 19 de ago., 19:08

    @Curtis Hale and @Kundan Kumar Jha  

     

    I had a case in for this issue. Here is the response from Salesforce Support: 

      

     "Based on our investigation, the current behavior appears to be working as designed following a recent product update. We confirmed that this is not related to user permissions, profiles, or configuration changes in your Salesforce org. 

     

    The update introduced changes to the My Feed experience, including: 

     

    The red “X” previously used to dismiss individual feed items is no longer displayed. 

    The Open Count is also no longer shown. 

     

    Users can continue to view and filter their My Feed notifications; however, the option to manually dismiss individual items is no longer available in the updated experience. 

     

    This behavior is consistent across users and has also been observed in other Salesforce orgs following the update. Based on the information currently available, it does not appear to be an org-specific issue or product defect. 

     

    Additional information about the related product changes is available in the Salesforce Release Notes: 

     

    https://help.salesforce.com/s/articleView?id=release-notes.rn_sales_sales_engagement_on_core.htm&release=262&type=5

     

    We understand that the removal of the dismiss option affects how your users manage their daily notifications, and we appreciate you bringing this change to our attention." 

0/9000

 Hi, 

Could you please give me a

hint

on how to center (if possible) all values in the table? 

I want to

align them all vertically. Right now it depends on

the width of the numbers. 

I know it's not strictly a table as it's continuous, but it must stay as is  

 

#Tableau Desktop & Web Authoring  #Trailhead  #Salesforce

3 respostas
  1. 20 de ago., 08:53

     This would be a valid solution if I had only two columns. In my case, as shown in the screenshot, there are many columns. In one of them, I am showing three values with ▼ ▲ symbols between them. If the values were the same size, they would align correctly, but they are not. I have no clue how to fix it.

0/9000

Hi Trailblazers,

I’m currently working on the Trailhead module “Deploy an Agent in Slack.”

As part of the exercise, I’m trying to find the Agent Request under Tools & Settings → Organization Settings → Salesforce →Agentforce. However, when I open Agentforce, the Needs Review tab shows “0 requests” and “No requested agents.”

I have attached a screenshot showing what I’m seeing.

Could someone please help me understand:

  • Why is the Agent Request not appearing?
  • Is there any additional setup or permission required?
  • Do I need to complete any specific step in the Trailhead module before the request appears?

Any guidance would be greatly appreciated. Thank you!  

Unable to Find Agent Request in Agentforce – “Deploy an Agent in Slack”

 

 

 

#Salesforce  #Trailhead  #Slack  #AgentforceBuilder

1 resposta
0/9000
2 respostas
  1. 19 de ago., 16:56

    Hey Bhagyavan, 

     

    This is an internal server error on Salesforce's own infrastructure (the message itself confirms "

    salesforce.com

    support team has been notified"), not something wrong with your account setup or browser. 

     

    Since this happened right after login on a specific home page, try: 

    - Wait a few minutes and refresh, transient internal errors often clear on retry 

    - Try navigating directly to Setup or a different tab (like an object list view) instead of the Home page, if that works, the issue may be specific to a component on your Home page (like a broken dashboard or custom Lightning component) 

    - Clear browser cache or try incognito, rules out a stale cached page state 

    - If it persists across all pages/browsers, log a case with Salesforce Support and include the Error ID: 605878076-277435 (-652286695), that ID lets their support team pull the exact server-side log for your issue 

     

    Since the org is on a Developer Edition-style domain (

    speed-speed-1379.lightning.force.com

    ), if this is a Trailhead Playground, spinning up a fresh one may be faster than waiting on a support case. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=000384631&language=en_US&type=1

0/9000

Hello; 

 

I have an opportunity type, where I want to track previous years funding amount.  I have an object that is titled (for example) 2024 sponsorship amount.  

I would like if there is an amount for this type of opportunity to automatically populate it instead of having to hand enter it every year.  

 

I assume it would have something to do with connecting it to something from the Organization/Account and not the opportunity. 

 

Suggestions? 

Thanks in advance 

 

#Salesforce Admin  #Salesforce

2 respostas
  1. 19 de ago., 16:46

    Hey Rosie, 

     

    Steve's on the right track. Adding the concrete steps to build on that: 

     

    1. Create a Record-Triggered Flow on Opportunity, trigger it "A record is created," run Before the record is saved (this lets you set the field without a separate DML/save cycle) 

    2. Add entry criteria for your specific Opportunity Type, so it only fires for that record type 

    3. Add a Get Records element to query your "2024 Sponsorship Amount" custom object, filtered where the Account field equals $Record.AccountId 

    4. Add an Assignment (or just set it directly if using the auto-layout field-update path) to set your Opportunity's amount field to the value pulled from that Get Records result 

     

    This requires a Lookup or Master-Detail relationship between your custom object and Account (not Opportunity directly), since you're querying the custom object by Account, then writing the result onto the new Opportunity. Before-save flows are the standard, most efficient way to auto-populate a field at creation without an extra save cycle. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=platform.flow_concepts_trigger_record.htm&language=en_US&type=5

0/9000

Hi Everyone,

I’m not able to see the product under the category when I try to add it to a Quote through Browse Catalogs, even though the product is active and assigned to an active Pricebook that is aligned with the Quote’s Pricebook.

Could someone please help me check if I’m missing any configuration or setup?

Thanks in advance! 

 

#Salesforce  #Revenue Cloud  #Salesforce Revenue Cloud

3 respostas
0/9000

Hello everyone,

I read some articles in which it was mentioned that Salesforce provides 2 free Tableau licenses. How can I obtain these licenses in Salesforce? If anyone has any idea how can i get please let me know. 

 

Thanks

 

#Salesforce

2 respostas
0/9000