Skip to main content Join us as TDX comes to London! Over two days, experience the developer conference for the AI agent era. Become an Agentblazer and gain the critical skills needed to build the future of software with Agentforce. Register Now.

Feed

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

I arrived at the exam center 30 minutes early and waited for over an hour, but the center remained closed. I also tried calling the number listed on the notice, but no one answered.

This is the first time I’ve encountered such a situation. Has anyone else experienced something similar? 

 

When I reached out to Kryterion I got the below message - 

"Our team made an effort to reach out to the test center where you will be taking your exam. Unfortunately, we were unable to connect with anyone at that time. However, we did leave a voice message for them to ensure they are aware of our inquiry. Thank you for your understanding!" 

 

#Certifications

1 answer
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    Today, 9:26 PM

    Hello @Srinivasa Reddy Somu

    by contacting Kryterion support in advance to inform them, you did the right thing. Now wait for the support answer to see how you will move formard. 

    PS : as seen in https://www.kryterion.com/frequently-asked-questions/ page :  

    What should I do if the Testing center is closed when I arrive for my exam?

    First, check your scheduled start time and date. Next, confirm you are at the correct entrance of the center for which you scheduled your exam. If you are in the correct location at the correct time and date, then please contact our support team via the Live Chat feature in our Candidate Community Portal. For faster support, you will be asked to provide your Webassessor Login ID and exam details to our support staff.

    Eric

0/9000

Hi Guys, 

I have a requirement involving a legacy application with an API for querying certificate data. This data connects to standard Salesforce contacts in a one-to-many relationship. We are exploring Data Cloud to use the standard DMO for contacts and a custom DMO for certificates. Ultimately, we need the certificate data to appear as a related list on the contact page layout, utilizing related list features. Is it possible to display related lists on standard objects (contacts) using a custom DMO from Data Cloud? What are the pros, cons, and limitations of this approach? Currently, this is done using Lightning Connect, but it does not work well with related lists on contacts. 

Buyan

0/9000

Goal:To upload a file using the following parameters:

  • fileName (e.g., "resume.pdf")
  • parentID (e.g., "23456")
  • containerId (e.g., "12")
  • entityId (e.g., "90876")
  • file : base64Encode
  • contentType (e.g., "application/pdf")

What Works:

In Postman, the upload works perfectly using form-data, with:

  • Text fields: parentId, containerId, entities, fileName
  • File field: file, with a real file selected via the UI

What I Tried in Apex:

In Apex, I:

  1. Decode the base64 file content into a Blob.
  2. Manually build the multipart/form-data body.
  3. Set boundaries and headers.
  4. Use HttpRequest.setBodyAsBlob() to send the request.

I receive HTTP 200 OK, but the file does not appear in the external system.

Here’s a snippet of how I construct the body:

apexCopyEditString boundary = '----------------------------741e90d31eff';String delimiter = '--' + boundary;String lineBreak = '\r\n';String body =     delimiter + lineBreak +    'Content-Disposition: form-data; name="parentId"' + lineBreak + lineBreak +    '23456' + lineBreak +    delimiter + lineBreak +    'Content-Disposition: form-data; name="containerId"' + lineBreak + lineBreak +    '12' + lineBreak +    delimiter + lineBreak +    'Content-Disposition: form-data; name="entities"' + lineBreak + lineBreak +    '90876' + lineBreak +    delimiter + lineBreak +    'Content-Disposition: form-data; name="fileName"' + lineBreak + lineBreak +    'resume.pdf' + lineBreak +    delimiter + lineBreak +    'Content-Disposition: form-data; name="file"; filename="resume.pdf"' + lineBreak +    'Content-Type: application/pdf' + lineBreak + lineBreak;

Even though the response is 200 OK, the file is not uploaded or visible in the external system.

Request:

Can someone point out what might be wrong in the body construction or suggest a working workaround to properly upload the file using Apex and multipart/form-data? 

 

 

 

#Salesforce Developer

2 answers
  1. May 17, 6:40 PM

    Hi @Gaurav Sharma

     

    Currently, Apex does not provide native support for multipart/form-data in the HttpRequest class. This means that to upload files, you need to manually construct the multipart body using Blob, ensuring the correct use of boundaries and line breaks (\r\n).  

     

    Due to this limitation, even if you receive a 200 OK response, the file may not actually upload if the request body is incorrectly structured.

    You can refer to the related IdeaExchange link below:

    https://ideas.salesforce.com/s/idea/a0B8W00000GdjxfUAB/httprequest-class-support-for-multipartformdata

     

    Below is a sample example:

    String boundary = '----------------------------741e90d31eff';

    String CRLF = '\r\n';

    Blob fileBody = EncodingUtil.base64Decode(base64FileContent); // your base64 file

    List<Blob> bodyParts = new List<Blob>();

    // Add text fields

    bodyParts.add(Blob.valueOf('--' + boundary + CRLF +

    'Content-Disposition: form-data; name="parentId"' + CRLF + CRLF + '23456' + CRLF));

    bodyParts.add(Blob.valueOf('--' + boundary + CRLF +

    'Content-Disposition: form-data; name="containerId"' + CRLF + CRLF + '12' + CRLF));

    bodyParts.add(Blob.valueOf('--' + boundary + CRLF +

    'Content-Disposition: form-data; name="entities"' + CRLF + CRLF + '90876' + CRLF));

    bodyParts.add(Blob.valueOf('--' + boundary + CRLF +

    'Content-Disposition: form-data; name="fileName"' + CRLF + CRLF + 'resume.pdf' + CRLF));

    // Add file content

    bodyParts.add(Blob.valueOf('--' + boundary + CRLF +

    'Content-Disposition: form-data; name="file"; filename="resume.pdf"' + CRLF +

    'Content-Type: application/pdf' + CRLF + CRLF));

    bodyParts.add(fileBody);

    bodyParts.add(Blob.valueOf(CRLF));

    // End boundary

    bodyParts.add(Blob.valueOf('--' + boundary + '--' + CRLF));

    // Assemble and send request

    Blob finalBody = Blob.concat(bodyParts);

    HttpRequest req = new HttpRequest();

    req.setEndpoint('YOUR_ENDPOINT');

    req.setMethod('POST');

    req.setHeader('Content-Type', 'multipart/form-data; boundary=' + boundary);

    req.setBodyAsBlob(finalBody);

    Http http = new Http();

    HttpResponse res = http.send(req);

    System.debug(res.getStatus());

    System.debug(res.getBody());

     

    Thanks!

0/9000

In the "Set Up the Service Console

" module. 

In the "Set Up the Lightning Service Console" section. 

The instructions call to add "Accounts, Cases, Contacts, and Knowledge" in the "Navigation Items Page". 

Knowledge is not an item in the list that I see. 

 

This prevents completion of this section and the next one. 

 

#Trailhead Challenges

2 answers
0/9000

Hi There,  

 

This is related to Field Service Mobile UI.  

 

We have a scenario where we have a Maintenance Plan generating a WO with 10+ WOLIs. Each WOLI has a Work Plan where we have work steps so that we can work on them. 

 

However, I can see all the Work Steps and Plans generating perfectly in Desktop but in the FSL App (device = Ipad and the same with Mobile as well, IOS and Android), the Work Plans are not shown properly. 

 

This might be that the UI is overloaded with the Work Plans so that it is not rendering it properly. It shows that there are Work Plans, but the Work steps suddenly vanish and the UI shows "0 of 0"..  

 

Has anyone else faced a similar problem?  Here is a picture for your reference. 

 

Field Service Mobile App and Work Plans UI

 

 

2 answers
0/9000

I'm hoping someone can help me with this... 

 

I am trying to complete this Quest: 

https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/quest-get-started-as-a-developer

 

I have completed all of the assignments/tasks except for the final 2: 

Subscribe to the Salesforce Developer Newsletter

 - clicked the link, entered my email and I am now subscribed - although, I think I migh have already been subscribed to this newsletter. 

Follow Salesforce Developers on LinkedIn

 - clicked the link. It brought me to LinkedIn and I am already following Salesforce Developers. 

 

The issue: There is NO WAY to mark these as complete. Therefore, the Quest shows that I still have 36 minutes left to complete? (screenshot below) 

 

Unable to complete the Get Started as a Developer Quest

 

Every other task has a green checkbox except for the last 2 - Normally, once you "Complete" a task that requires you to click an external link, you simply click the "Complete" button. In this case, the "Complete" button does not appear...(see screenshot below) 

 

NoCompleteButtonsToClick.PNG

 

Is anyone else having this issue? Can anyone with Salesforce Quests help me here? 

 

Thanks in advance! 

 

 

 

#Trailhead Challenges

3 answers
  1. May 21, 5:32 PM

    Hi, @John Green

     

    You should click button "Mark as Complete, but if you can't see this button's, you can try to use "Incognito" mode of your browser or another browser, for example MS Edge or Mozilla Firefox. 

     

    Also too, try to relogin into Trailhead website. 

     

    Sincerely, 

    Mykhailo Vdovychenko 

    Bringing Cloud Excellence with IBVCLOUD OÜ

0/9000
  • Become an Agentblazer Champion
  • Connect Data Cloud to Agentforce and Prompt Builder
  • Enhance Agentforce to Act on Data with Conversational Language
    •  

      1. Click the Setup icon, then click Setup.
      2. Type flows in the search, then click Flows (under Process Automation).
      3. Click Create Check-in Guest Event.
      4. Click the Unified Link 1 element, then click Edit Element.
      5. For Data Source, choose Data Cloud Object.
      6. For Data Space, choose default. <----- it wont allow me to choose Default, thus halts me from everything else
      7. For Object, choose Unified Link Individual ccid.

 

 

 

#Trailhead Challenges

9 answers
0/9000
3 answers
0/9000

There are a few of the programs and benefit objects that aren't available for selection when choosing an object to relate a datatable to.  Is there a place where we can ask for these to be added?  I couldn't find anything on the Unofficial Flow website. 

 

I've been able to get some of them into an apex defined variable, but am struggling with picklist fields

5 answers
  1. Today, 8:37 PM

    I just upgraded to the newest versions and I can access the objects now!  Woohoo!

0/9000
4 answers
0/9000