Skip to main content

Notifications

Announcements

No record found.

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

Can't publish Entity for SalesTable

(0) ShareShare
ReportReport
Posted on by 150

I've successfully built a package (Build model option) containing a few entities that I need for BYOD. When I upload the package to my sandbox environment via LCS and refresh the entitiy list, I can see all the entities I've built in my project except the one I made for SalesTable. What can be the issue?


I've attempted to create it again from scratch and synch the database and it still doesn't work for me. Nothing looks out of the ordinary.

Any idea as to what can be the issue here?

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Can't publish Entity for SalesTable

    It's a best practice to use labels. And if you don't know how to use them, it's a good moment to learn since you need them in all places where you want to create UI texts.

    You can look at the labels in standard objects to understand how to reference a label in your entity. The syntax is @LabelFileName:LabelId

    Technically you can just use a fixed text instead of a label to get your entity working.

  • agneum Profile Picture
    agneum 150 on at
    RE: Can't publish Entity for SalesTable

    I have created a label file with "en-us" as language, and added a fiew fields and saved the project. However I can't seem to find them in the label brwoser when I try to set a label for the entity.

    I've followed this blog:
    https://www.tech.alirazazaidi.com/notes-about-labels-d365-for-finance-and-operations/


    Is it okay perhaps to just give it a name (and not a reference to label id)?

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Can't publish Entity for SalesTable

    Sorry, the article above is not fully relevant for your case. But anyway you should create a label file (if you don't already have it) and labels in it. And actually that part is described also in the article.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Can't publish Entity for SalesTable

    docs.microsoft.com/.../create-localizable-labels-client

  • agneum Profile Picture
    agneum 150 on at
    RE: Can't publish Entity for SalesTable

    Can't see it in the dev system either. Entity is public as well.

    I can confirm the label is overlapping, and it would seem this is most likely the issue. Is there documentation on how I can define my own labels?

  • Verified answer
    Sumit Loya Profile Picture
    Sumit Loya 2,230 on at
    RE: Can't publish Entity for SalesTable

    Hi Agenum,

    The most probable cause is the Entity label has same name as an existing data entity.

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Can't publish Entity for SalesTable

    Can you see this entity in the entity list of your dev system?

    Is the entity marked as public (IsPrivate:No)?

    Is the entity label perhaps overlapping with some existing entity label? If there is such overlap, then the entity refresh can't use the label text as the name of your entity, instead it will use the label id (such as @MyLabel). If also that text is already used in the entity list, I think the refresh can't complete and this entity will not show up on your Data entities form.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans