Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

Creating a custom link / button in forms

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. 

  • RE: Creating a custom link / button in forms

    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

  • PabloCRP Profile Picture
    PabloCRP 1,086 on at
    RE: Creating a custom link / button in forms

    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)

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans