Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Calling property Variable of custom control NNDropdown (pcf) in javascript formonload event possible?

(0) ShareShare
ReportReport
Posted on by 219

Hello together,

we added a custom control called NNdropdown from pcfgallery to on of our fields:

pastedimage1648125144192v1.png

there is one variable "TargetEntityFilter" which I would like to fill dynamically dependend on a lookup value.

pastedimage1648125237243v2.png

As You see I already bound it on a field value. Which works. Which means I could change the Field value.

But still I ask if I could call the variable of the control directly at onload event of a form in javascript? is this possible?

thx for help

McDauly

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Calling property Variable of custom control NNDropdown (pcf) in javascript formonload event possible?

    Hi McDauly,

    I haven't found any way to change it. However, you could directly use JS to dynamically filter lookup value.

    Please refer to this:

    docs.microsoft.com/.../addcustomfilter

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,888 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,772 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans