web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to create a customized qualify button in the command bar within a customized entity and a customized BPF?

(0) ShareShare
ReportReport
Posted on by 160

Dear all,

I have created a business process with three stages in a customized entity to manage our speaker leads: 

Image

In the first stage, I created a Lookup data field to make sure the newly acquired lead is already in the Contact entity:

pastedimage1674128517763v1.png

If the contact is found, will it be possible to create a customized button, "Qualify speaker lead"? Can this button achieve the following goals:

-Close the existing lead in the new customized entity I created.

-Direct me to the matching contact profile page so I can update the existing contact profile?

It seems the possibility required a certain formula for this button. Does someone know how to write the formula?

Thanks!

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at
  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    Please use below link to add ribbon button entity:

    https://cynoteck.com/blog-post/add-custom-button-using-command-bar-in-powerapps/

    Now, You need create one Javascript which trigger on Click of Custom "Qualify Button".

    In ribbon button, you can get the formcontext as described in below link

    https://blog.magnetismsolutions.com/blog/alfwynjordan/2019/10/02/getting-dynamics-365-formcontext-from-ribbon-workbench

    Now, with formcontext you can access BPF field as described in below link:

    https://d365demystified.com/2018/11/17/accessing-multiple-occurrences-of-a-field-in-business-process-flow-using-js-in-d365-crm/

    After this, you can check your condition and if it is TRUE then you close the custom entity by updating the record Status and Status Reason Field.

    And in the success call back of ASYNC function you can open the selected contact record.

    Hope this helps!!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans