Skip to main content

#Developer0 discussing

Hello. Why omniscript reload when the method This.omniNavigateTo() is called from lwc that IS embeded in omniscript?

#Omnistudio #Omni #Vlocity #Vlocity Architects #Salesforce Developer #Salesforce Developers #Developer #Developers #Lightning Web Components
2 comments
  1. Dec 23, 2025, 6:42 AM

    The this.omniNavigateTo() function triggers a page navigation event. When used inside an LWC embedded within an OmniScript, it often bubbles up and causes the entire OmniScript container to refresh or re-initialize, looking like a "reload."

    Solution:

     

    Instead of this.omniNavigateTo(), use the

    OmniScriptBaseMixin events to communicate with the parent OmniScript without forcing a full page navigation.

    1. If moving to the Next Step:

    javascript

    this.dispatchEvent(new CustomEvent('omninesxtstep'));

    If updating data:

    javascript

    this.omniApplyCallResp({ "yourData": "value" });

    Why it happens: omniNavigateTo is designed for PageReference navigation (like moving from Salesforce Page A to Salesforce Page B). When you call it, the framework assumes you are leaving the current context, so it reloads the component wrapper. Avoid using it for simple step transitions inside the same OmniScript. 

    1. https://trailblazers.salesforce.com/profileView?u=0053A00000FTqkWQAT
0/9000

Hi Everyone,  

I have a requirement on the Opportunity object and need your suggestions:  

 

There is a checkbox field called "ELOC Application". On Opportunity, we also have a record type: "ELOC Opportunity", And OWD is set to Private.  

 

Business Logic:

 

If Opportunity Stage = Closed Lost, then ELOC Application = False (unchecked).  

 

If Opportunity Stage ≠ Closed Lost, then ELOC Application = True (checked).  

Now the additional requirement:

 

If ELOC Application = False, then users with the Retail Home Loan Officer and Retail Office Loan Officer profiles should not be able to see those Opportunities.  

 

Till now, I have created a flow.. facing issues, but I'll sort it out. But confused by Additional Requirements. Please help.  

 

 

#Salesforce Developer  #Flow #Developer Forums  #Trailhead Challenges

4 answers
  1. Sep 17, 2025, 11:55 AM

    @Madhura Vidhate

    sorry, I just misread this part  

    "Retail Home Loan Officer and Retail Office Loan Officer profiles

    should not

    be able to see those Opportunities.  "  

     

    In that case the Group in the Sharing Rule that allows users to see those record would just be all users except for those 2 Profiles  

     

     

0/9000

Hello Trailblazer Community! 👋

I am Suraj Patil, a certified Salesforce Administrator & Developer with skills in Custom Objects, Workflow Rules, Process Builder, Validation Rules, Reports & Dashboards, Apex, Visualforce, and SOQL.

I have completed Salesforce projects including Service Optimization, Recruitment Automation. I am seeking an entry-level Salesforce Administrator/Developer role where I can contribute and grow.

📍 Location: Pune, India. 

📧 Email: surajpatil4745@gmail.com

 🔗 LinkedIn: www.linkedin.com/in/suraj patil4745 

Let’s connect! I’m open to opportunities, guidance, and networking in the Salesforce ecosystem.

#Salesforce #Admin #Developer #TrailblazerCommunity

0/9000

 Hello Trailblazer Community! 👋

I am Suraj Patil, a certified Salesforce Administrator & Developer with skills in Custom Objects, Workflow Rules, Process Builder, Validation Rules, Reports & Dashboards, Apex, Visualforce, and SOQL.

I have completed Salesforce projects including Service Optimization, Recruitment Automation. I am seeking an entry-level Salesforce Administrator/Developer role where I can contribute and grow.

📍 Location: Pune, India. 

📧 Email: surajpatil4745@gmail.com

 🔗 LinkedIn: www.linkedin.com/in/suraj patil4745 

Let’s connect! I’m open to opportunities, guidance, and networking in the Salesforce ecosystem.

#Salesforce #Admin #Developer #TrailblazerCommunity

0/9000

Hi everyone! I'm Sushmitha Alluri. I’ve been working in the Salesforce ecosystem for several years as a Developer and Admin, with hands-on experience across automation, flows, Apex, integrations, and most recently exploring AI tools like Agent Assist and ChatGPT with Salesforce. 

