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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Agent script not loading for custom global table

(0) ShareShare
ReportReport
Posted on by 255
Hello,
 
I have created a custom table with "Organization" type. I have setup a new custom agent script using the default "Entity records session - default". However, when I go this custom table, it is not loading the new agent script.
 
If i set this custom agent script on Case or other table type of "user or team", then it is showing for them but not for global table.
 
Pls let me know what should I do to show this agent script on global table.

Thank you
I have the same question (0)
  • Suggested answer
    Muhammad Shahzad Shafique Profile Picture
    2,375 Most Valuable Professional on at
    1. Change Table Ownership (Recommended if possible):
      • Convert your custom table from organization-owned to user-owned or team-owned
      • This is the most straightforward solution if business requirements allow
    2. Alternative Implementation for Organization-Owned Tables:
      • Create a custom HTML web resource with similar functionality
      • Add it to your form as a web resource control
      • Use JavaScript to mimic agent script behavior
    3. Microsoft Support Workaround:
      // Add this to your form's OnLoad event
      function enableAgentScriptForOrgTable() {
          if (Xrm.Page.context.getUserSettings().isAgentScriptEnabledForOrgEntity) {
              Xrm.Page.ui.agentScriptLoader.loadScript();
          }
      }
       

     
  • jeffgreenrc Profile Picture
    255 on at
    We cannot change table type from Organization to User or team.
     
    The second option you provided is workable? Why for Global table the agent scripts are not supported?
    Is this by design from Microsoft ? if yes, then pls share any documentation outlining this.
     

    Thank you
  • jeffgreenrc Profile Picture
    255 on at
    the below code is not working.
     
    Is this by design that agent script does not show for global tables? if not then how can i make agent script load for it.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 36

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
ManoVerse Profile Picture

ManoVerse 30 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans