Silverlight Webpart 5 Second Timeout Error - Fix

Hi All,

There is the way to set time out for Silverlight web part. This time out happens when web part can't load xap file.
The value is hard-coded within web part and equal 5 sec which is not so much.
 

So, Just use the below snippet in the page

<script type="text/javascript">
function _spCheckIfSilverlightPluginIsLoaded_WebPartctl00_m_g_0f7cd87d_f3fd_49d9_91ec_ad4b46cfe999(){}
</script>


And add the below snippet where the Silverlight Webpart hosted  

<script type="text/javascript"> function _spSetSLPluginNotLoadedErrorMessage(wpId){ 

</script> 

Now you wont face a timeout :)

Regards
Ratsub 

Comments

Popular posts from this blog

People picker Control in PowerApps

Secure When a HTTP request is received Power Automate a.k.a MS Flow

Upload attachment to SharePoint list item using Microsoft Flow

Modern page provisioning using page template

REST call returns XML instead of JSON in SharePoint

HTML field & Date Time formatting in powerapps

Step-By-Step Azure AD App Registration

Approval and auto escalation with time out in Microsoft Flow

Developing custom reusable components in PowerApps

Create and configure custom connectors for PowerApps and MSFlow from AzureFunctions