web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 49 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans