• NEWBIE
  • 384 Points
  • Member since 

  • Chatter
    Feed
  • 14
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 0
    Questions
  • 76
    Replies
For integration purpose I need to have the file extension diplayed in the salesforce Files related list from the CASE

Currently the file name is displayed but the extension not.

I read  this idea: https://success.salesforce.com/ideaView?id=0873A000000E6ZrQAK

I've attached a .pdf file from the Salesforce content file and there I have the extenstion (see screenshot).
User-added image
Is there any work around to get the file extenstion next to the file name ?

Thank in advance.

Hello,

is it somehow possible to retrieve the live chat agent working hours using livechat API?So that if there are no agents available i can get the time range when they will be available!

Hi,

I tried several ways but keep getting below error on Challenge 1. Any help or guidance is greatly appreciated.

https://trailhead.salesforce.com/en/content/learn/superbadges/superbadge_analytics_insights_specialist

Challenge Not yet complete... here's what's wrong:
We can't confirm this is the correct quarter. Records should be grouped by subscriber activity (sign ups and cancellations). A suggestion is to generate a stream for subscriber records by Subscription Date and its counts, along with Churn Date and its counts. Ensure both streams for these date fields share a common variable then create a union of both streams.

 
q = load "Beattie_Subs";

subs = group q by ('Subscription_Date_Year', 'Subscription_Date_Quarter');
subs = foreach subs generate 'Subscription_Date_Year' + "-" + 'Subscription_Date_Quarter' as 'ActivityDate_Year-ActivityDate_Quarter', count() as 'Current Quarter Subscribers';

churns = group q by ('Churn_Date_Year', 'Churn_Date_Quarter');
churns = foreach churns generate 'Churn_Date_Year' + "-" + 'Churn_Date_Quarter' as 'ActivityDate_Year-ActivityDate_Quarter', count() as 'Current Quarter Churns';

result = group subs by 'ActivityDate_Year-ActivityDate_Quarter' full, churns by 'ActivityDate_Year-ActivityDate_Quarter';
result = foreach result generate coalesce(subs.'ActivityDate_Year-ActivityDate_Quarter', churns.'ActivityDate_Year-ActivityDate_Quarter') as 'ActivityDate_Year-ActivityDate_Quarter', sum(subs.'Current Quarter Subscribers') as 'Current Quarter Subscribers', sum(churns.'Current Quarter Churns') as 'Current Quarter Churns';
result = group result by ('ActivityDate_Year-ActivityDate_Quarter', 'Current Quarter Subscribers', 'Current Quarter Churns');
result = foreach result generate 'ActivityDate_Year-ActivityDate_Quarter', sum('Current Quarter Subscribers') as 'Current Quarter Subscribers', 'Current Quarter Churns', sum('Current Quarter Subscribers') over ([..-1] partition by all order by 'ActivityDate_Year-ActivityDate_Quarter') - coalesce(sum('Current Quarter Churns') over ([-1..-1] partition by all order by 'ActivityDate_Year-ActivityDate_Quarter'),0) as 'Previous Quarter Subscribers';
result = foreach result generate 'ActivityDate_Year-ActivityDate_Quarter', 'Current Quarter Churns'/(coalesce('Previous Quarter Subscribers',0) + coalesce('Current Quarter Subscribers',0)) as 'Churn Rate';

Thanks
Sri.​​​​​​​
  • April 03, 2020
  • Like
  • 0
Visualforce page on Google Chrome 
We have an issue with showing Visualforce page on Chrome browser.
Chrome is considering this as an unsafe web page and doesn't show the content.
This is the error message on Google Chrome.
https://monosnap.com/file/zscbWfe4LkdDly0JBTQuwev5WMf8QR
 
How this can be resolved? 
Hi, I have a batch class which was running continuously form a long time. Can someone tell me how to abort the job? I have tried aborting from Setup -> Apex Jobs but that didn't work. Is there any other way to abort the job. Please tell me if there is any another way...

Thanks in Advance...

I have this message on 

Learn Admin Essentials in Lightning Experience >
Improve Data Quality for Your Sales and Support Teams >
Create a Validation Rule Challenge

"Error message is not displayed above 'Close Date' field. Check the instructions."

What should I do? Thanks for your help!

  • March 29, 2020
  • Like
  • 0
Hi All,
I am not able to login into my Trailhead Account.
1. I have logged in with correct Username and Password
2.Having domain as: https://olivalightninguv-dev-ed-dev-ed.my.salesforce.com/
3. After logging in next screen is displayed as below.
User-added image

4.I have deleted account from  "Salesforce Authenticator" mobile app by mistakenly.
5.But now i am trying to login into my account it's shows screen as above in snapshot. So, I need to disconnect "Salesforce Authenticator" from my Account.
Anyone can help me please?
How can i able to login into my Trailhead account? 

 
I created an account, while doing the trail "Get Started with Application Security" and got an email (as I was supposed to). The problem is when I clicked the "verify account" link , instead of it redirecting me to the "create a password and security question page" it lead me to the login page as if I already created a password and a security question! I tried the "forgot password" way and it asks me for my security question, which I don't ave because i haven't created that yet... pls help 
Hi All,

We are trying to deploy our code to a developer edition org using VS Code, but when we are trying to deploy we are facing the below error :

INVALID_OPERATION : Too many files in zip

Does this mean all the time when we deploy using VS Code we need to move the code in chunks or is there any issue with our installation?

Thank you in advance,
Kiran

Hi,

 I wanna get forecast information using Salesforce REST API. Using the URL: https://um1.salesforce.com/services/data/v48.0/connect/forecasting/user-access  But I am getting the following response "The requested resource does not exist"

I am wondering what should I do to see the Live agent Settings in setup.
I have a devloper edition creted after 2012 and this setup is not displaying even in classic.

https://support.desk.com/customer/en/portal/articles/2927507-how-to-implement-live-agent?b_id=16915
Hello,

A web-service partner is asking me for REST WSDL, after I sent him SOAP WSDL.
For what I understood googling the question, there is no such thing as REST WSDL. Can someone please confirm ?
I have created and authorized my developer edition as well as linked it to my playgound. When typing "cat config/project-scratch-def.json" into the CLI I get " config/project-scratch-def.json: No such file or directory" If I continue to the next step and type: "sfdx force:org:create -s -f config/project-scratch-def.json -a dreamhouse-org". Error received: "ERROR running force:org:create:  ENOENT: no such file or directory, open 'config/project-scratch-def.json'"
The Apex documentation is not available. I see it was updated a couple of days ago.
I have used case-assignment rules to assign cases automatically to the right user/queue based on certain conditions. 

Recently I was going through Trailhead content on omni-channel and various routing mechanisms (skill based, queue based). Following statement from trailhead confuses me : "Omni-Channel always assigns cases to the right support agents, and customers are happy with customer service. ".

If we already have case-assignment rules in place, why do we need omni-channel queue based routing? How are the two things different?
I am getting the following error message when I try to check my work for challenge 7: YYCHRQGM

I am using a new DE and have tried refreshing and resaving the report and dashboard.

I can see that something is not working with my dashboard. As you can see below, the No Solarbot Category does not seem to follow along when I add the report as a component on my dashboard.

User-added imageUser-added image
For integration purpose I need to have the file extension diplayed in the salesforce Files related list from the CASE

Currently the file name is displayed but the extension not.

I read  this idea: https://success.salesforce.com/ideaView?id=0873A000000E6ZrQAK

I've attached a .pdf file from the Salesforce content file and there I have the extenstion (see screenshot).
User-added image
Is there any work around to get the file extenstion next to the file name ?

Thank in advance.
While using the 'Parameterized Search' on Contact, I am getting unexpected result. I am using below json to search records on contact based on 'Name' filter:
{
"q":"CAPITAL CROSS",
"fields" : ["Id","FirstName","LastName","Account.Name"],
"sobjects":[{"name": "Contact", "where":"RecordType.Name='Internal'"}],
"in":"NAME"
}

Note - There is only one contact with name as 'CAPITAL CROSS'. And this contact is associated with account named as 'Capital'.

Expected -
When I run the above json as System Admin profile, I get only one contact named as 'CAPITAL CROSS'

Unexpected-
When I run the above json from custom profile having Salesforce Platform user license, I get 'CAPITAL CROSS' contact and all the other contacts which are associated with the same account named 'Capital' in response. This should not happen as I am getting all the contacts which are not matching my search criteria.

Can anyone help me in understanding that what could be reason for this behaviour?
I want to send an Email to User with CSV attached for all the records present in a Report subscribed by him.
Hi,
I have a requirement to make a online payments using YODLEE API. So please help me to complete this task.
Thanks,
Syed Moin Pasha
Hi,

I have implemented image slider using https://www.lightningdesignsystem.com/components/carousel/

when i put video in static resource it does not work.. 

any suggestion?

Thanks


 
Hi everyone,

please help me out
i am trying to solve Create an Apex class with a method that returns an array (or list) of strings.
and i am getting the below error:

There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: BPILDYYX

And i am not able  to compelete the Trail headchallenges
Please help me to compelete this.
when i create lightning components,we call lightning component in lightning application then we go to preview  but it shows lightning component requires my domain when i enable my domain, It works but in my project there is another activity called live chat won't work when i enable my domain can anyone know about this issue please reply me

Regards 
Hemanth 
Hello,

After being inactive for a while and reconnecting to salesforce through OAuth, I've the following error and can't figure out whats the issue.

The url contain:
ErrorCode=No_Oauth_State&ErrorDescription=State+was+not+valid

User-added image
  • April 03, 2020
  • Like
  • 0

Hello,

is it somehow possible to retrieve the live chat agent working hours using livechat API?So that if there are no agents available i can get the time range when they will be available!

Hi,

I tried several ways but keep getting below error on Challenge 1. Any help or guidance is greatly appreciated.

https://trailhead.salesforce.com/en/content/learn/superbadges/superbadge_analytics_insights_specialist

Challenge Not yet complete... here's what's wrong:
We can't confirm this is the correct quarter. Records should be grouped by subscriber activity (sign ups and cancellations). A suggestion is to generate a stream for subscriber records by Subscription Date and its counts, along with Churn Date and its counts. Ensure both streams for these date fields share a common variable then create a union of both streams.

 
q = load "Beattie_Subs";

subs = group q by ('Subscription_Date_Year', 'Subscription_Date_Quarter');
subs = foreach subs generate 'Subscription_Date_Year' + "-" + 'Subscription_Date_Quarter' as 'ActivityDate_Year-ActivityDate_Quarter', count() as 'Current Quarter Subscribers';

churns = group q by ('Churn_Date_Year', 'Churn_Date_Quarter');
churns = foreach churns generate 'Churn_Date_Year' + "-" + 'Churn_Date_Quarter' as 'ActivityDate_Year-ActivityDate_Quarter', count() as 'Current Quarter Churns';

result = group subs by 'ActivityDate_Year-ActivityDate_Quarter' full, churns by 'ActivityDate_Year-ActivityDate_Quarter';
result = foreach result generate coalesce(subs.'ActivityDate_Year-ActivityDate_Quarter', churns.'ActivityDate_Year-ActivityDate_Quarter') as 'ActivityDate_Year-ActivityDate_Quarter', sum(subs.'Current Quarter Subscribers') as 'Current Quarter Subscribers', sum(churns.'Current Quarter Churns') as 'Current Quarter Churns';
result = group result by ('ActivityDate_Year-ActivityDate_Quarter', 'Current Quarter Subscribers', 'Current Quarter Churns');
result = foreach result generate 'ActivityDate_Year-ActivityDate_Quarter', sum('Current Quarter Subscribers') as 'Current Quarter Subscribers', 'Current Quarter Churns', sum('Current Quarter Subscribers') over ([..-1] partition by all order by 'ActivityDate_Year-ActivityDate_Quarter') - coalesce(sum('Current Quarter Churns') over ([-1..-1] partition by all order by 'ActivityDate_Year-ActivityDate_Quarter'),0) as 'Previous Quarter Subscribers';
result = foreach result generate 'ActivityDate_Year-ActivityDate_Quarter', 'Current Quarter Churns'/(coalesce('Previous Quarter Subscribers',0) + coalesce('Current Quarter Subscribers',0)) as 'Churn Rate';

Thanks
Sri.​​​​​​​
  • April 03, 2020
  • Like
  • 0
We have a new enterprose edition and when I go to the Data Integration Rules in Setup, I do not see any rules lole the Geocodes for Account Billing Addressm Geocodes for Account Shipping Address etc. What do I need to enable that?
Hi, I have a batch class which was running continuously form a long time. Can someone tell me how to abort the job? I have tried aborting from Setup -> Apex Jobs but that didn't work. Is there any other way to abort the job. Please tell me if there is any another way...

Thanks in Advance...
Hi!
I have a problem, I'm triying to get authorization code to acces data of an Azure aplication.  I use my Outlook credentials to login but I always receive this message 

Error message

I send the state in the state parameter in the url, but I don't know why this error is showing.

I appreciate your help.
 
Thanks!

We're using the bulk API to updates accounts and leads. However we're seeing data loss and cannot seem to find the source of the issue.

We don't see any errors on our side. The logs lack output from the end of the script, specifically the results aren't logged nor is the final line saying the script is done.

When we take a look at the bulk data load jobs, no records failed. But we do have a bit of jobs that are in progress that are days old. I don't think that is the cause of it.

