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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

RibbonWorkbench - get entity value and use it opening a new window to display his content

(0) ShareShare
ReportReport
Posted on by 1,257

Hello there,

I need a quick hand with something, i'm trying to read a value for an entity and pass it throught Ribbon Workbench to a button... all is working fine, but the value that i'm reading supposed to be a URL, so i need to pass that value to the action url but when i do it i get a new crm iframe open with the url of the crm and the value of the parameter... how can i reach this goal? its possible to pass that value to a new window with ribbon workbench?

Here a picture of what i'm seeing after set the values to the button.

solutionsatcustom-my.sharepoint.com/.../EmBvnjnktthFsygdmedZ-vQBoAgAGv1A5_0IhkJjrFbMIQ

capture2.png

and this is when i click on the button, and what i need is yes, open that window, but with the url i set on the CRM field value...

Capture.png

Any clue for me with this?

Thanks and many, many thanks in advance :)

*This post is locked for comments

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I'm afraid to make that configurable you will have to instead of Open Url action will have to use call javascript. And to open a new form and pass something inside you can use Xrm.Utility.openEntityForm - mahadeomatre.blogspot.com/.../xrmutility-functions-openentityform.html in case you want to open some entity form.

    If this is regular url with parameter passed inside you will have to use window.open

    Feel free to describe your scenario and you will be helped.

    And update your screenshots - those are not shown on my side.

  • Vile Andreas Rantala Profile Picture
    1,257 on at

    Hi Andrew... thanks for the comment... looks my scenario is this:

    on opportunities i have a new ribbon button, and also have a javascript to retrieve a value (which is an url of a webservice), what i need to do is when i press the button get that value retrieved and open it on a new window for now, this is to test that the WS will be invoked correctly. i have all working less the open of the new window with the new url that i need to open.

    and sorry i miss the images wasn't displayed... here the folder of the images  solutionsatcustom-my.sharepoint.com/.../EmBvnjnktthFsygdmedZ-vQBoAgAGv1A5_0IhkJjrFbMIQ

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    As I mentioned you will have to move your logic to JS webresource, build url to open inside it, and open it using window.open method. Good luck.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans