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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Creating a custom link / button in forms

(0) ShareShare
ReportReport
Posted on by 10

Hi, 

I have an problem i cannot find the solution to. In the Contact form, i want to create a button or a link which opens a external webpage and also sends a parametre value from the enitity. For example i want to open the lik http://example.com/?user_name=[address1_city] where fullname is the address1_city is the value stored in the entity. I have tried with Ribbon Workbench but it's not working due to issues in the solution. 

I have the same question (0)
  • PabloCRP Profile Picture
    1,088 on at

    Hi, were are you facing issues ?  On Ribbon solution?
    take a look of the tool Ribbon Workbench it comes very handy  working with custom buttons on your entities forms.

    I could recommend you to use the Smart Buttons you can just create a button and write a JS and create the URL you want and open that with window.open(URL)

  • Prakash Kalimuthu Profile Picture
    on at

    Hi Waseem,

    What type of issue are you facing in solution?

    Don't try to add entity in patch solution and try to edit in ribbon workbench. While publishing your changes you might face an issue.

    Better create new solution add your entity and make changes in ribbon workbench.

    To achieve your functionality, create custom button add command and associate custom js. Pass crm parameter "primary control" where you will get formcontext. In custom js then retrieve fullname and address_city using formcontext.

    Regards,

    Prakash

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

News and Announcements

Season of Giving Solutions is Here!

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
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 59 Super User 2025 Season 2

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans