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 :
Small and medium business | Business Central, N...
Suggested Answer

Unattended company creation via API - Experience Tier

(0) ShareShare
ReportReport
Posted on by
Hi,
 
I'm developing an un unattended company creation script using python and the automation APIs.
 
Currently, when creating a new company using the automation APIs, this creates a new blank company with no configuration at all.
 
I have already worked out how to upload the Standard RapidStart config package, and apply it.
 
The problem is that this new company has no Experience specified in the Company Information page, and in fact, has no entry in table 9176 - Experience Tier Setup.
 
I can craft a RapidStart package that will set the Essential boolean for that company name. 
 
<?xml version=/1.0/ encoding=/UTF-16/ standalone=/yes/?>
<DataList MinCountForAsyncImport=/5/ ProductVersion=// PackageName=/Experience Tier/ Code=/EXP.TIER/>
  <ExperienceTierSetupList>
    <TableID>9176</TableID>
    <ExperienceTierSetup>
      <CompanyName PrimaryKey=/1/ ValidateField=/1/ ProcessingOrder=/1/>Contoso 23</CompanyName>
      <Basic ValidateField=/1/ ProcessingOrder=/2/>0</Basic>
      <Essential ValidateField=/1/ ProcessingOrder=/3/>1</Essential>
      <Premium ValidateField=/1/ ProcessingOrder=/4/>0</Premium>
      <Preview ValidateField=/1/ ProcessingOrder=/5/>0</Preview>
      <Advanced ValidateField=/1/ ProcessingOrder=/6/>0</Advanced>
      <Custom ValidateField=/1/ ProcessingOrder=/7/>0</Custom>
    </ExperienceTierSetup>
  </ExperienceTierSetupList>
</DataList>
 
[XML is mangled by the community posting software, the quotation marks are correct in my package]
 
If I upload the RapidStart package to a sandbox environment this appears to do the right thing.
 
Is this the correct way to set the Company Experience using the API? Do I need to do something else?
 
Thanks,
Giles Radford
 
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,999 Super User 2025 Season 2 on at
    try to include 9176 table in standard rapidpackage and export 
    use that custom rapidpackage in import
  • Suggested answer
    YUN ZHU Profile Picture
    95,550 Super User 2025 Season 2 on at
    It looks like this field cannot be modified from code or API.
    First of all, this field is a variable, so it cannot be imported through the Configuration Package.
    In addition, the Experience Tiers table is also a temporary table, and you cannot directly write data.
     
     
    The most critical thing is that the scope of the code for switching Experience Tiers is OnPrem, which we cannot use in the cloud version.
     
     
    Hope this helps.
    Thanks.
    ZHU

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans