Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When implemented in a derived class, calls logic that should run when the CreateChildControl method of a Web Part that hosts an external application runs.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public MustOverride Function OnApplicationWebPartCreateChildControls ( _
requestProperties As SPExternalApplicationRequestProperties _
) As SPExternalApplicationRequestResult
'Usage
Dim instance As SPExternalApplicationProvider
Dim requestProperties As SPExternalApplicationRequestProperties
Dim returnValue As SPExternalApplicationRequestResult
returnValue = instance.OnApplicationWebPartCreateChildControls(requestProperties)
public abstract SPExternalApplicationRequestResult OnApplicationWebPartCreateChildControls(
SPExternalApplicationRequestProperties requestProperties
)
requestProperties
Type: Microsoft.SharePoint.SPExternalApplicationRequestProperties
An object that holds information about the external application and its request token prefix.
Type: Microsoft.SharePoint.SPExternalApplicationRequestResult
An object that contains a method that will produce the only child control of the Web Part; a Literal that contains an object tag for the external application and, optionally, also contains the client hash.
For more information about the role of this method, see How to: Create a Custom External Application Provider.
SPExternalApplicationProvider class
Please sign in to use this experience.
Sign in