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

Community site session details

Session Id :
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?

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator 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.

  • Verified answer
    Sumit Loya Profile Picture
    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.

  • agneum Profile Picture
    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?

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

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

  • nmaenpaa Profile Picture
    101,160 Moderator 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.

  • agneum Profile Picture
    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)?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator 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.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans