• Sitarama Murthy
  • NEWBIE
  • 337 Points
  • Member since 2016
  • Salesforce Administrator/Consultant
  • Arrow Electronics


  • Chatter
    Feed
  • 7
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 14
    Questions
  • 67
    Replies
Hi,

i am getting below error while completing "Lightning Experience Rollout Specialist Superbadge Step #8"
Challenge Not yet complete... here's what's wrong:
Knowledge must be enabled for the org.
.User-added image


i have alredy enabled knowledge settings..

User-added image

Thank you.
Did anyone have this issue with challenge 6.

Challenge Not yet complete... here's what's wrong: 
Didn't find a Lightning page named Key Sales Data. This page must include: 1. List of new Accounts this week, 2. Recent items showing an "Opportunity", "Lead" and "Contact", 3. Log A Call and New Opportunity actions. Don't use the CreateOppty custom Lightning component for this challenge.

My Key Sales Data Lightning page screenshots:
User-added image

User-added image
I have the below VF Page with 10 custom buttons,
<apex:page id="TeacherKPI_VF" controller="TeacherKPI_VF_Controller">
  <apex:form >
  <div style="text-align:center;">
      <h1 style="text-decoration: underline;">TEACHER'S KPI</h1><br/><br/>
      <apex:commandButton value="Lesson Observation" action="{!LessonObservation_VF}"/><br/><br/>
      <apex:commandButton value="File Check" action="{!FileCheck_VF}"/><br/><br/>
      <apex:commandButton value="Request for Corrective Action" action="{!RequestforCorrectiveAction_VF}"/><br/><br/>
      <apex:commandButton value="Withdrawal Trend" action="{!WithdrawalTrend_VF}"/><br/><br/>              
      <apex:commandButton value="Cost Recoverability Index" action="{!CostRecoverabilityIndex_VF}"/><br/><br/>
      <apex:commandButton value="Teacher Parent Dialogue Log" action="{!TeacherParentDialogueLog_VF}"/><br/><br/>
      <apex:commandButton value="Training sessions" action="{!TrainingSessions_VF}"/><br/><br/>
      <apex:commandButton value="Parent's Survey" action="{!ParentSurvey_VF}"/><br/><br/>
      <apex:commandButton value="Student's Survey" action="{!StudentSurvey_VF}"/><br/><br/>
      <apex:commandButton value="Leave / MC" action="{!LeaveMC_VF}"/><br/><br/>
      <apex:commandButton value="Back" action="{!Back}"/>      
  </div>
  </apex:form>
</apex:page>

When any of the button is click, need to open another VF PAGEs for example
<apex:commandButton value="Lesson Observation" action="{!LessonObservation_VF}"/><br/><br/> need to open VF Page LessonObservation_VF, I am not sure on how to do this, please help

The Class is not complete yet
public with sharing class TeacherKPI_VF_Controller {

    public PageReference Back() {
        return null;
    }

    public PageReference LeaveMC_VF() {
        return null;
    }

    public PageReference StudentSurvey_VF() {
        return null;
    }

    public PageReference ParentSurvey_VF() {
        return null;
    }

    public PageReference TrainingSessions_VF() {
        return null;
    }

    public PageReference TeacherParentDialogueLog_VF() {
        return null;
    }


    public PageReference CostRecoverabilityIndex_VF() {
        return null;
    }

    public PageReference WithdrawalTrend_VF() {
        return null;
    }

    public PageReference RequestforCorrectiveAction_VF() {
        return null;
    }

    public PageReference FileCheck_VF() {
        return null;
    }

    public PageReference LessonObservation_VF() {
        return null;
    }

}

 
  • July 19, 2017
  • Like
  • 0
I have a percentage field box with an API name field of BG_CHBX_06__c, and I want to create a separate checkbox to default to TRUE if the percent is greater than 75%. 

Can someone help me with the correct syntax? 

Thank you!

API Field Name             Field Type    
BG_CHBX_06__c              Percent
BG_CHBX_06_VALUE__c        Checbox

 
Hey guys!!
Anyone there completed this challenge?
I've tried a number of ways and finally succeeded by writing the folloeing code:

campingListItem.cmp:

<aura:component >
    <aura:attribute name="item" type="Camping_Item__c" required="true" />
    <aura:attribute name="disabled1" type="Boolean" default="false" />
    <p><ui:inputCheckbox value="{!v.item.Packed__c}"/></p>
    <ui:button label="Packed!" press="{!c.packItem}" disabled="{!v.disabled1}"/>
</aura:component>

campingListController.js

({
    packItem : function(component, event, helper) {
        component.set("v.item.Packed__c",true);
        component.set("v.disabled1", true);
    }
})
It's working fine on my browser but on checking challenge, I get:
Challenge Not yet complete... here's what's wrong:
The campingListItem JavaScript controller isn't disabling the button correctly.

Can't understand what's going wrong. Also tried by other ways like:
component.set(true, event.getSource().get("v.disbaled"));
OR
component.set(event.getSource().get("v.disbaled"), true);
ETC..
None of them seems to be working fine.
 
Hi I am trying to automate an approval process using a process builder. Here if opportuity amount is greater than 150000, user needs approval from manager. For that I have created an approval process already and in the actions of process builder, I have included this approval process. But when I try to save the oppoertunity with this amount , I am getting an error like this"Error Occurred: This record is currently in an approval process. A record can be in only one approval process at a time."
Can you please help me to assign an approval prcess using process builder? if you have examples on this, That would be very helpful.
Thanks

Hi,
Is possible to distribute accounts over users like in queues.

is there any way?

Regards
Abhilash Mishra

Hi All,

I am new to Lightning Component Development.
I have requirement where in Opportunity record i have custom related list button to add products.
when user clicks the button new custom VF page will open, page contains lookup field to products on click on lookup icon popup will show products related to Oppty Pricebook. this is working fine in Classic.

now we have migrating to Lightning i need the same functinoality in Lightning component. on click of lookup icon new lightning componen should popup and display the products related to oppty pricebook and on selection of any product popup should close the selected item reference should pass back to vf page .


please help on this.
Thanks Ram
Hi All,

Can someone please tell me. is it possible to load data from Oracle or ther DB directly to Eisntein Analytics platform.

Thanks,
Ram
Hello All,

I have a requirement where i need to Embed or show the Einstein Analytics Dashboard in external website or in AngularJS page.
is there way we can achieve this process.

Please help to share any information or any docs videos.
i am New to Einteins Analytics and Lightning Development.

Thanks,
Ram
Hi All,

I am Stuck with selecting the pricebook for Opportunity based on user profile.
Scenario is: I have Custom Page to Add product to Opportunity(Add Line Item) page is accessed using list Button from product related list in Opportunity. What i need is Pricebook to Opportunity should be assigned automatically based on the user profile who is creating the Line item.

each profile having access to only one pricebook.
selection of Pricebook to Opportunity should happen in Apex code.

Please help on how can i query the to which pricebook the current profile who is access the page have access?

Thanks,
Ram
Hi All,

I have Requirement Where we have junction object ABC__c linked to Account and Campaign Objects. i created button in ABC__c object related list button which will open vf  page containing option to upload the csv file. insert part is wokring fine, that i can create new records from that button file import.

Problem is When user try to import new file with records having accounts which are already in that ABC__c object i need to update the existing records rather then creating duplicate records.(Current functionality is creating duplicate records which is wrong).

Can some one help me how can i check the csv file rows if that record is already present. if present i need to update that record.
i need to compare Account__ID__c field in the record in csv file with existing records Account_ID__c field in ABC__c object.

Over all project is to Add Accounts as campaign members
Thanks,
Ram
Hi All.

I have Process builder to Update the Contacts fields if check field is checked.
How the process starts:
1. Check box field (Which starts the PB) is checked/updated from other eloqua system, user who updates the this field is having different profile(not admin).
2. When the eloqua system try to update that checkbox field. PB runs and updates the other fields in Contact object.

but system update that checkbox i am getting below error as email. detailed log is not getting genarated
----------------------------------------------------------------------------------------------------------------------
Error element myDecision (FlowDecision).
Formula result is data type (Object), incompatible with expected data type (Text).


Flow Details
Flow Name: GDPR_Contact_Update
Type: Record Change Process
Version: 1
Status: Active
Org: ABC
Flow Interview Details
Interview Label: GDPR_Contact_Update-1_InterviewLabel
Current User: ELOQUA MARKETING (some ID)
Start time: 6/27/2018 9:00 AM
Duration: 0 seconds
How the Interview Started
ELOQUA MARKETING (Some ID) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = 00300002ufXV7AAM
myVariable_current = 00300002ufXV7AAM
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!$Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "6/27/2018 9:00 AM"


Salesforce Error ID: 693755190-37274 (867155279)

-----------------------------------------------------------------------------
if any one faced the same issue please help me out how to debug this issue.

Thanks
Ram
Hi All,
we have SSO enabled for users login in Production and we do not have SSO for Sandbox.
i created new Sandbox(developer) after creation in success email, when i clicked that link ideally i should take me to Change passowrd screen but its taking me to Login screen.

Help me out how can i login to sandbox, what i am missing in it.

Thanks,
Ram
Hi All,

Im unable to clear step-8.  getting this below error
User-added image
User-added image

i have 
I have enabled the lightning Knowledge, created 3 record types and 3 page layouts and also created two custom fileds in knowledge obejctg., but still can not clear the step.

pelase let me know if have to do any other configuration.
Hi,

On button click in VF page i want to open Case object record with some fields should pre populated with values taking from VF page and that pre populated fields should not be editable(user should edit that pre populated field,but user should only read that field). And other case fields should be filled and case records should be created.

Can anyone help on this.

thanks
User-added image
I need help in creating dashboard shown in above image.
Its related to open vs closed cases for month of may.
it should take the count of cases from previous month also.
"3. Update Records 

Record - [OpportunityLineItem]

Criteria for Updating Records - No criteria-just update records 

Set new field values for the records you update 

Fulfilment Created = True 
Needs Insurance - Reference- [OpportunityLineItem].Product2.Needs_Insurance_c
Needs waiver - Reference -  [OpportunityLineItem].Product2.Needs_Waiver_c"

for me its not showing Needs Insurance and Needs waiver fields to select when i update Adventure Package record(opptylineitem)

please help here.
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: EZHCJNNJ
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: PPLDTMYR
Can  anyone help me with creating Lighting sales manager dashboard from first.
Hello guys, I would like to know if anyone has gone through this problem that I am facing. I'm new to Lightning/Apex technology, so I need help.

I'm creating a component where I can import information via CSV. With this file, I convert it to a JSON file and send it to Apex, to deserialize it for some specific object, for example a list of Accounts or Tasks.
  • Lightning:
let jsonFile = JSON.stringify(csvFile);
  • Apex:
List<Account> listAccounts = (List<Account>) JSON.deserialize(jsonFile, List<Account>.class);

The function I created in Apex is with the annotation "@Future", because I don't need the function's return to know if the import was successful or not, because I inform the user that he/she will receive an email with all the success or error information.

NOTE: The CSV file can contain several lines and columns, causing the conversion to JSON to become a String with a very long length. The file must have at least one record and at most 10,000 records to import.

These are my doubts:
  • Instead of sending JSON in String format, do I have to send in Blob format? Is it possible?
  • Can I deserialize a Blob for a list of objects, for example List<Account> or List<Task>?
  • I send an email with two attachments, a successful CSV (with the Id's that were generated when they were inserted) and an error CSV. But my fear is that both CSV's will get too big in String format, because I know that there is a maximum String size in Apex. Is there another way to attach the information instead of being done via CSV?
NOTE: My solution is working, when the CSV has a maximum of 325 records with 50 columns, the problem is when I add more records. As if Apex had any limitations on converting and inserting data. Some erros that have already happened were the following:
  • Apex CPU time limit exceeded: The Maximum CPU time on the salesforce servers - 10,000 milliseconds (Synchronous limit) 60,000 milliseconds(Asynchronous limit);
  • Apex heap size too large: Salesforce enforces an Apex Heap Size Limit of 6MB for synchronous transactions and 12MB for asynchronous transactions;
I've used the following method in the past to delete apex classes from production. Is there a better or easier way to do it?

https://www.salesforceben.com/way-to-delete-apex-classes-from-production/

(The title of the article is "An Easier Way to Delete Apex Classes from Production," but it's a few years old now, and I'm looking for an *even* easier way. I guess I'm greedy?)

I have found numerous old references to using the Force.com IDE but the IDE has been officially retired. I'm also looking for an option that doesn't involve the ANT Migration tool.

I have data from external data warehouse pushing data through Skyvia to Salesforce. It will upsert Contacts. However, I want to know how to have the process check if there is any existing lead with same email then convert that lead to a Contact then update that same Contact. 

Right now, our salespeople have to keep manually check if the Contact got created in Salesforce then they will need to go to the lead and manually convert and then choose the matching Contact. This needs to (and I know it can be) automated!

 

How can I achieve that? 

Hello Friends,
Currently the "Log a Call" button exists on the Open Activities related list.  The user is wanting to have this on the "Highlights Panel" of the Contact object as shown below.

User-added image

Kindly let me know if we can do this and how to do this.

Any help is greatly appreciated.

Thanks
Rao
  • January 23, 2020
  • Like
  • 0
Hi ,
In my test class trigger.isUpdate && isBefore is not coverd.Could any one help ?

Thanks ,
trigger IssuerUpdate on Issuer__c (before update)
{
    //uisng handler class to avoid recrisive
    if(trigger_handler.runisuuer())
    {    
        for(Issuer__c newIssuer : trigger.new)
        {
            //checking the status 
            if( newIssuer.Status__c == 'Approved')
            {
                if(trigger.isUpdate && trigger.isBefore)
                {
                    Issuer__c oldIssuer = trigger.oldMap.get(newIssuer.Id);
                    newIssuer.Ass1__c=  oldIssuer.Ass0__c;
                    newIssuer.DbtQ1__c= oldIssuer.DbtQ0__c;
                    newIssuer.DtE1__c = oldIssuer.DtE0__c;
                    newIssuer.Earn1__c= oldIssuer.Earn0__c;
                    newIssuer.Eqt1__c = oldIssuer.Eqt0__c;
                    newIssuer.MFRS1__c= oldIssuer.MFRS0__c; 
                    newIssuer.RA1__c  = oldIssuer.RA0__c; 
                    newIssuer.RevQ1__c= oldIssuer.RevQ0__c;
                    newIssuer.Rev1__c = oldIssuer.Rev0__c;
                    newIssuer.RE1__c  = oldIssuer.RE0__c; 
                    //'0' values null after update the Status Approved
                    newIssuer.RevQ0__c = null;
                    newIssuer.Rev0__c=null;
                    newIssuer.Ass0__c=null;
                    newIssuer.DbtQ0__c=null;
                    newIssuer.DtE0__c=null;
                    newIssuer.Earn0__c=null; 
                    newIssuer.Eqt0__c=null;
                    newIssuer.MFRS0__c=null;
                    newIssuer.RA0__c=null;
                    newIssuer.RE0__c=null;
                    
                    //RevQ---
                    newIssuer.RevQ2__c= oldIssuer.RevQ1__c;
                    newIssuer.RevQ3__c= oldIssuer.RevQ2__c;
                    newIssuer.RevQ4__c= oldIssuer.RevQ3__c;
                    
                    //Rev
                    newIssuer.Rev2__c= oldIssuer.Rev1__c;
                    newIssuer.Rev3__c= oldIssuer.Rev2__c;
                    newIssuer.Rev4__c= oldIssuer.Rev3__c;
                    //ass
                    newIssuer.Ass2__c= oldIssuer.Ass1__c;
                    newIssuer.Ass3__c= oldIssuer.Ass2__c;
                    newIssuer.Ass4__c= oldIssuer.Ass3__c;
                    //DbtQ0
                    newIssuer.DbtQ2__c= oldIssuer.DbtQ1__c;
                    newIssuer.DbtQ3__c= oldIssuer.DbtQ2__c;
                    newIssuer.DbtQ4__c= oldIssuer.DbtQ3__c;
                    //DtE1__c
                    newIssuer.DtE2__c= oldIssuer.DtE1__c;
                    newIssuer.DtE3__c= oldIssuer.DtE2__c;
                    newIssuer.DtE4__c= oldIssuer.DtE3__c;
                    //Earn0__c
                    newIssuer.Earn2__c= oldIssuer.Earn1__c;
                    newIssuer.Earn3__c= oldIssuer.Earn2__c;
                    newIssuer.Earn4__c= oldIssuer.Earn3__c;
                    //Earn0__c
                    newIssuer.Eqt2__c= oldIssuer.Eqt1__c;
                    newIssuer.Eqt3__c= oldIssuer.Eqt2__c;
                    newIssuer.Eqt4__c= oldIssuer.Eqt3__c;
                    //MFRS
                    newIssuer.MFRS2__c= oldIssuer.MFRS1__c;
                    newIssuer.MFRS3__c= oldIssuer.MFRS2__c;
                    newIssuer.MFRS4__c= oldIssuer.MFRS3__c;
                    //R01__c
                    newIssuer.RA2__c= oldIssuer.RA1__c;
                    newIssuer.RA3__c= oldIssuer.RA2__c;
                    newIssuer.RA4__c= oldIssuer.RA3__c;
                    //RE0__c
                    newIssuer.RE2__c= oldIssuer.RE1__c;
                    newIssuer.RE3__c= oldIssuer.RE2__c;
                    newIssuer.RE4__c= oldIssuer.RE3__c;
                }
            }
        }
    }
}

 
Hi All,

Can someone please tell me. is it possible to load data from Oracle or ther DB directly to Eisntein Analytics platform.

Thanks,
Ram
I Need to compare in IF condition but the one is "String" and another is a "Set". Please suggest
Hi guys,

I need help to deploy an apex trigger I saw that is very common to receive an error about coverage in production.
And I read many posts related to that but I couldn't fix it.

I completely new in apex triggers and deployment. I have a trigger that is working in sandbox and we make a test class to test it.

Code:
@isTest(OnInstall=true)
private class UpdateAccountId2 {

    public static List<Account> accountsList;
    public static List<nKPI__c> kpiList;
    public static String rdstation_id_account1;

    static void init(){
    accountsList = new List<Account>();
    kpiList = new List<nKPI__c>();

    rdstation_id_account1 = '100';

    kpiList.add(new nKPI__c(
                    rdstationid__c = rdstation_id_account1
    ));
    }

    /** Test with an existing account **/
    static testMethod void testWithExistingAccount() {
    init();
    Test.startTest();

    accountsList.add(new Account(
        Name = 'Test',
        rdstationid__c = rdstation_id_account1
    ));
    insert accountsList;
    insert kpiList;


    kpiList = [
        SELECT Id, Account__c
        FROM nKPI__c
        WHERE Id = :kpiList[0].Id
    ];

    // Verification
    System.assertEquals(kpiList[0].Account__c, accountsList[0].Id);
    Test.stopTest();
    }
}
It shows me 100% coverage in sandbox when I run.
But in production it is showing me this message:
Your organization's code coverage is 70%. You need at least 75% coverage to complete this deployment. Also, the following triggers have 0% code coverage. Each trigger must have at least 1% code coverage.
UpdateAccountId2
Can anyone help me?
Thanks,


 
Hi All,
we have SSO enabled for users login in Production and we do not have SSO for Sandbox.
i created new Sandbox(developer) after creation in success email, when i clicked that link ideally i should take me to Change passowrd screen but its taking me to Login screen.

Help me out how can i login to sandbox, what i am missing in it.

Thanks,
Ram
Hi,

i am getting below error while completing "Lightning Experience Rollout Specialist Superbadge Step #8"
Challenge Not yet complete... here's what's wrong:
Knowledge must be enabled for the org.
.User-added image


i have alredy enabled knowledge settings..

User-added image

Thank you.
Hello,

I am currently running in to an issue on Step 6 of the Lightning Experience Rollout Specialist Superbadge.

When I click check challenge, this is the error I get:
Challenge Not yet complete... here's what's wrong: 
The All Lusso Scarpe Employee group page must display the following information on the right side of the page: recommended groups and individuals to follow, and the most popular topics currently under discussion.

Here is a screenshot of my page:
User-added image

Can anyone help me understand what I am doing wrong?

Thank you!
I removed the link from the classic pages and then edited the lightning page to add the component but I still get this error - 

Challenge Not yet complete... here's what's wrong: 
Didn't find a replacement for the UpsellCrosssellOpportunity link that uses the CreateOppty custom Lightning component.

Why?
  • September 14, 2017
  • Like
  • 0
Hi,

I am getting error as below in Lightning Experience Rollout Specialist Challenge #8

The Lightning Knowledge app doesn't have the ability to view either or both: recently-visited primary tabs or subtabs.

Could any one please suggest me?

Thanks
Surya
Hi All,

Im unable to clear step-8.  getting this below error
User-added image
User-added image

i have 
I have enabled the lightning Knowledge, created 3 record types and 3 page layouts and also created two custom fileds in knowledge obejctg., but still can not clear the step.

pelase let me know if have to do any other configuration.
Hello,

Need help on javascript validation on a visualforce page. The VF page itself is using the standard controller for Opportunity. I'm new to vf page and js, so I'm unsure what I'm missing. Any feedback is appreciated. 

<script>
    function validateType(){
        var valType = document.getElementById'{!$Component.form.pageBlock2.initialFollowType.outputType.Type}').value;
if(valType.value=="Email")
            {
                alert("If Initial Follow Up Type = Phone or Email, Follow Up Date is Required, Follow Up Time of Day is Required, and Appointment Time should be blank");
                return false;
            }else
            {
              if(valType =="Phone"&& valDate ==NULL && valTimeofDay ==NULL && valTime !=NULL)
              {
                    alert("If Initial Follow Up Type = Phone or Email, Follow Up Date is Required, Follow Up Time of Day is Required, and Appointment Time should be blank");
                    return false;
              }
             }return true;        
                            
     </script>
  • June 08, 2017
  • Like
  • 0
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: EZHCJNNJ
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: PPLDTMYR