Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Microsoft USD - Replacing $Context inside data parameters

Posted on by 295

Dear Team,

I am sending values inside Data parameters ($Context) through my code.

Inside my $Context, i have values like these,

CRMPageDataParameters (string) LogicalName=[[$Context.LogicalName]]

customerid = [[$Context.CustomerID]]

Also, inside my $Context i have LogicalName and CustomerID aswell,

LogicalName (string) = incident
CustomerID (string) 123455


Now, i am calling an action call to open a new incident page and passing data inside like this,

[[$Context.CRMPageDataParameters]]

But the problem is it is not working, if i send hardcoded values inside my $Context it works, but i send values like this [[$Context.LogicalName]] (LogicalName is also available inside context) then it does not. I was assuming it would replace [[$Context.LogicalName]] with incident. But it is not.

How can i replace the values like [[$Context.LogicalName]] inside $Context with values already available like LogicalName=incident.

*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