When we send it individually we see that all the data gets through.

User-added image
User-added image

Script:

User-added image

version 47.0
Bulk API 2.0

Built up a python script using requests and requests_oathlib modules against test.salesforce.com/services/oauth2/token to generate access tokens
and a function that concatenates chunks of results until last chunk is detected then creates a json string from the results.

we know we have 1479552 rows in Contact.
Problem: 
SELECT id,Name,Email,Phone FROM Contact LIMIT 1850000
returns all 1479552 rows but
SELECT id,Name,Email,Phone FROM Contact
returns only 492196 !!!
What is up with that??!!??

And I noticed that when using the LIMIT clause, only two chunks are returned, the first one contains all or close to all the data and the second only 110 bytes or so, while without the LIMIT  3 chunks of roughly equal size are returned.

Can anyone verify and/or explain this behaviour? Better still, tell me how to get around it?

First post, YAY!

TIA,

Chris
 

Creating sessionId is working fine:

https://developer.salesforce.com/docs/atlas.en-us.live_agent_rest.meta/live_agent_rest/live_agent_rest_SessionId.htm

I am trying to create a chat visitor session but I am getting the error: "Session required but was invalid or not found". 
https://developer.salesforce.com/docs/atlas.en-us.live_agent_rest.meta/live_agent_rest/live_agent_rest_ChasitorInit.htm

 

Headers:
  Authorization: 'Bearer xxxx',
    'X-LIVEAGENT-API-VERSION': '48',
    'X-LIVEAGENT-SESSION_KEY': 'xxxxxxxx', // key from sessionId request
    'X-LIVEAGENT-AFFINITY': 'xxxxxxxx', // affinityToken from sessionId 
    'X-LIVEAGENT-SEQUENCE': '1'

Request Body:
    sessionId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
    organizationId: '00Dxxxxxxxxxxxxx',
    deploymentId: '572xxxxxxxxxxxx',
    buttonId: '573xxxxxxxxxxxx',
    userAgent: '',
    language: 'en-US',
    screenResolution: '2560x1440',
    visitorName: 'Test',
    prechatDetails: [],
    prechatEntities: [],
    receiveQueueUpdates: true,
    isPost: true

Hi All,

Our Customer Service Support is using Live Agent every day. 
My question is: is it possible to configurate a predictive text autofill in Live Agent (Chats). 

For exemple: I type "further" in the chats and Live Agent gives me several predictive phrases to select, as for exemple: "Do you have any further questions?", "Do you need my further assistance?", and so on.

Is it possible to integrate it or configure it in Salesforce Lightining? 

Thank you in advance!

I'm trying to embed the Service Appointment Management Snap-in into a Community, and I get the following error when I try to launch it:
User-added image

The result is the modal window displaying with the message "Try reloading the page or try again later."

I have followed the instructions here:
  • https://help.salesforce.com/articleView?id=embedded_services_appointment_home.htm&type=5
  • https://help.salesforce.com/articleView?id=rss_snapins_appointment_management.htm&type=5
The logged in user has the FSL Self Service Permission Set.

I've added the "Embedded Service Appointment Management" component to a community page that has no other components on it. The component has the "Embedded Service Appointment" set to a seemingly valid deployment configuration, setup as per the instructions referenced above.

The community is using a Customer Service template, and the Chat component has not been added.

I've set up a 'Default for FSL Snap-ins' for both:
  • Scheduling Policy
  • Operating Hours
I've also configured the community by:
  • Switched Clickjack protection to allow framing by any page
  • Adding https://service.force.com as a trusted site for scripts
  • Setting CSP to "Allow Inline Scripts and Script Access to Whitelisted Third-party Hosts"
In standard Salesforce Setup I have:
  • Added https://service.force.com the the list of CSP Trusted Sites in 'All' contexts
I feel like I've exhausted everything.

Has anyone ever managed to get this snap-in working? Can you think of anything I may have missed?
Hi...

I'm creating a Lightning component and use the Cytospace javascript library from https://cytoscape.org/
 
<ltng:require scripts="{!join(',', 
                $Resource.cytoscape + '/cytoscape.min.js', 
                $Resource.cytoscape + '/cytoscape.cjs.js')}"
                afterScriptsLoaded="{!c.setup}"/>

I got the following error: Custom Script Eval error in 'ltng:require' [SecureDOMEvent: [object Event] {key: {namespace":"c"}}]

I just follow the SF documentation at https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_libs_platform.htm

How could I validate if the Cytospace library can be used or not in Salesforce?

Thanks