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.
Please redirect me if I need to post this in any other form.
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.
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
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.
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 https://releasenotes.docs.salesforce.com/en-us/spring20/release-notes/rn_sales_productivity_activities_task_queues.htm
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?
(Right click and open in new tab to view a bigger image).
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:
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]
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.
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?
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.
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
After refresh my Full Copy sandbox my communities no longer work with the following error: URL no longer exists You have attempted to access a URL that no longer exists at salesforce.com.
URL no longer exists
You have attempted to access a URL that no longer exists at salesforce.com.
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>
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.
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 - https://help.salesforce.com/articleView?id=data_sandbox_implementation_tips.htm&type=5 (https://help.salesforce.com/articleView?id=data_sandbox_implementation_tips.htm&type=5)
Thanks & Regards,
How can I embed wistia videos into a salesforce customer or partner community? Lightening components not knowledge articles.
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="https://fast.wistia.net/embed/iframe/VIDEOCODEID?videoFoam=true (https://fast.wistia.net/embed/iframe/onos6li4zr?videoFoam=true" 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="https://fast.wistia.net/assets/external/filler.js (https://fast.wistia.net/assets/external/E-v1.js" 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.
<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>
<div class='wn embed-container'>
<iframe src='https://yourcompany.wistia.com/projects/videoIDcode/channel (https://calabrio.wistia.com/projects/wxz715cc1i/channel" style="color:purple; text-decoration:underline" title="https://calabrio.wistia.com/projects/wxz715cc1i/channel)' style='border:0'></iframe>
I hope this helps! Let me know if you discover anything else with this. Best of luck!