Skip to main content Stream TDX Bengaluru on Salesforce+. Start learning the critical skills you need to build and deploy trusted autonomous agents with Agentforce. Register for free.

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

Has anyone had success activating Session-Based Permission Sets for Portal Users?

 

Use Case:

Displaying DataTable of Object A via Screen Flow on a community portal. 

DataTable used is the UnofficialSF version.

One of the fields displayed is a lookup to Account. We want it to be a clickable link.

DataTable requires that the running user have Edit permission for Object A for the lookup to show up as a clickable link. Otherwise, it just shows up as the AccountId (unclickable).

 

I've created a Session-Based Permission Set called Temp Access that gives Edit permission to Object A.

I've created a flow that Activates the Session-Based Permission Set while the portal user is on the page.

Although the flow runs, according to the Setup Audit Trail, the Permission Set doesn't get Activated, so I don't get the desired clickable link.

 

One thing I noticed: when I assign the Permission Set to only Portal Users and run the Activate flow, I get an error: The permission set must be pre-assigned to the user before being activated. But if I assign the Permission Set to myself as well (Sys Admin), the flow "finishes" without error, but again, it doesn't actually activate the permission set.

 

Another thing I noticed: If I change the Permission Set to not be Session-Based, I get the desired clickable link. However, we cannot give Portal Users that much permission. It needs to be Session-Based.

2 answers
  1. Today, 6:43 PM

    Has anyone solved this for a session-based permission set applied to platform users?  I've assigned the session-based permission set to the test user, but when I run it in debug, it throws the "The permission set must be pre-assigned to the user before being activated" error when it hits the Activate Session-Based Permission Set action. 

0/9000

Hi everyone, 

 

I’m looking for some advice on handling ownership changes in Salesforce when an employee leaves the company. As you know, when someone departs, their owned records — like Accounts, Opportunities, and Leads — need to be reassigned to someone else. 

 

I’m hoping to standardize a process around this and would love to hear how others are handling it. 

Currently, the process I’m considering would be to export and update these records using an import with the new owner's ID. 

 

If anyone has a process or best practices they could share that have worked well for their organization, I’d really appreciate the insight! 

 

Thanks in advance for any feedback!

1 answer
  1. Today, 6:43 PM
    Heyya, you’ve got the basics for sure. Data load a new owner when you have one. The next thing I would mention is teams like Account, opp or case teams where an assistant or others key players could maintain access to the record if that is a consideration in your org. User access policies are a newer feature that supports some of the user provisioning steps, while personally I have created custom screen flows to allow admins to do this ownership switch but it’s just simulating a data load. This is definitely a manual process most admins face, while large businesses I imagine automate this with an outside identity provider. I hope someone may know the package you need. Best of luck Trailblazer, you’ve got this!
0/9000

I created a leads report for Trailhead challenge but it wont recognize it. 

I created a leads report for Trailhead challenge but it wont recognize it.

Here is the challenge:

Create a Leads report.

Make a report that shows you a count of leads grouped by source and rating.

Name the report 'Matrix of Leads' and save it to the 'Unfiled Public Reports' folder.

The new report should be of type Leads.

The report should be matrix format, show 'My Leads', and the date range should be for All Time.

Column grouping should be by Rating.

Row grouping should be by Lead Source.

We won't test for this, but hide details to simplify display.
1 answer
  1. Jan 11, 2017, 3:14 AM
    Hi,

    ​Please consider below points.

    1.Please check if you have connected to same DE org where you have done your work in the trailhead.To do this click on" launch your hands on org" and select the DE org or trailhead playground where you have your work and then check challenge.

     OR

    Go to Trailhead Profile -- settings -- make the DE org which you have worked as default then check the challenge.

    2.Make sure your report is saved in Unfiled Public Reports' folder​

    The Trailhead is released with new updates please refer below link how to take challenges in trailhead.

    https://force.desk.com/customer/portal/articles/2643793-trailhead-profile-signup-login-faq?b_id=13478

     

     

     

    This happens while installing the App if you are giving DE credentials.To install the App in the trailhead playground, you need to provide trailhead playground credentials.Please refer below link on how to get credentials of trailhead playground.

    https://force.desk.com/customer/portal/articles/2659738-how-to-get-a-password-for-my-trailhead-playground?b_id=13478

     

    Hope this helps you!Please let me know If you need further help.

    Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.

     

    Thanks and Regards

    Sandhya

     

     
0/9000

I just want to show specific terms for specific products on a conga quote template in CPQ. 

2 answers
  1. Josh Priem (Sojern) Forum Ambassador
    Today, 6:36 PM

    I forget the specific Conga terminology but you can conditionally display whatever you need. So you'll just need an identifier for Conga and it will only show those specific TCs when that product(s) are on the quote. 

0/9000

We are using Advanced Approvals along with Salesforce CPQ. 

 

Sometimes, when a user clicks the Submit For Approval advanced approvals button, the ApprovalStatus__c field is updated to Pending, then instantly reverts back to Draft. The Approval Request record is still created, but the ApprovalStatus__c field is in Draft.  

 

Has anybody run into this before? 

 

I have checked all of our automations and nothing is touching the ApprovalStatus__c field outside of Advanced Approvals.  

ApprovalStatus__c Reverting to Draft After Approval Submission (Advanced Approvals)

 

Thanks!  

Isaiah 

 

 

 

#Salesforce CPQ & Billing

2 answers
  1. Josh Priem (Sojern) Forum Ambassador
    Today, 6:35 PM

    I would refresh your CPQ scripts and try it again. It's very unlikely to be an issue with AA specifically. And I know you checked but I feel pretty confident something else is doing something. For instance a price rule wouldn't show on "where is this used". Not saying it's a PR but an example of some sneakier auotmaiton.  

     

    Cheers!

