Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

How to look and use Find reference in a label ?

(0) ShareShare
ReportReport
Posted on by 592

Hi,

I want to look for existing code (standard or custom) which is using some label. The "Label Id" in questioned already can find using the label tools : 

pastedimage1680503895197v1.png

But how to find what codes using this label id ?

I tried to right click and select Find reference on it, but it give me nothing.

pastedimage1680503996528v2.png

I'm pretty sure there are some code using this, as this label which is a message appear in the UI ->

pastedimage1680504148557v6.png

Thanks

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How to look and use Find reference in a label ?

    I just right clicked on the label id and click on find reference - It showed me on the find symbols result window.

    Sometimes it will be missing cross reference data. If you know the package where the elements are present, you can build that specific model with Build cross reference data set to Yes. If you don't know the model's name, you need to do full build with build cross reference data set to yes.

    During leisure time you can do a full build of models with build cross reference data set to yes.

    Thanks,

    Girish S.

  • Voltes Profile Picture
    Voltes 592 on at
    RE: How to look and use Find reference in a label ?

    Thanks Mohit,

    I'm typing at the same time as your reply.

  • Voltes Profile Picture
    Voltes 592 on at
    RE: How to look and use Find reference in a label ?

    Hi Girish,

    Thank you very much. This is the class I needed. 

    But may I ask how you do it ? 

    Because I also tried from AOT and look at the field, then right click and select Find references from there. From this I can find my custom code only but no those standard classes you found ->

    pastedimage1680505812992v1.png

    thanks,

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: How to look and use Find reference in a label ?

    Hi Lars, You are right, this label is used in a one class as Girish mentioned. You need to cross reference models to get it working for you. Please check this thread.

    community.dynamics.com/.../when-i-click-find-references-i-want-to-see-all-references-to-an-object-not-just-my-references-to-that-object

  • Verified answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How to look and use Find reference in a label ?

    Hi Lars Volt,

    I find referenced the label and it is used in the following class.

    Refer to the screenshot below.

    6165.Capture.PNG

    Thanks,

    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans