Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Set ObjectId to dynamic value

Posted on by Microsoft Employee

Hi,

Im calling a dialog using javascript, Im passing in the DialogId, EntityName and ObjectId.

window.open("servername.com/.../rundialog.aspx{33DA5C23-DB8B-41FB-916B-A490DBD24208}&EntityName=opportunity&ObjectId={568E942D-9E6D-E511-93F3-00155D667E48}" ,"Popup", "location=1,status=1,scrollbars=1, resizable=1, directories=1, toolbar=1, titlebar=1, width=600, height=600");
      


 is the there anyway I can set the ObjectId to be dynamic, instead of static.

Problem is when I create a new lead and a dialog is called is looks for the lead with the objectId in the code.

Thanks

*This post is locked for comments

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans