web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Duplicated Fields on Form Tabs

(0) ShareShare
ReportReport
Posted on by 20

Hi,

I have a lookup field which is duplicated on a form and placed on 5 different tabs. At a time only one tab is visible based on value of a lookup field selected in Summary Tab. I have applied a filter on this duplicated  lookup field based on the lookup field in Summary Tab. However this filter is only visible in the very 1st Tab. Is it possible to have common events and filters for a duplicated fields across all the tabs without explicity adding them on each tab?

I need to know this because i have another dupliacte lookup field which needs to be filtered based on the duplicate lookup field I mentioned above

Thanks.

I have the same question (0)
  • Suggested answer
    Miguel Lourenco Profile Picture
    Microsoft Employee on at

    Hi,

    Not sure if I understood correctly. You have the same field across multiple tabs but when you do some via java script, it only changes the first one and not all. correct?

    You can try (for example to disabled them) with:

    var c = Xrm.Page.getAttribute('name').controls //this will get all the fields with the name "name"

    you can then iterate through c.

    Or you can do

    Xrm.Page.getAttribute('name').controls.get(0).setDisabled(true)

    Xrm.Page.getAttribute('name').controls.get(1).setDisabled(true)

    .

    .

    .

    Xrm.Page.getAttribute('name').controls.get(n).setDisabled(true)

    Regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 19 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans