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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Deployment through PPAC (power platform admin ceenter) skips labels and data entity custom.

(0) ShareShare
ReportReport
Posted on by 7
hi ,
i have been working on latest version d365fno.
 
i developed the custom entity added in excel addin and test it on my dev environment its visible in dmf and workd from excel addin(open to office).
 
i deployed the customization from visual studio 2022 choosing 
1.TOOLS=> connect to dataverse.
2.deploy => deploye model => deploy model to online environmrnt => sync build true.
 
the deployments is completed the form and other customization are there i refreshed the entity list from frameowrk parameters.
1. entities are not visible there.
2. entites are visivle in (open to office on system form ecoresproductsdetailsextended) but not working .
3. not showing data when excel is downloaded and not insereting data.
4. it also misses label on some form when added through label files working fine on vm.
 
what maybe the casue any suggestions?
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,988 Super User 2026 Season 1 on at
    Moved the question from the Dynamics 365 General to the Dynamics 365 Finance forum.
     
  • André Arnaud de Calavon Profile Picture
    303,988 Super User 2026 Season 1 on at
    Hi Faizan,
     
    Can you tell what exactly you mean by "sync build true"? Did you enable both options for build the models before deploying to the online environment and synchronize the database?
     
    Was the build successful? Can you tell more about your custom data entities? How are they designed? Are they used for data management, public, or both? 
    What option did you select for building labels when building your model? One language, or all?

  • Faizan Subhani Profile Picture
    7 on at
    HI ,
    before deployment i did the model build wthout sync and build the label file (ALL) with it.
     
    1. I connected to data verse from tools.
    2. I selected this option to deploye the package to my uat by connecting on dataverse.
    3. i selected both deploy and Sync. 
    this is the deployment secondly i create data entity by simple addin option on my table ,
    1.adding index myid and linenum deuplicate set to no,
    2. public yes.
    3. incremental code on my entity 
    4. Access to unset (refernce from salesline entity)
     public boolean insertEntityDataSource(
     DataEntityRuntimeContext _entityCtx,
     DataEntityDataSourceRuntimeContext _dataSourceCtx)
     {
         boolean ret;
    
         MYTABLE line = _dataSourceCtx.getBuffer();
    
         if (!line.LineNum)
         {
             line.LineNum = this.getNextLineNum(line.ItemId);
         }
    
         ret = super(_entityCtx, _dataSourceCtx);
         return ret;
     }
    
     private LineNum getNextLineNum(ItemId _itemid)
     {
         MYTABLE line;
         LineNum nextLineNum;
    
         select maxof(LineNum) from line
         where line.ItemId == _itemid;
    
         nextLineNum = line.LineNum ? line.LineNum + 10 : 10;
    
         return nextLineNum;
     }
    then added code in a custom class for excel addin which works fine 
    class myclass
    {
        /// <summary>
        /// This method used to get the form and add the export to excel button on the form
        /// </summary>
        /// <param name = "sender">xFormRun</param>
        /// <param name = "e">FormEventArgs</param>
      
        [FormEventHandler(formStr(EcoResProductDetailsExtended), FormEventType::Initializing)]
        public static void EcoResProductDetailsExtended_OnInitializing(xFormRun sender, FormEventArgs e)
        {
        
            FormRun formRun = sender as FormRun;
    
            if (formRun && formRun.officeHelper())
            {
                formRun.officeHelper().OfficeMenuInitializing +=
                    eventhandler(DSS_EcoResProductsExcelPlugin::officeMenuInitializingHandler);
            }
        }
    
        /// <summary>
        /// This method used to initialize the data Entity at all the Datasources on the Form
        /// </summary>
        /// <param name = "_formRun">FormRun</param>
        /// <param name = "_eventArgs">OfficeMenuEventArgs</param>
        private static void officeMenuInitializingHandler(FormRun _formRun, OfficeMenuEventArgs _eventArgs)
        {
            OfficeMenuDataEntityOptions myentitytest  = OfficeMenuDataEntityOptions::construct(tableStr(MyTABLE));
            _eventArgs.menuOptions().dataEntityOptions().addEnd(myentitytest);
    }
     
     
  • André Arnaud de Calavon Profile Picture
    303,988 Super User 2026 Season 1 on at
    Hi Faizan,
     
    Was the model build successful without errors? Is the data management property on your data entity enabled? 
    The deployment process to the online environment was correct, but depends on a correct build.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 653

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 493 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 317 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans