Skip to main content The Trailblazer Community will be unavailable from May 30, 2025 7:00 PM PDT to May 31, 2025 7:00 AM PDT as we migrate MuleSoft Community Forums to the online Trailblazer Community. Please plan your activities accordingly.

Feed

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

prompt builder templates superbadge unit   

   have not completed superbadge have many problems  so please help me 

 

sandeepgothi541@gmail.com

  

 connect for helping hand  

 

#Agentblazer

1 answer
0/9000

Hi all,

Trying to make  a text file (e.g., example.txt) available directly at the root of the site (https://example.com/example.txt) in SFCC. The actual file is stored in the static library.    Already tried static mapping but getting 410 error.    Has anyone tried this before ?     thanks

4 answers
  1. Today, 8:47 AM

    You can add logic to the RedirectURL-Start controller/pipeline: check the URLRedirectMgr.redirectOrigin, if that matches the file you want to serve then write your file directly to the response stream and end the processing of that request. So in SFRA you do *not* call next() but just exit the middleware.

0/9000
3 answers
  1. Today, 8:38 AM

    Hi @Koyelapati Kavya Sree

    sure.  

     

    Here a detailed steps to create an opportunity record. 

     

     

    Steps to Create an Opportunity Record 

    1. Login to Salesforce 

    • Go to your Salesforce org URL.
    • Enter your username and password.
    • Click Login.

     

    2.

    Navigate to the Opportunities Tab

     

     

    • From the App Launcher (grid icon 🔲 in the top left), search for and select “Opportunities”.
    • Alternatively, click on the “Opportunities” tab in the navigation bar (if visible).

     

    3.

    Click on “New”

     

     

    • On the Opportunities home page or list view, click the “New” button.

     

    4.

    Fill in Required Fields in the Opportunity Form

     

      

    Common required fields typically include: 

     

    • Opportunity Name – (e.g., “ACME Deal - Q3”)
    • Account Name – Select an existing Account or create a new one.
    • Close Date – Select the expected closing date.
    • Stage – Pick a stage (e.g., “Prospecting”, “Qualification”, “Proposal/Price Quote”).
    • Amount – (Optional but often used for forecasting)

     

    5.

    Add Additional Optional Details

     

      

    You can also fill in: 

     

    • Lead Source
    • Type (New Business, Existing Business)
    • Probability
    • Campaign (if any)
    • Next Step
    • Description

     

    6.

    Click “Save”

     

     

    • Once all required fields are completed, click the “Save” button at the bottom or top of the form.
0/9000
3 answers
0/9000
7 answers
0/9000
3 answers
0/9000

I have around 200 "External Entities", each of which can use software provided by any of the ~5 ISVs to run their business operations. These "External Entities" are also required to report data to our Salesforce org through a Community portal. Since this data already exists in the ISVs systems, the new requirement is to allow real-time data submission by calling an Apex REST API I’ve built.  

 

Key Requirements:

  1. API requests must be made on behalf of the "External Entity", not a generic ISV-level user. (This is crucial for audit, security, and ownership.)
  2. "External Entities" can switch ISVs without changing their user record in Salesforce.

Current Implementation:

  1. One Connected App per ISV.
  2. One dedicated Salesforce user is created per "External Entity". The "External Entity" shares their username only with the ISV they are currently working with.
  3. Each ISV generates its own public/private certificate key pair and shares the public certificate with us. We use this to configure their Connected App in our Salesforce org. In return, our org shares the Consumer Key of the Connected App with the ISV, which they use as the iss (issuer) in the JWT for authentication.
  4. JWT Bearer Flow is used to impersonate the external user (sub = "External Entity's username", iss = ISV's Connected App Consumer Key).
  5. ISV generates JWT, fetches access token, and invokes the Apex REST API.

This setup is working end-to-end.

 

Questions:

 

  1. Are there security or architectural flaws in this approach?
  2. If so, what is other approach. I have thought of other ways such as using Basic Auth or Client Credentials. But, it is not safe to share those credentials with ISVs as they belong to "External Entity". Also, I need to manage the user impersonation of "External Entity".
  3. I have been using Community Plus licenses and it works. Isn't Community Plus only for "Experience Cloud". Should I be using Salesforce Integration? As per "https://help.salesforce.com/s/articleView?id=platform.users_license_types_communities.htm&type=5" 200 calls per day per user for Community Plus.
  4. I’m not using an API Gateway currently and have a custom throttling mechanism. System disables the user when the API limits are reached and enables after 24 hrs. Should I consider API Gateway e.g. Mulesoft (or similar)? If yes, how should user impersonation and JWT handling be managed in the middleware?

Any insights or "Thinking outside the box" would be highly appreciated! 

 

@Jitendra Zaa @Matt Gerry @Gaurav Kheterpal @Amit Chaudhary @Sebastian Wagner

0/9000

Hi Team, 

I am getting error for below module: 

Module: 

 

Import and Export with Data Management Tools /Use the Data Import Wizard  

 

Lead Import.xlsx 

The MIME type of the selected file is not allowed.

Drag CSV file here t 

 

#Trailhead Challenges  #Trailhead

1 answer
  1. Today, 8:18 AM

    Hi Karishma, you can only import csv. Please change the file to csv format and then try.

    To change to csv, save the file as .csv

0/9000

Dear Everyone, 

I'm currently working on the "Add Knowledge to the Site Using Topics" challenge and have encountered an issue that's preventing me from earning the full 100 points. The specific error message I'm receiving is:

"Check if ‘Customer Support’ is the topic assigned to the ‘When will my bike arrive?’ article. Verify step to earn 100 points." 

 

Module Add Knowledge to the Site Using Topics - Error

 

 

I've already confirmed that the 'Customer Support' topic has been correctly assigned to the 'When will my bike arrive?' article. Despite this, the system isn't recognizing the assignment and I'm unable to complete the challenge. 

 

Screenshot 2025-05-28 at 15.14.34.png

 

Thank you everyone ! 

 

#Trailhead Challenges

10 answers
0/9000

Scenario: Whenever Loan (Opportunity) is created, check below conditions and create Amortization schedule records as per the loan tenure value. 

Criteria: Loan Status = Active; Loan Stage = Disbursed; Loan Tenure ISNULL False. 

 

I have created a flow which create a records as expected. However, there is an obstacle when Amortization schedule is created there is field called Remaining Outstanding amount ( Data Type: Currency ), and Payment_Date__c ( Data Type: Date ) that is not updating as expected. 

 

Test Data: 

Field: Value

 

Loan Amount: 4,000,000 

Interest Rate: 13% (Annual) 

Loan Tenure: 12 Months 

EMI Start Date: 3rd April 2025 

EMI Amount (Calculated): 424,218.47 

 

Expected Output: 

EMI No. | Payment Date | EMI Amount | Interest Paid | Principal Paid | Remaining Principal

 

1 | 3-Apr-2025 | 424,218.47 | 43,333.33 | 380,885.14 | 3,619,114.86 

2 | 3-May-2025 | 424,218.47 | 39,830.41 | 384,388.06 | 3,234,726.80 

3 | 3-Jun-2025 | 424,218.47 | 35,551.88 | 388,666.59 | 2,846,060.21 

4 | 3-Jul-2025 | 424,218.47 | 30,512.16 | 393,706.31 | 2,452,353.90 

5 | 3-Aug-2025 | 424,218.47 | 24,738.85 | 399,479.62 | 2,052,874.28 

6 | 3-Sep-2025 | 424,218.47 | 18,267.77 | 405,950.70 | 1,646,923.58 

7 | 3-Oct-2025 | 424,218.47 | 11,144.68 | 413,073.79 | 1,233,849.79 

8 | 3-Nov-2025 | 424,218.47 | 3,424.45 | 420,793.02 | 813,056.77 

9 | 3-Dec-2025 | 424,218.47 | 0 | 424,218.47 | 388,838.30 

10 | 3-Jan-2026 | 424,218.47 | 0 | 424,218.47 | -35,380.17 

 

Current Output: 

 

Name | Loan__c | Payment_Date__c | Payment_Amount__c | EMI_Amount__c | Principal_Paid__c | Interest_Paid__c | Remaining_Principal__c 

AS-8529523 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529524 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529525 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529526 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529527 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529528 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529529 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529530 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529531 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

AS-8529532 | 006NS00000S4iS9YAJ | 2025-06-03 | 416684.91 | 416684.91 | 386684.91 | 30000 | 3613315.09 

Query: Bulk creation a records issue through flow

 

ExpectedOutput.png

 

That's mean, the records data in a salesforce would be as expected output. 

 

Below are my flow structure for your reference. 

 

2025-03-22 08_11_54-Create Amortization Schedule - V9.png

 

2025-03-22 08_12_58-Create Amortization Schedule - V9.png

 

2025-03-22 08_13_25-Create Amortization Schedule - V9.png

 

2025-03-22 08_13_56-.png

 

2025-03-22 08_14_16-.png

 

2025-03-22 08_14_38-Create Amortization Schedule - V9.png

 

2025-03-22 08_14_57-Create Amortization Schedule - V9.png

 

2025-03-22 08_15_17-Create Amortization Schedule - V9.png

 

Let me know if more information is required to investigate further. 

 

 

 

#Flow

6 answers
  1. Today, 8:09 AM

    Hi @Katherine west

    I got your point, ill share the necessary information till eod.

    Also, will try to resolve it, and will BRB.

    Really appreciate your response.

    Thanks

0/9000