I'm here to connect, learn from others, and share what I’ve learned too. Looking forward to being active in the community and getting involved in different conversations and questions!  

#Salesforce #Admin #Developer #Trailblazer #Agentforce 

0/9000

✈️ #TDX25 is headed to Europe!

 

Join us June 11-12 as TDX comes to Agentforce World Tour London.  

 

🤖 Experience the developer conference for the AI agent era and gain the critical skills you need to build the future with Agentforce. 

 

Register today: https://www.salesforce.com/uk/events/london/tdx/

 

✈️ is headed to Europe! Join us June 11-12 as TDX comes to Agentforce World Tour London.

 

 

0/9000

Resources from the September Edition of Salesforce Developers Ask Me Anything

 

I hope you joined us for the fantastic SFDevsAMA on September 27th featuring Karishma Lalwani, Stephanie Maddox, and Alice Oh. They loved answering all your questions about the great new developer announcements from Dreamforce 2023, including Code Builder, Lightning Web Components, and Scale Center. If you missed it, don't worry - we recorded the series and our experts have provided some great resources that our experts for you to continue your learning! 

Still have questions? Post them in this thread for our experts!

 

#Code Builder #Developer Tools #LWC #Lightning Web Components #Ask An Expert #SFDevsAMA

Show Less

0/9000

TODAY at 5pmPT: Ask Me Anything about Developer Tooling!   

 

Our Salesforce experts for the Salesforce Developers Ask Me Anything session today are @Julián Duque and Vice President @Dan Fernandez. They'll be answering all your questions on Developer Tooling.

 

To participate:

  1. Ask your question here ⬇️ using the #SFDevsAMA tag.
  2. Join us for the broadcast here to see your question answered!

See you soon!

#Developer Console Tooling API 

TODAY at 5pmPT: Ask Me Anything about Developer Tooling! Our Salesforce experts for the Salesforce Developers Ask Me Anything session today are @Julián Duque and Vice President @Dan Fernandez.

10 comments
  1. Jul 5, 2022, 4:55 PM

    Thanks a lot  @Neha Ahlawat

    I'll try to post on this feed any ideas I have when I can explain them clearly.  I'm working quite a lot with soql tooling and standard as I need them to find the technical debt of my orgs. This is the best tool I have to make big jump and then I refine the result with the metadata api when I don't have any other choices :)  One thing that could really help regarding the tooling Api would be to modify the lastModifiedDate and the LastModifier whenever a metadata is modified indirectly. Example , changing a picklist on a field will be only seen through the auditTrail. And same for the recordType which is tricky as not everyone can use scratch org or source tracked sandbox to follow what's happening. And to monitor production , there is no such option :)  @Kris Harrison The other thing that could help would be if possible to add the fullName of the metadata modified within the audittrail as a new colum :) So that parsing the audittrail would become easier :)  And if you need to new ideas, feel free to contact me :)

0/9000

Questions about Developer Tooling? Join Tomorrow's Salesforce Developers Ask Me Anything Session!    

 

In our monthly AMA session, we are delighted to have the experts who know all there is worth knowing about Developer Tooling. Bring your questions and join us!  

 

Click here to add it to your Google Calendar.  

 

This event will feature a live session from our YouTube channel and our experts will answer questions that you post here using the official #SFDevsAMA tag. The live stream link will be shared on this page just before the event goes live.   

 

#Developer Console Tooling API #Developer Tools

0/9000

CANCELLED Starting in 5 Hours: Ask Me Anything about Developer Tooling!

 

 Due to yesterday’s tragic incident in Texas, I have decided to cancel today’s Salesforce Developers Ask Me Anything. We may reschedule and I'll post here if that gets changed. 

 

Thank you for your support.

 

Our Salesforce experts today are @Julián Duque and Vice President @Dan Fernandez. They'll be answering all your questions on #Developer#Developer Tools.

CANCELLED Starting in 5 Hours: Ask Me Anything about Developer Tooling! Due to yesterday’s tragic incident in Texas, I have decided to cancel today’s Salesforce Developers Ask Me Anything.

1 comment
0/9000