• Lionel Kamdem
  • NEWBIE
  • 40 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 10
    Replies

Hi 

I am looking to add a recent opportunity view to custom visual force page I created for a list view. 

The reason why I made the custom visual force page was to get rid of the new opportunity button, but I am looking to add a recent opportunity view. 

This is the current code I have for the visual force page: 

<apex:page showHeader="true" tabstyle="Opportunity" lightningStyleSheets="true">
  <!-- Begin Default Content REMOVE THIS -->
   <apex:ListViews type="Opportunity" />
   
   SELECT Id, Name FROM RecentlyViewed  WHERE Type ='Opportunity' ORDER BY
  LastViewedDate DESC
    
  <!-- End Default Content REMOVE THIS -->
</apex:page>

How would I go about adding a recent opportunity view to this? 

This is the image as well of what it looks like:

Oppty Visual Force Page

Hello 

I have a Flow that is producing an error everytime it fires. 

It's very basic at it's updates all the Opportunities of a related Record. 

Here is the criteria for the Flow Update: 

User-added image

This Is the error I am getting: 

Error element Update_Oppty_With_Matching_Account_ID (FlowRecordUpdate).
The flow tried to update these records: null. This error occurred: FIELD_FILTER_VALIDATION_EXCEPTION: The contact needs to be a contact associated with the account.. You can look up ExceptionCode values in the SOAP API Developer Guide.

Flow Details
Flow API Name: Update_Oppty_Owner_On_Renewal_And_Quote_To_CSM
Type: Autolaunched Flow
Version: 3
Status: Active
Org: Higher Logic LLC (00D290000001Ft3)

Flow Interview Details
Interview Label: Update Oppty Owner On Renewal And Quote To CSM 5/20/2020 2:29 PM
Current User: Lionel Kamdem (0050g0000063vBV)
Start time: 5/20/2020 2:29 PM
Duration: 4 seconds

How the Interview Started
Lionel Kamdem (0050g0000063vBV) started the flow interview.
Some of this flow's variables were set when the interview started.
PassedAccountFromProcessBuilderAction = Account (0017000001RhD0VAAV)

UPDATE RECORDS: Update_Oppty_With_Matching_Account_ID
Find all Opportunity records where:
AccountId Equals {!PassedAccountFromProcessBuilderAction.Id} (0017000001RhD0VAAV)
Update the records’ field values.
Opportunity_Lead_Source__c = Gainsight Campaign Lead
Result
Failed to update records that meet the filter criteria.

Error Occurred: The flow tried to update these records: null. This error occurred: FIELD_FILTER_VALIDATION_EXCEPTION: The contact needs to be a contact associated with the account.. You can look up ExceptionCode values in the SOAP API Developer Guide.


I don't understand the error as in I'm not trying to update a contact, but the Opportunities and the there are about 5 opportunities associated with that Account so it should definetely update them. 

Is there something I am missing please let me know. 

Hi 

I am moving an Apex Trigger from Sandbox to Production and this is the error I am getting in the Apex Test: 

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, Record Type ID: this ID value isn't valid for the user: 0120v000000TPT9AAO: [RecordTypeId] 
Stack Trace: Class.RequireRejectionCommentTest.generateAndSubmitObject: line 166, column 1 Class.RequireRejectionCommentTest.testApprovalWithoutComment: line 49, column 1


It's telling me as the Salesforce Admin I do not have access to this record but I do I checked and I have access to these record types. 

This is the code right here: 
 
testBatchIS.add(new Case(Hours__c=15.12,RecordTypeId='0120v000000TPT9AAO',AccountId='0017000001XpguKAAR',                               Status='New',Concession_Category__c='Scope Change',                     Explanation_for_Business_Reason_Choice__c='stuff'));

I think it might have to do with the way I reference the Record Type as an ID.

instead of referencing it as RecordTypeID how would I reference it by the RecordTypeName instead? 
Hi Guys 

I'm pulling a report to show the number of donations we have gotten from 2016-2018.

I have the report divided by campaigns which will shows the people who have donated.

So if someone has donated to more than one campaign it will show. 

My question is there a way to only show the first campaign that the person donated to and not the other campaigns. 

I'm doing this just to get a count of how many people have donated. 

I do not want to count their multiple donations. 

Thank you! You guys Rock!
Hi 

I have an excel spread sheet of about 100 names. I want to compare these 100 names with the contacts we already have in salesforce to see how many are in our database. 

I know with dataloader/import wizard you can import, export, update, and delete but I'm not sure how you would go about comparing your own list against your database in salesforce.

Thank you. 
Hi

I currently have a workflow rule set up for a donation page that will send an email to the doner when someone submits a donation. 

This is what my workflow rule looks like: 

AND( rC_Connect__Batch_Upload_Campaign_Matched__c  = '2019 BftM Ticket Page', rC_Connect__Event_Purchase_Giving_Amount__c > 0 , rC_Connect__Giving_Paid__c  = True)

For context the company I work for is a non-profit who uses batchupload linked with a payment provider to collect payments. 

I tried using the debugger to look at the workflow to see what's wrong. This is what I get: 

User-added image

Clearly I'm doing something wrong because I don't see my workflow and I obviously don't know how to use the debugger. Hoping someone can give some direction. 

 
Hi

I'm trying to set up a workflow rule for leads where if someone has logged a call 7 times and the lead status has not been set to converted, than the status will be automatically set to closed - not converted. 

How would I be able to reference the log a call button or the activity associated with it? 

Thank you. 
Hi I'm working on Lightning Experience Reports and Dashboard Specialist. 
I'm on step 2 and this is the error I'm getting when I submit it: 

User-added image

I believe I have the correct folder and the naming convention down.
The unique API name is the same as the report name.

User-added image

Please can someone tell me what I might be doing wrong? 

Thank you so much!!!!
Working on Superbadge challenge, and I'm on part 6. 

Automate Fulfillment Cancellation Actions
User-added image

*Fulfillment is a custom object
*Adventure is the product object renamed 

This is the error I'm getting: 
User-added image

I believe I did everything correctly, but the error seems to be the cancelled fulfillment not updating the adventure package correctly. I believe I may not be referencing the original adventure package correctly. 

*adventure package is opportunity product renamed. 

Here is what I did:
User-added image

Please can anyone give me any insight into this. Thank you. 
Questions for the Salesforce Admin.
What are some cool projects, things ( like custom objects, workflow or process automation), or tools you have implemented for your org that has had an impact in a positive way. 
I'm a new admin looking to add value to the sales team I will be working with. I'm trying to come with ideas or things I can implement that would have a good impact for the sales team.
User-added image

In the final approval action of the screen shot I am trying to update a field. 

I choose Add New | Field Update and I hit GO but nothing seems to work. 

Can somene tell me what I'm doing wrong?

Thank you so much. 
Hi 

I have an excel spread sheet of about 100 names. I want to compare these 100 names with the contacts we already have in salesforce to see how many are in our database. 

I know with dataloader/import wizard you can import, export, update, and delete but I'm not sure how you would go about comparing your own list against your database in salesforce.

Thank you. 
Hi

I currently have a workflow rule set up for a donation page that will send an email to the doner when someone submits a donation. 

This is what my workflow rule looks like: 

AND( rC_Connect__Batch_Upload_Campaign_Matched__c  = '2019 BftM Ticket Page', rC_Connect__Event_Purchase_Giving_Amount__c > 0 , rC_Connect__Giving_Paid__c  = True)

For context the company I work for is a non-profit who uses batchupload linked with a payment provider to collect payments. 

I tried using the debugger to look at the workflow to see what's wrong. This is what I get: 

User-added image

Clearly I'm doing something wrong because I don't see my workflow and I obviously don't know how to use the debugger. Hoping someone can give some direction. 

 
Hi

I'm trying to set up a workflow rule for leads where if someone has logged a call 7 times and the lead status has not been set to converted, than the status will be automatically set to closed - not converted. 

How would I be able to reference the log a call button or the activity associated with it? 

Thank you. 
Hi I'm working on Lightning Experience Reports and Dashboard Specialist. 
I'm on step 2 and this is the error I'm getting when I submit it: 

User-added image

I believe I have the correct folder and the naming convention down.
The unique API name is the same as the report name.

User-added image

Please can someone tell me what I might be doing wrong? 

Thank you so much!!!!
Working on Superbadge challenge, and I'm on part 6. 

Automate Fulfillment Cancellation Actions
User-added image

*Fulfillment is a custom object
*Adventure is the product object renamed 

This is the error I'm getting: 
User-added image

I believe I did everything correctly, but the error seems to be the cancelled fulfillment not updating the adventure package correctly. I believe I may not be referencing the original adventure package correctly. 

*adventure package is opportunity product renamed. 

Here is what I did:
User-added image

Please can anyone give me any insight into this. Thank you. 
User-added image

In the final approval action of the screen shot I am trying to update a field. 

I choose Add New | Field Update and I hit GO but nothing seems to work. 

Can somene tell me what I'm doing wrong?

Thank you so much.