Skip to main content

We've creating a custom button on the Opportunity to run a defaulted DDP given specific criteria. We've combined this criteria into a formula field, Certificate_Agreement__c, that is intended to set the Filter on the DDP. Our button URL looks like this:

 

/apex/loop__looplus?eid={!Opportunity.Id}&accountId={!Opportunity.AccountId}&sessionId={!$Api.Session_ID}=true&filter={!Opportunity.Certificate_Agreement__c}

 

We've ensured that the Filter is set on our DDP. When we attempt to test our button on the Opportunity object with said filter, an error message returns that reads "There are no DDPs for you to run for this object based on your profile or role." Has anyone encountered this error or have awareness of what we might be missing?

Hi Haley Walsh‌- thanks for your reply. We removed the &filter parameter from the button and the DDP selection-screen appeared without the error message. Is this an indicator that something is incorrect in the logic of our button or filter criteria? Additionally, we've ensured that the correct Profiles are included. We experience the same error, however, when our &filter is included.

Button logic:

Filter on the DDP:

Certificate_Agreement__c field on the Opportunity:


Removed the '=true' from the button but still received the same error message. I've included two screen shots-- one of the button logic and the other of the error message after clicking the button:


Reply