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 :
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
    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

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 61 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 31 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans