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.
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
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)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156