0/9000

Hi there, 

 

I have a turbo data mapper set up that seems to be pulling nothing at all. 

 

I'm using a custom object and selecting ID (as it does) and Description__c. 

I put in zero filters, zero input parameters. I have records of my custom object. 

 

When I click Execute, I get "We couldn't execute the data mapper because the mappings are incorrect." 

 

How are the mappings even "incorrect"? I'm not even mapping anything or filtering anything, I'm pulling 2 fields on an object and it returns with an error. 

 

 

2 answers
  1. Today, 6:22 PM

    I think you have to enter in at least one criteria. Something like where Id <> $Vlocity.NULL. Give that a shot and LMK if it works!

0/9000

Hi everyone 

 

We want our users to log emails and events from Outlook directly to specific Opportunity records in Salesforce. I'm testing Outlook Integration and Einstein Activity Capture (EAC) but running into issues: 

 

Outlook Integration: 

 

  • I can create an event in Outlook, select an Opportunity, and log the event to it.
  • However, if I later update the event (Date, Time, Details) in Outlook, those updates do not sync back to Salesforce.
  • I have to create a new event and manually remove the old one from the Opportunity, which isn’t ideal.

 

Einstein Activity Capture: 

 

  • Events and emails sync between Outlook and Salesforce when updated, which is great.
  • However, I can’t directly choose which Opportunity to log the event to.
  • EAC associates events based on Contact Roles, and if a Contact is linked to multiple Opportunities, the event appears on all the Opportunity records — even if it’s only relevant to one.
  • Managing Associations manually in Salesforce is possible but creates extra admin work.

 

Our ideal solution: 

 

  • Create an event or email in Outlook and log it to a specific Opportunity.
  • Update the event in Outlook, and have those updates sync automatically to Salesforce.

 

Question: 

 

  • Can either Outlook Integration or EAC be configured to support this?
  • If not, can anyone recommend a third-party solution that would allow this functionality?

 

Thanks in advance for any advice or suggestions!

2 answers
  1. Today, 6:32 PM

    Hi David 

     

    Thanks for your response. You said ' We don't have an issue with meetings(events) being updated and a new sync occurs for the revised meeting.' 

     

    What do you mean by this?

0/9000

Hey Community!

 

If I have 2 single sign-on settings currently enabled in my org (one is for an 'On-prem' server; one is for cloud server) that I inherited. I am trying to delete the on-prem setting but getting the error message below. Any advice other than solutions I've already tried OR how to get to experience cloud?

 

Error message: you can’t delete this single sign-on setting as an authentication method because your org or experience cloud site is currently using it.

 

solutions tried:

  • Go to Domain Management –> My Domain. Check whether the SAML Settings is disabled in “Authentication Configuration” section. If not, please disable it. ---- This did not work and says I can't disable this setting
  •  
  • 2. Please check the Portal Login and Registration Settings and Community Login and Registration Settings and do the same. ---- I'm not entirely sure I know where this is, I went to 'Digital Experiences' --> workspaces and see the option for settings, but the one setting I think is for the SAML is not checked, therefore I'm a little out of ideas.

references I've checked:

4 answers
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    Jan 12, 2023, 6:34 PM

    Under Digital Experiences > Workspaces > Administration on your Login settings is there another option selected as well as Username and Password ?

     

    These settings are per site so you'll need to check all your sites. 

     

    Please try this in a sandbox first!

0/9000

I have a Flow that updates the Probability field on an Opportunity depending on the "Status" (custom field) that the user has selected. However, we would like the user to be able to manually enter the Probability if they determine that it should be different than the defaults we created in the flow.    How can I utilize this flow, but still allow the user to enter the Probability manually?    Example 1:   User updates the Status field to "Project viable and imminent (40%)", then the Flow automatically updates the Probability to 40%.  User decides the Probability should actually be 25% and needs to enter it manually, but the Flow prevents it.    Example 2: User creates a new Opportunity and manually enters the Probability. Later, the user advances the Stage & Status, the Flow automatically updates the Probability when it should leave the manual entry as-is.    Potential workaround - I created a formula checkbox field called "Manual Prob" and I am trying to create a formula or flow that will check the box if the value is entered manually by the user - but i don't know how to do this. Then in my original flow, i could add a condition where it will only run if "Manual Prob" equals FALSE.  If this the best solution to my original question, then how do I check the box ONLY IF the user manually enters the value?    

2 answers
  1. Today, 6:27 PM

    Thanks, Mufaddal Ferozporwala! 

     

    I'm sorry for not responding sooner, but this was very helpful and resolved the problem I had with my flow. It was exactly what I needed, thanks!

0/9000

Hi Team, 

I am completely stuck on Challenge no. 3 in "Dashboard Insights for Agentforce readiness Superbadge" challenge. 

Link below: 

https://trailhead.salesforce.com/content/learn/superbadges/dashboard_insights_for_agentforce_readiness_superbadge_unit

 

 

I am getting the below error: 

"We can’t find the 'Executive Performance and AI Readiness' dashboard with the proper home page configuration" 

 

Not sure if this is an issue with Lighting App builder OR am I doing something wrong. 

I've configured a Home page app named "Agentforce Readiness" as instructed but still having an issue. 

I've also Activated the App choosing the "App & Profile" setting then adding Standard User and System Admin but doesn't seem to have resolved the issue (snapshot attached) 

 

Can someone assist please? 

 

Challenge no. 3 Error: We can’t find the 'Executive Performance and AI Readiness' dashboard with the proper home page configuration

 

 

 

Thanks 

 

#Trailhead Challenges  #Trailhead Superbadges

2 answers
0/9000