Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Vinayaka NaikVinayaka Naik 
Hi All,

We have our BOT deployed in other third party web site, where on click of an Icon we are initiating the Chat BOT and functionality wise the BOT is working just fine. We are overriden the PreChat component to lightning component. There were no issue observed until we did a small changes to our lightning component and these changes were only related to CSS nothing related to functionality code. After the updates we deployed to the site still functionality works fine but it also throwing a console error "Refused to get unsafe header "Is-Cors-Origin-Null". Please help me to understand why this error is observed, it is coming in the aura built in library code "aura_prod.js". Also, this error is observed only in chrome and not in any other browser such as FireFox.
Refused to get unsafe header "Is-Cors-Origin-Null"

Please redirect me if I need to post this in any other form.

Vinayaka Naik
Best Answer chosen by Vinayaka Naik
Vinayaka NaikVinayaka Naik
Hi All,

I raised an issue with Salesforce support and it is been told that this error is occuring due to some piece of code from Salesforce end which will be fixed in the next release Summer'20. 

Org which has received summer'20 should not be facing this issue anymore, thought of putting out my findings here so it will be helpful for all who are coming to seek answers.

Vinayaka Naik
Gabriele Ernesto BovoGabriele Ernesto Bovo 
I have created a custom object that call speaker with a principal field speaker number, than I created different fields for this object like first name, last name and email, but I can't insert in the page layout, I don't know why, I insert the image for the problem 
ThanksUser-added image
Best Answer chosen by Gabriele Ernesto Bovo
Sunil Kumar SirangiSunil Kumar Sirangi
The screen which you pasted is not the page layout. it is called list views in salesforce. When you click any of those records you should see the fields you have created present on them. However, If you want to display fields in the screen you pasted, go to Setup > Object Manager > Speaker object > Search layouts > Click Edit on Speakers Tab > Add the fields from there.

Francis FloresFrancis Flores 
Hi Community,

I updated a queue in my org to support the Task sObject. I tried to deploy via CLI command force:mdapi:deploy and I get the following error:

Sobject Type: bad value for restricted picklist field: Task

I am able to change the queue manually and it can also be validated/deployed in a change set. Has anyone encountered this issue before? Any help will be greatly appreciated.

Best Answer chosen by Francis Flores
Fabio SerraFabio Serra
today i had the same problem.

My solution was to create the queues with the same API name in target environment (as pre-deploy step) selecting Task as Object. After that, deployement has correctly update the queue with public group.

Otherwise try to check version in your package.xml

I think the problem depends on new features released with Spring '20

Victoria SliwaVictoria Sliwa 
I completed the Community Rollout Strategy - Create Sharing Rules Challange as described in Trailhead:
1. Set OWD for cases to private
2. Create Edna Frank and associate cases with her account
3. Set up Communitites
4. Make Edna Frank a customer community user
5. Create a sharing set "Share cases with customers" where User:Account = Case:Account

However, after attempting the above I've been getting a strange error that reads "Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing:
System.QueryException: List has no rows for assignment to SObject"

Has anyone else been experiencing this problem? Any known solutions?
Best Answer chosen by Victoria Sliwa
Mayank SrivastavaMayank Srivastava
Hey Victoria, it is most likely an org issue. Did you try in a completely new Dev org? That has fixed a lot of problems for me in the past. Also, you sharing set should be configured like this:

User-added image

User-added image

(Right click and open in new tab to view a bigger image).
Mahalaxmi ayodhiMahalaxmi ayodhi 

There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Support_Plan_Start_Date__c]: [Support_Plan_Start_Date__c]
Best Answer chosen by Mahalaxmi ayodhi
Ankush AgarwalAnkush Agarwal
Hi Mahalaxmi,

Go to Setup --> Object Manager --> Object on which you are checking challenge (For Example : Account or Contact)--> Field & Relationships --> edit Support Plan Start Date field and uncheck Required checkbox and save this field

Now you can test your challenge

Hope this will help.
Sai AKhilSai AKhil 
Hi All
Just a small doubt
For example i written a trigger to perform an update and i loaded 100 records using data loader then, only one DML statement will be fired as it is bulk apex
But if the same update i did it in process builder, will it be one DML statement or 100 DML statements?
Best Answer chosen by Sai AKhil
Amnon KruviAmnon Kruvi
Hi Sai,

Flows (and by extension processes) have an internal bulkification mechanism. This means they bulkify to run in as few transactions as possible. In this particular case, assuming all processes make the same kind of update, then it will be bulkified into a single DML.

If the updates are different, for example one process creates a new task record and another one creates an opportunity, then those two obviously have to be split into different DMLs.
Sudip karmakarSudip karmakar 
I am stuck on the trailhead Process automation specialist superbadge challenge number 6 i.e Create Flow for Opportunities. If somebody has done.
Please guide me also 
If you can share the screenshot or explain the procedure of what you did it would be very helpful

Thanking in advance
Best Answer chosen by Sudip karmakar
Amit SinghAmit Singh
++ see below images

Start Screen
Create three Radio Buttons Name given as below
Assembly System , CloudyBot and RainbowBot

Two variable - ProductId and ProductName

User-added image


User-added image

End Screen

User-added image

Complete Flow
User-added image
Gislaine PaganoGislaine Pagano 
After refresh my Full Copy sandbox and the communities no longer work with the following error:

URL no longer exists
You have attempted to access a URL that no longer exists at

I have already checked the Domain, Custom URL, Sites setting, disabled and activated the community again and the error persists
Communities are VisualForce Tabs and Pages type.  Any idea here. Thank you>
Best Answer chosen by Gislaine Pagano
Sakthivel MadeshSakthivel Madesh
Hi Gislane Pagano,

After you refreshed the full copy sandbox might be the new org url is generated, so kindly check from your community (from Setup -> All Communities) and see the URL and try it from the new url.

User-added image

When a sandbox is created or refreshed, Salesforce selects an instance for your sandbox, so your sandboxes sometimes appear on different instances and have different URLs - (

Thanks & Regards,
Sakthivel Madesh
Heidi LearHeidi Lear 
I am looking for a better way to create a “Netflix binge” experience in a community using less code and customizations. The rich content component only seems to support YouTube or Vimeo which is ridiculous. And the easy provided codes from Wistia don’t seem to be supported. Which is also absurd. I search all over and haven’t found a great answer but I also might be just too new at this. But I thought that was the point of lightening... less code.
Best Answer chosen by Jayson ( 
Heidi LearHeidi Lear

No problem Brad. I have a couple of options for you. 

First Option - code from Wistia
Step 1: Go to your video in Wista and open the Embed/Share window. 
Step 2: Select "Inline Embed tab
Step 3: Select "Fallback" as the embed type (creates the iframe style code)
Step 4: Copy and paste embed code into communities HTML Component, looks like this: 

<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;"><div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;"><iframe src=" (" style="color:#0563c1; text-decoration:underline)" title="video title" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width="100%" height="100%"></iframe></div></div>
<script src=" (" style="color:#0563c1; text-decoration:underline)" async></script>

Step 5: remove the highlighted code, those are 'fancy' and don't work in communities

and you're all set!

Second Option: iframe code created by my web developer - replace the highlighted bits with your video id/channel link. 

Single Video: 
<div class="wn wistia_responsive_padding">
    <div class="wn wistia_responsive_wrapper">
        <div class="wn wistia_embed wistia_async_videoIDcode seo=false videoFoam=true"></div>

Wistia Channels:
<div class='wn embed-container'>
    <iframe src=' (" style="color:purple; text-decoration:underline" title="' style='border:0'></iframe>

I hope this helps! Let me know if you discover anything else with this. Best of luck! 

Steve ConnellySteve Connelly 
Is there a way to require that a primary contact (under contact roles) be entered before closing an opportunity(won or lost)?

Best Answer chosen by Steve Connelly
Steve MolisSteve Molis
PS.  here's a more detailed "How to?" write up by the #AWESOME Judi Sohn