Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

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

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
    Community Member Microsoft Employee 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans