Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Custom Activity: Populate To and from fields through parameter passed in url

Posted on by 115

I am working on a HTML page which is displaying a list of Activities and when I select any one of them it opens Activity in separate window.

Its working good for OOB entities.

for eg Email Activity URL : http://awd-izz-g-crm02/lp/main.aspx?etn=email&pagetype=entityrecord&extraqs=partyid%3D{id}%26partyname%3D{name}%26partytype%3D{type}%26pId%3D{id}%26pName%3D{name}%26pType%3D{type}

Regarding and To field auto populating by passing pId,pName,pType & partyId,partyName,partyType in url

3235030.Capture.PNG

But in case of custom activities I am not able to populate To field by passing pId,pName,pType & partyId,partyName,partyType in url.

Other ways :

* pass customer parameters in url and write jScript to read and fill fields on load custom activity form.

* XRM OpenForm()

Please don't advise these ways because these are not useful in my case as this HTML is in external application and i am creating a generic solution to open activities for multiple CRM orgs.

Can anyone help me which parameter need to pass in url to populate To field in case of custom activities?

*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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans