• ALL STAR
  • 17846 Points
  • Member since 

  • Chatter
    Feed
  • 568
    Best Answers
  • 0
    Likes Received
  • 17
    Likes Given
  • 0
    Questions
  • 5444
    Replies
Not sure this belongs in this category but couldn't find one that seemed more applicable.

My user is assigned to the standard System Admin profile.  When I try to create a connected app I get a message indicating 'insufficient privileges'.

I reached out to support and they directed me towards this board.  
  • I've tried creating a custom permission set and assigning all of the necessary system level permissions to my user but that didn't have any impact on the outcome.
  • In a sandbox, I removed all of the custom permission sets we have thinking maybe there was some glitch from overlapping settings; no impact on the outcome
  • I've tried switching from Lightning back to classic UI; don't have the button to create a connected app from that ui.  At least with lightning it is there, it just won't work for me
  • I tried cloning the system admin profile and then assigning that to my user however I cannot change the profile assigned to my user.
I'm not really sure how or why this is a 'development issue' as SF support states, however if anyone could shed some light on how to resolve this it would be much appreciated.

Thanks in advance for your help!
Hi All,could u help with below error? Thank you in advance.

・On the Trailhead Data Manager home page, select Trailhead Data Manager.
・On the next page, click Refresh DTC Data.

User-added image
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: User-added image
I am exploring our current system, in app launcher, I see 2 apps xx's console and xx's services that I can launch them from the app launcher, but I couldn't find them in the setup, app manager, anything I am missing? Thanks.
I built VisualForce page with form to Insert and update account records, it works like a charm, but when I checked account object permission for guest profile, I found there's no read nor create permission, and I still able to create and update account records, I noticed this issue in winter 19 release.
Hi,

I have a doubt creating a lightning datatable. Can I edit the columns doing double click ?
I only can edit the data clicking to the edit icon. In standard List View, we can edit the value doing double click anywhere in the column.

User-added image

Thanks
Hello
I subscribe in Trailhead in order to get knowledge about Salesforce. I'm currently running a Trailhead module about Marketing cloud (connector between CRM org and Marketing Cloud) and I'm using my Trailhead Playground CRM org. But when trying to login Marketing Cloud to finish my Trailhead module, Marketing Cloud login tells me that my login/password are incorrect...?
Thanks for help
Is it possible using VisualForce to display two Contact related lists on the Account object?  Ideally, I would like to seperate the contacts based on recordtype.
  • January 07, 2019
  • Like
  • 0
When we are trying to deply report from one sandbox to another  , we are getting error 
Cannot find a user that matches any of the following usernames: xyz.abc@company.com.changesetcreationsandbox, xyz.abc@company.com.changesetdeploymentsandbox; remove the user from the component being deployed or create a matching user in the destination organization.

I have gone through couple of linkes , but i am not able to deply as i dont see option a srunning user. I see below options - 
View dashboard as  - 
Me
Another person
Let dashboard viewers choose whom they view the dashboard as Dashboard viewer

Please let me know which option i have to select while deploying in next higher sandobx where my login id doesnt exits and person deploying the reports/dashboards is different than me 
 
  • January 07, 2019
  • Like
  • 0
I have a piece of code in my lightning component as follows

pCodeShortDesc = pCodeShortDesc.subtring(0,28);

this return a string like "Nebuent    Inh 300 mg"

I want to remove the two extra white spaces in the above.

Please let me know urgent how to do.

thanks
sheila
Hello,

When i am trying to convert lead, i have below error:
 
Unable to convert lead that is in use by workflow.

when i check in debug logsi dont see any errors, i only have few logs saying it entered managed package..
Can someone guide me ?

 
write batch class to update field(noofcontacts__c) value on account with No of Contacts under that account.
 
Hello,

If i am sending anemail from opportunity, how can i show them as the related list on opportunity

thank you for suggestion
A developer creates a Workflow Rule declaratively that updates a field on an object. An Apex update trigger exists for this object. What happens when a user updates the record? Will both worflow and trigger be applied on the object?
I'm trying to complete Apex Integration Services rest services i  wrote code everything was good but when check challenge i got the error which i have mentioned above
Develop a visualforce page which comprises of an input box and search button. If name is entered and the search button is clicked, the page should display name and designation with respect to the name entered.
I tried writing the code below. But it seems to be not working. Please help me to complete this code,

<apex:page controller = "DisplayDesig">
        <apex:form>
        <apex:pageBlock>
            <apex:pageBlockTable value = "{!jobs}" var = "j">
                <apex:inputField value = "{!j.Name}"/>
                </apex:pageBlockTable>
    </apex:pageBlock>
    </apex:form>
</apex:page>

(Controller to fetch designation from custom object:)

public class DisplayDesig {
    
    public static List<Job__c> provideDesig(String Name)
        {
           List<Job__c> result =[SELECT Id, Designation__c from Job__c where Name =: Name];
            return result;

        }
    
    
}



 
How can I get all picklist values in a validation rule?

I'm looking for a suitable function but I cannot find any.

What I need to achieve is that some string is among the picklist values.

Please advise.
i want to dispaly a Active contacts Whenever Contacts are inserted, updated, deleted, and undeleted then Count should get rolled-up on Accounts

For this i created a Checkbox field like contact_roll_c on contact object and number field likeNo_of_Active Contacts_c on Account Field 

Please Support and Suggest

Thanks
  • March 19, 2019
  • Like
  • 0
Hello Team,

I am trying to connect to my salesforce org through Apex Data Loader version 34.0. However it giving below error:

Failed to send request to https://login.salesforce.com/services/Soap/u/34.0

Using same username and password, I am able to login https://login.salesforce.com/

Please advice how to resovle this issue.

Thank you
Zahid

 
So i am having errors with the Trailhead Buld a Lemonade Stand App. I tried at first with a  Developer Edition account and then with a trailhead org but the error persist. i made the trail 2 times just for the sake of the bug being my mistake, but apparently it wasn't. It gives the following 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: VJFRBOXD

Anyone know how to solve?
Hi, I have two custom objects Juser & Jpost. In which Juser's field CID & Jpost's field UID has same values. Basing on these two fields, need to fill a lookup relation field for the two objects while saving Jpost record. Plz help.
i Stuck at Process Automation Specialist-Step-5  Automate Opportunities
I Getting Error While Process Builder has Activated
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.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Opportunity PB” process failed. Give your Salesforce admin these details. An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Error ID: 963069694-58213 (1684581515): []
Close errors

i getting Error while Process Builder has deactivated
Challenge Not yet complete... here's what's wrong: 
A new Opportunity with a 'Prospecting' stage for a 'Prospect' Account did not successfully create a Task for the Account owner with the Subject 'Send Marketing Materials'.
Close errors
Here my Process Builder Design Flow
For Criteria-1 conditions Are
User-added image
for Criteria-1 immediate action is email alerts
User-added image

For Criteria-2 conditions are
User-added imagefor Criteria-2 immediate action is create a task
User-added image
For Criteria-3 Conditions are
User-added image


 
The process can have any name
The process must have an Update Records action that updates Contact mailing address fields (Street, City, State, Postal Code, Country) when the parent Account shipping address field values are updated
The process must be active

Error Message is throwing:
Challenge not yet complete in harm@salesforce.com
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: PFYKOYEH

User-added imageUser-added image

 
  • March 13, 2019
  • Like
  • 0
How can i know users worked on reports ? and what they worked on reports
How to merge multiple PDFs into one PDF?
I always get the error when try the chalengle #10.

Challenge Not yet complete... here's what's wrong: 
The Lightning component named TrailheaDX must open a link to https://developer.salesforce.com/trailheadx/, must open in a new window (using the target attribute of ui:outputurl), and must be included in the Sales app.

User-added image

Could anyone help to point out what wrong? Here is what I did:
1. Case:
- Create an Action name UpsellCrosssellOpportunity with call Lightning Component CreateOppty
- Add action UpsellCrosssellOpportunity to Case layout
2. Report
- Create report with type REPORT: CAMPAIGNS WITH INFLUENCED OPPORTUNITIES and the name is Campaign Influence Lightning 
- Add filters: Show Me = All campaigns, Campaign Name = "", Campaign ID = ""
- ID of the report is 00O7F000009u2WvUAI
3. Campaign
- Create a Custom Link name View Lightning Campaign Influence Report with URL /lightning/r/Report/00O7F000009u2WvUAI/view?=&fv0={!Campaign.Name}&fv1={!Campaign.Id}
- Add the custom link to Campaign layout
4. TrailheaDX component

<aura:component implements="flexipage:availableForAllPageTypes" access="global" >
    <ui:outputurl aura:id="TrailheaDX" value="https://developer.salesforce.com/trailheadx/" label="TrailheaDX Registration" target="_blank" />
</aura:component>

5. Add TrailheadDX component to Utility of the Sale app (lightning)

Thanks and best regards,
An Nguyen
Hello, I have a flow that loops through assets on an account. When I try to do a mass update manually from an asset list view, I get the 'maximum number of duplicate updates in one batch (12 allowed)' when updating more than 12 assets on an account. 

In the flow I have a loop element, and any items that meet certain criteria are directed to the update element. The update elemnt is where I receive the error whenever I update more than 12 records on the same account. 

Is there a way to bulkify this? Would I need an apex trigger in addition to this flow? Thank you.  
  • March 11, 2019
  • Like
  • 0
Hello, 
I am trying to complete the Customize a Sales Path for Your Team and I get all the way to the last module and am getting an error ID BIRZRTTV. I have done it in my challenge Org as well as one of DE accounts. Please see error below. 
"Step not yet complete in agideon@huskypupsfun.com
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: BIRZRTTV"

Hi -

I'm getting an "internal server error" when attempting to open a package I'm working on. Here's the URL:

https://na40.salesforce.com/03346000000TdwQ?tab=PackageComponents

Here's the message:

An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience. 

Thank you again for your patience and assistance. And thanks for using salesforce.com! 

Error ID: 1489759548-52348 (-2022414155)

There doesn't seem to be a way to contact anyone at Salesforce about this.

Thanks!

Hi
If anyone can describe me the definition of " Namespace" in simple terms to understand. i tried to refer the apex developer guide but not able to understand properly, Thanks

User-added image
Hi, 
Please any one help me on this, 
i am stucked in Challeng 5  in App Customization Super Badge
 error is 
Challenge Not yet complete... here's what's wrong: 
Couldn’t find Top component 'Top Volunteer Organizations' report chart on the Lightning Page, or the Report Unique Name is not 'Top_Volunteer_Organizations'.


Thanks
 
I have a requirement to send email alert when seminar attendee(custom object) is selected as contact (look up object) and seminar status as "attended". But when same contact is selected for another seminar attendee and status as "attended", email should not be sent . Only after 30 days if new seminar attendee is selected for this contact , then new email alert should trigger. I was able to set up process builder for this seminar attendee object and send email alert but need logic for 30 day calculation before another new email can trigger.
Can someone please help
Community builder is showing all the pages based on Customer Service template blank suddenly. Browser console showing security error.
It is standard Salesforce tool giving error for standard functionality.
Please note - pages based on custom layout are opening correctly.
Has anyone faced this issue earlier? Any suggestion? Any Hint?
Any input will be really helpful and very much appreciated.


User-added image
I have a screen flow showing pre-populated values on it...is there a way to DON'T PRE-POPULATE VALUES? Thanks!
below screenshot of my flow

User-added image
I have a lookup relationship between Order Line and Contact Objects where Contact is the parent. I am writing a batch class which looks for certain criteria on Order Line and send email to Contacts excluding the duplicates. 

Right now I have  2 duplicate Order Lines for the Contact and the batch is supposed to send 1 email. But in this code, there are 3 emails sent out. Can someone help with this?
 
global class BatchSendEmails implements Database.Batchable<SObject>
{
global Database.QueryLocator start(Database.BatchableContext BC){
	return Database.getQueryLocator([select id,Contact__r.Email,Contact__c,Account__c from Order_Line__c 
                                     where Order__r.OrderApi__Date__c = LAST_N_DAYS:3]);
}
      
    global void execute (Database.BatchableContext BC, List<Order_Line__c> scope){
         List<Messaging.SingleEmailMessage> mails = new List<Messaging.SingleEmailMessage>();
                                 List<String> email = new List<String>(); 
      
       List<Order_Line__c> sollist = [SELECT Id, Item__c, Contact__c,Order__c ,Contact__r.Email FROM Order_Line__c
        WHERE Order__r.Date__c = LAST_N_DAYS:3 AND Item__r.Name = 'Test'];
       
        Set<Id> solids = new Set<Id>();
        for(Order_Line__c ol : ollist){
            if(ol.id != null){
               olids.add(ol.Contact__c);
                system.debug('Added Contacts'+olids);
            }
        }
        
        AggregateResult[] groupedResults = [
        SELECT COUNT(Id) dups, Item__c, Contact__c,Order__c,Contact__r.Email
        FROM Order_Line__c
        WHERE Contact__c =:solids and Sales_Order__r.Date__c = LAST_N_DAYS:3 
        AND Item__r.Name = 'Test'    
        GROUP BY Item__c,Contact__c,Contact__r.Email,Order__c
         HAVING COUNT(Id) = 1];

        for(AggregateResult ar:groupedResults){
            String custid = (ID)ar.get('OrderApi__Contact__c');
            
          //	email.add(custid);
            
        List<Order_Line__c> sollist1 = [select id, Contact__r.Email,Order__c from Order_Line__c where id=: ar.Id limit 1];
            email.clear();
                email.add(ollist[0].OrderApi__Contact__r.Email); */
                                 List<String> ccemail = new List<String>();                                 
                                 ccemail.add('test@test.com');
    							 Contact c = [select id, Email from Contact where email <> null limit 1];
            try{                             
EmailTemplate templateId = [Select id from EmailTemplate where name = 'Email'];                                                   
                    system.debug(email);
                Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
                 OrgWideEmailAddress owa = [select id, DisplayName, Address from OrgWideEmailAddress where address = 'testing@test.org' limit 1];
                                            system.debug(email.size());
                                            mail.setToAddresses(email);
                                            mail.setccAddresses(ccemail);
                                            mail.setOrgWideEmailAddressId(owa.id);
                                            mail.setTargetObjectId(c.Id);
           									mail.setTreatTargetObjectAsRecipient(false);
                                            mail.setTemplateID(templateId.Id); 
                                            mail.setSaveAsActivity(false); 
                                            mails.add(mail);
                                            system.debug(mail);
											
                          
                                 Messaging.sendEmail(mails);
            }catch(Exception e){
                system.debug('Exception occured' +e);
            }
                
    }
    }
        
    global void finish(Database.BatchableContext BC){
        
    }
}

 
  • November 28, 2018
  • Like
  • 1
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