• ALL STAR
  • 13843 Points
  • Member since 

  • Chatter
    Feed
  • 449
    Best Answers
  • 0
    Likes Received
  • 16
    Likes Given
  • 0
    Questions
  • 4402
    Replies
Hi,

I previously had a Developer Account where I added an app (+- 6 months ago)

Now, when I try to log in on that account, it does not recognize me.
I tried to change my password. Salesforce says it sent me an email but it never arrives
I need to get the account back because all the work has already been done

It was a connected app

I had to create a new account under a different name just to be able to post here

Please help!

Thanks
 
Is there a way to get number of records in a Salesforce Marketing Cloud Data Extension using API?
Just created a developer account and merged into trailhead. 

when doing the 3rd section of "salesforce mobile app", collaborate on the go, i posted a new chatter with the information provided in the challenge but it seems like it cannot be found when checking the challenge - any idea as what the issue might be? where did i get end up in the trails less travelled? as a newbie, i'd really like those 500 points that come with the challenge!!! https://trailhead.salesforce.com/modules/lex_salesforce1_basics

Any help and ideas are greatly appreciated!!! Happy trails!!! 
User-added image
Guys please i am very new to salesforce not even a month. I just want to explore the community cloud. Please help me to start and explore it.

Thanks in Advance
Hello all,

Is there anyone here can use lightning:listview on Lightning Component App? It was documented here https://developer.salesforce.com/docs/component-library/bundle/lightning:listView/documentation

I try use that component but it always show the message 'The list view you requested was deleted, or you don't have permission to view it.'

I try to change multiple objectApiName, listName but it just can't work. 

I also fetch the name by this query SELECT DeveloperName, SObjectType FROM ListView and use these but it's still show above message.

Do you have any idea for this problem? Thanks!
I'm stuck on a simple Trailhead module Get Started with Enterprise Territory Management.

The Challenge is fairly straightforward.
  • Turn on the Enterprise Territory Management feature and accept the default access level: View and edit accounts assigned to the territory
  • Create a territory type called Managed Accounts with a priority of 100 and this description: Actively managed accounts
  • Create a territory model called Current Calendar Year with this description: Territory model for the current calendar year
  • In the Current Calendar Year territory model, create a territory called US East Coast with territory type Managed Accounts and this description: Managed accounts on US East Coast


The feedback is:
Challenge Not yet complete... here's what's wrong: 
Did you enter the correct description for the territory?


As best I can tell I have the setup correct. Any ideas?

User-added image

User-added image

 

Hi all, I created a new trailhead playground to work in, but I knew I'd need to sign out and sign back in a few times to complete the challenge so I did so, but when I tried to log back in, it asked for a password I hadn't created. Did I do this wrong? Because then I clicked reset password and when I cliked the link to reset my password, it asked a challenge question, but there's no answer because it never set one up for me so I keep answering with the correct answer, but getting no where and this trailhead playground is now literally a rock I can't even through at anyone. 

Can someone please explain to me what I 'should' have done to correctly create a new trailhead playground, set a password, and successfully log out and back in?

Thanks in advance!
Create a Satisfaction Survey - Add a Screen for Thanking the Customer

Challenge Not yet complete... here's what's wrong: 
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: FDSFLYFZ
Hello,

After activation of GDPR seeting in salesforce, what impacts can i assume.

thank you for advise

 
I am unable to complete thise challenge: 
https://trailhead.salesforce.com/trails/force_com_admin_beginner/modules/lex_implementation_reports_dashboards/units/lex_implementation_reports_dashboards_appexchange

I cannot find the component (report):  "Users That Can't Use Lightning by Profile" in the donwloaded app "Lightning Adoption Dashboard - Lightning".  I tried to outsmart the Review Challenge by saving this report "Can't Use Lightning Users by Profile" to "Users That Can't Use Lightning by Profile" but the report name is too long and it only allows me to save "Can't Use Lightning Users by Profi" w/o "le".
User-added image


 
Scenario: I have a list:

 - user (name)
 - status (accepted, arrived, on progress, completed, payment from Stipe (if paid send email thank you, if not send reminder email) ).

When I trigger (status) from my external app, I will update status on Salesforce real-time automatically. Is there a way I can do that on Salesforce?
Hi can someone please help me how to solve the problem? I was at step two and keep getting the error message that "The 'Volunteer Organization' field's filter is not configured correctly." This is what I did, I created the master detail data type for Volunteer Organization on the Volunteer Activity table with the lookup filter that  Volunteer Organization Status=Accepting Activities. What I did wrong? Please help!
Thanks!
hi all,
I am new batch class
can you help me wrirting a batch class
for  sending user an mail that your opportunity closed date is tommorow

Thanks in advance....................................
Here's the error I'm getting:
"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.NullPointerException: Attempt to de-reference a null object"

and here is the code I'm using:
public class AccountHandler {
    public static Account insertNewAccount(String accountName){
        try{
            Account newAccount = new Account(Name=accountName);
                insert newAccount;
                return newAccount;

            }
        catch (exception e){
                return null;
            }
    }
}
 
I would like to receive information regarding the Error: "An internal server error has occurred Error ID: 435276104-25533 (-2090061783)"

This error appears when, by pressing a button in a lightning component, I call a method @AuraEnabled and in this method I do 2 DML-deletion: one for the PermissionSetAssignments and one for the PermissionSets.

Method:
       @AuraEnabled
    public static String deleteExistingCBAPermissionSets(){
       try{
            map<Id,PermissionSet> mapIdToPermissionSet = new map<Id,PermissionSet>();
            for(PermissionSet ps : [Select Name, Label from PermissionSet where Name like 'CBA_%']){
                mapIdToPermissionSet.put(ps.Id, ps);
            }
            list<PermissionSetAssignment> permissionsSetAssignToDelete = new list<PermissionSetAssignment>();
            for(PermissionSetAssignment psa : [Select Id, PermissionSetId
                                                from PermissionSetAssignment
                                                where PermissionSetId IN: mapIdToPermissionSet.keyset()]){
                permissionsSetAssignToDelete.add(psa);
            }
            if(permissionsSetAssignToDelete.size()>0){
                delete permissionsSetAssignToDelete;
            }
            if(mapIdToPermissionSet.size()>0){
                delete mapIdToPermissionSet.values();
            }
            return 'OK';
        }catch (exception e){
            return e.getMessage()+' at line '+e.getLineNumber();
        }

    }

I run the same code from Execute Anonymous and it works correctly. It deletes the desired permissions.
I also tried to declare the class "without sharing" but the result is the same.

Does anyone know the kind of error?
Thanks in advance for your answers.
I am getting error 'Looks like something went wrong, please try again later' while checking the challenge 'Configure inbound integration security' of 'Data Integration Specialist' Superbadge. 
I have a problem working with the Import Data module. I press map under edit for FNAME and get the popup window. But when having chosen "Contact: First name" as the SFDC field to map it to, I have no map button available to save this choice. So can´t get anywhere with the challenge.
I saw another post, where it was suggested, that browser version could be the problem. I have tried in both IE and Chrome, and I have latest version installed.
I am working in Lightning.
​BR Lone
Hello,

I was working on a personal project. and i was trying to reconnect it to th app aain after 1 year.
i changed my mobile number . and as my verification code comes to old one i cant enter my org.

i was the only one system admin. so is there ny way to get in to the aplication.

thank you
Hi ,
I am displaying a wrapper list in lightning component data table and I want to implement sorting on specific columns in the table. I tried using Comparable interface in apex controller, but it's not working for me.

Can anyone help with sample code for the same ?
It might be little confusing my questions: But i will try to explain it better way.

1.There is an opportunity A.
2.The quotes are made on the opportunity - So each opportunity will have more than one quotes - Example:10 quotes on the opportunity A.

3.Every quote will have a business account connected to it and every business account will have a contact.

The requirement is : I need to send mass emails to all the contacts(of Business accounts) in the quotes under the opportunity A.

Can anyone help me with this?
Hi,
        We have territories enabled. I want to query the Userterritory associated accounts. how do we get this. For example if we have ut1,ut2 and ut3. If user is changed from ut2 to  ut1 i want all the accounts under ut1,ut2 and ut3.

Thanks
Hello,

We are having problems with triggered send. We are using REST synchronous calls, We are getting the following response and error message on the respond:
{
    "requestId": "d5389712-44f7-44bb-b1e2-3dadc2aaafcd",
    "responses": [
        {
            "recipientSendId": "d5389712-44f7-44bb-b1e2-3dadc2aaafcd",
            "hasErrors": true,
            "messageErrors": [
                {
                    "messageErrorCode": 180008,
                    "messageErrorStatus": "Unable to queue Triggered Send request.  There are no valid subscribers."
                }
            ]
        }
    ]
}

This is the call we are doing. The record is inserted on the Subscriber list but doesnt trigger the email or insert the record on the DE related to the triggered send.

POST /messaging/v1/messageDefinitionSends/key:Triggered send name/send HTTP/1.1
Host: www.exacttargetapis.com
Content-Type: application/json
Authorization: Bearer 78JaQGIwzpk2ukvp62awnsyW
Cache-Control: no-cache
Postman-Token: e5a3ec3d-c0fa-4728-9ddf-d47432e8e0c7
{
    "From": {
        "Address": "reply@company.com",
        "Name": "Name"
    },
    "To": {
        "Address": "adress@gmail.com",
        "SubscriberKey": "adress@gmail.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "Nombre": "xxxx",
                "Enlace": "xxxx",
                "Apellidos": "xxxx"
            }
        }
        },
              
    "Options": {
        "RequestType": "SYNC"
    }
}
Any help will be appreciated.
Thanks
maria

Following error occurs during the verification step of trailhead project "Create a satisfaction survey", step 3 "Add a screen for thanking the customer" : error while verifying this challenge, reference error id: EECQWTHH
Hello, I'm using the python module simple_salesforce to do some queries against Salesforce. Now I want to move forward doing some updates.

I'd like to do an automation process for taking ownership of a case, I tried to take ownership of a case, but when I did by using this piece of code:
sf = simple_salesforce.Salesforce(
    username='username',
    password='password',
    security_token='token',
    domain='test')
sf.Case.update('CASE_ID', {'OwnerId': 'USER_ID'})

In some way, it worked because the information in the case for Case Team, Department, Manager, Team Lead were changed to the ones belonging to the user, but the field for Case Owner was set for a different information, but not the user that I have set, the only that I figure out, is that the case was previously assigned to a queue not a user, and maybe I have to set another field also, because the Case Onwer changed to another queue, not the user that I want.

Please if anyone has some information that could help me please let me know.

Regards
Maximiliano
 Map<Id,decimal> allResultMap = new Map<Id,decimal>();

I need to sort in descending order on the basis of the score field which is of type decimal.
Hi,

Users with the permission "Hide Option to Switch to Salesforce Classic" enabled will not see the navigation bar (Tabs, Global search, Setup links, Name links) in the top of the screen on Visual Force pages in Classic. Have you noticed the same? This looks like a Bug to me.

Thanks!
How to write in trigger when the Opportunity is Closed Won the related Child Record’s Amount field will be equal to Opportunity’s Amount field.
Hi,

I previously had a Developer Account where I added an app (+- 6 months ago)

Now, when I try to log in on that account, it does not recognize me.
I tried to change my password. Salesforce says it sent me an email but it never arrives
I need to get the account back because all the work has already been done

It was a connected app

I had to create a new account under a different name just to be able to post here

Please help!

Thanks
 
My requirement is 

I need to show the Account hierarchy in custom vf page as same as standard like

In Account object, we have created on the field which is existing Account (lookUp).
if any Account is linked with this account then we need to show the All child account linked to that particular acc in VF page.
Account Name(Parent Account)    Type(Child Account)   Account Owner(Child Acc Owner)
TRTest                                            Industry                      prem
TrTest1                                           other                           karan 
And finally I want to add this page on Account Layout that user can see his/her Linked Account Hierarchy Wise..

Need Urgent Help...

 
Hi Everyone,
i have custom quote object i want to give there all functionality like standard .i made custom pdf which is saving in attachment ,but here now i want to send that attachment to by Email.how can i do it ?can sombody help me out.
plzz plzz it is very Urgent...
Hi, I am working on FSL , the global method FSL.getappointmentBooking.getSlots is giving error on line 767  "Attempt to dereference a null object", Can anyone help me on that?
-----------------------------------Personal Disclaimer if this question is stupid----------------------

I had a rough experience with creating a Community and an unexpected redirect (in Production) and Support with Salesforce went on for two weeks with NO valuable feedback or information, so I want to avoid anything unexpected/irreversible since I can't rely on support.

Furthermore, custom Domains need to be done in Production, as they are not supported in dev orgs, which is another reason why I need to be sure of what my impacts are before proceeding
------------------------------------------------------------------------------------------------------------------

So! Domains >> New Domain >> I have a CNAME set up and all that jazz, I just need to hit save and activate. This doesn't automatically change the URL for my communities, right? That would be done manually? Sorry if this is a dumb question, I'm just very skeptic of Salesforce with Domains from the last 2 weeks on the struggle bus. I want to confirm that nothing will automatically happen just by creating this domain.

Bonus question... if I assign this Domain to a Site using Custom URLs, this too does not change any other communities/site URLs, right?

Thank you!
Hi,
 I was taking Trailhead 'our path forward' test.
Question "With My Salesforce1, for the first time, businesses will be able to"
To which i answered: Run their business from their phones. And it says the answer is incorrect.
but as per documenti had it's right.
Hi,

I just began to use Salesforce. And I realised I have a "Professional Edition" as my trial offer. I would like to change it for a "Developer Edition". How to do so ? My goal is to connect my org to with the API (Illuminated Cloud).
The section said you "can" skip it - but did not say you "should" skip it. So I did not.  "If you're using a Trailhead Playground org for this project, you can skip this section."

Unfortunately, I now cannot log into my Trailhead org. It is still trying to access playful-badger-364598-dev-ed.my.salesforce.com.

I log into Trailheads using Google+, not SFDC.

Help please!
Hi,

I previously had a Developer Account where I added an app (+- 6 months ago)

Now, when I try to log in on that account, it does not recognize me.
I tried to change my password. Salesforce says it sent me an email but it never arrives
I need to get the account back because all the work has already been done

It was a connected app

I had to create a new account under a different name just to be able to post here

Please help!

Thanks
 
Apex class :-

    global class BlockIEPolicyCondition implements TxnSecurity.PolicyCondition {
     public boolean evaluate(TxnSecurity.Event e) {
      List<User> users = [SELECT ProfileId FROM User WHERE Id = :e.UserId];
            String profileId = (String)users.get(0).get('ProfileId');
            List<Profile> profiles = [SELECT Name FROM Profile WHERE Id = :profileId];
            String profileName = (String)profiles.get(0).get('Name');
            LoginHistory eObj = [SELECT Browser FROM LoginHistory WHERE Id = :e.data.get('LoginHistoryId')];
            string profileName1 = '"' +profileName + '"';
            String P=system.label.BlockIEPolicyProfile;
    Boolean ismatch = p.contains(profileName1);
    if(ismatch){
      if(eObj.Browser == 'IE 11' || eObj.Browser == 'IE 10' || eObj.Browser == 'IE 9' || eObj.Browser == 'IE 8') {
       return true;
     }
     }
    
     return false; 
    }
     }
I want to achieve one requirement that when Manager A logs in to his Org, then he should see only employees under him not under any other manager using lookup. Can someone help me to achieve it?
Trying to test the App in Salesforce1 - When I click "App Launcher" and then Salesforce.com I get this error message: Python 2.5 is no longer available. Please refer to https://goo.gl/aESk5L for more information. 

Please help so I can move forward. Thank you!
I would like to connect my org to the external data using OData 4.0. I have been configured the External Data Source and automatically create External Object.
But there is a problem when creating record in the external object. After save button clicked, then error dialog appears, see image below:
User-added image
Actually the data that I inserted was successfully created, but I still meet this error.
FYI, I have been configured the primary key on OData configuration and MySQL database.
I have a custom object called 'Class_Allocation__c' and have a lookup field on this object called 'Related_Contact__c.  I need expert help to write a trigger on Class_Allocation__c to auto copy the contact Id into this field based on 'Student__Name__c' field on Class_Allocation__C and Student_id_from_Student_object__c (on contact)
  • September 15, 2017
  • Like
  • 1
Hello All,
I need to be able to update an Azure database from Salesforce.  Mainly for Cases and Lawyers, when cases or lawyers get updated I need to update the Azure DB as well.
I have seen the examples that talk about Azure to Salesforce, but I have not seen anything talking about Salesforce to Azure.
I have looked at both the Salesforce WCF and RestAPI https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/
But again these go from Azure to Salesforce.

Is it possible to go the other way?  What would be the best approch to this as I have seen many differnt approches to connecting.
We don't want any syncing of data, just to make a .NET call when Salesforce records get updates ect.. to update our Azure DB.
Thanks,
K.
HELP
I am a brand new admin and I know nothing about the admin side of SalesForce.  Can someone explain to me how I can check if my org is using a single sign-on or HTTPS call outs?   I need to know if the default certificate retirement on 8/7/17 will affect my org before 8/7/17.   I've been reading about it but none of it makes sense to me.
when I was installing an app from appexchange, I got the oauth error. My account is the type of 30-day-free. 

Error code : 1800。

who can help me?
  • May 17, 2017
  • Like
  • 1
I have following scenario and want to set up partner community license.

1. Have profile Customer service rep.
2. He has access to only Order object.

i know we need to set Account as partner and then contacts need to be enabled as partner and then create user and assign the partner community profile.
But if i have no.of users and want to assign them Partner Community License  and Customer service repprofile, how i should proceed to implement this?

Could you please suggest?
I found an error in a Trailhead, thought I'd help anyone else with the same problem. While trying to solve the Using Events to Add Markers to the Map section of the Build an Account Geolocation App trailhead I kept receiving an error about a null value. Debugging the code I found that the map variable in AccountMapController.js was null. This is because the accounts were loading faster than the Leaflet.js libraries. To get around this I changed the accountsLoaded function to recursively check if the map existed only add markers once the map was an object:

   if(component.get("v.map") != null){
            var map = component.get("v.map");

            alert(map);
            
            var accounts = event.getParam("accounts");
            for (var i=0; i<accounts.length; i++) {
                var account = accounts[i];
                var latLng = [account.Location__Latitude__s, account.Location__Longitude__s];
                L.marker(latLng, {account: account}).addTo(map);
            }  
        }else{
            accountsLoaded(component, event, null); 
        }

Hello,

I am creating my first visualforce email. 
 

I am trying to list the Opportuntiy; owner, contact roles, and  opportuntiy team all on email template. I been able to figure out how to add the opportunity contact roles but I can't figure out how to add the Opportuntiy Owner and Opportuntiy team through the email code. 

Please see my visualforce code below. Thanks in Advance! 

<messaging:emailTemplate subject="Testing VF" recipientType="User" relatedToType="Opportunity">
<messaging:plainTextEmailBody >
Hello,
 
This is testing the text section....
Opportunity Name: {!Relatedto.name}
Account: {!Relatedto.account.name}
Amount: {!Relatedto.amount}
 
Contact Roles for this Opportunity:
<apex:repeat value="{!RelatedTo.OpportunityContactRoles}" var="ContactRole">
{!ContactRole.Contact.Name} {!ContactRole.Contact.Email}
</apex:repeat>
<apex:repeat var="team" value="{!relatedTo.opportunityteammembers}">
</apex:repeat>

Thanks!
</messaging:plainTextEmailBody>
</messaging:emailTemplate>

Hello Experts,

I have created excel workbook with help of VF page & XML Spreadsheet Reference. However I am not able to insert the company's logo in the first sheet. Can any one please suggest me how to insert an image in the sheet. Below is the VF code :

<apex:page controller="XYZ_controller" sidebar="false" showHeader="false"  contentType="application/vnd.ms-excel#{!object.Name__c}_Bid_Preview.xls" cache="true" action="{!changeProposalStatus}">
    {!xmlheader}
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
      xmlns:o="urn:schemas-microsoft-com:office:office"
      xmlns:x="urn:schemas-microsoft-com:office:excel"
      xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
      xmlns:html="http://www.w3.org/TR/REC-html40">
         
        <OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
            <AllowPNG/>
        </OfficeDocumentSettings>
        
        <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
            <WindowHeight>7845</WindowHeight>
            <WindowWidth>12045</WindowWidth>
            <WindowTopX>630</WindowTopX>
            <WindowTopY>630</WindowTopY>
            <ProtectStructure>False</ProtectStructure>
            <ProtectWindows>False</ProtectWindows>
        </ExcelWorkbook>

<Worksheet ss:Name="Cover">
  <Table>
  <Column ss:Width="70" ss:StyleId="s_plain"/>
  <Column ss:Width="100" ss:StyleId="s_plain"/>
  <Column ss:Width="100" ss:StyleId="s_plain"/>
  <Column ss:Width="250" ss:StyleId="s_plain"/>

    <Row>
        <Cell  ss:Index="2" ss:StyleID="s9_confidential" ss:MergeAcross="3"><Data ss:Type="String">CONFIDENTIAL</Data></Cell>
    </Row>
    <Row></Row>
      
<I NEED TO INSERT AN IMAGE HERE i.e COMPANY'S LOGO> (For testing, any logo will do)

<Row ss:AutoFitHeight="1">
        <Cell  ss:Index="2" ss:StyleID="s_cover_heading" ss:MergeAcross="3"><Data ss:Type="String">Test Data</Data></Cell>
    </Row>
    <Row>
        <Cell  ss:Index="2" ss:StyleID="s_cover_heading_lab" ss:MergeAcross="3"><Data ss:Type="String">Test Data</Data></Cell>
    </Row>
    <Row></Row>
    
</Worksheet> 
   </Workbook>  
</apex:page>
    
I request your swift support and help on this. Your efforts would be greatly appreciated. Thanks in advance...!!
  • July 21, 2016
  • Like
  • 1