Compartilhar via


sharepointRequestHandlerUrl (External Application)

Applies to: SharePoint Foundation 2010

Specifies the relative URL, which must be located in the same domain as the applicationUrl (External Application), of a Web service that in turn forwards the external application’s requests to the Microsoft SharePoint Foundation front-end Web server.

applicationParts (External Application)
  applicationPart (External Application)
    metaData (External Application)
      sharepointRequestHandlerUrl (External Application)

<sharepointRequestHandlerUrl>/sp.ashx</sharepointRequestHandlerUrl>

String

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

metaData

Identifying data about the external application and the user account under which it logs on to the Web site.

Text Value

A relative URL, located in the same domain as the applicationUrl (External Application) as a string.

Remarks

The <sharepointRequestHandlerUrl> element is optional but if used, there can only be one.

Example

The following markup shows this element in use.

<?xml version='1.0' encoding='utf-16'?>
<applicationParts xmlns='https://schemas.microsoft.com/sharepoint/2009/fluidapp'>
  <applicationPart>
    <metaData>
      <applicationId>00000000-0000-0000-0000-000000000000</applicationId>
      <applicationUrl>https://www.contoso.com/someapplication.xap</applicationUrl>
      <principal>domain\username</principal>
      <sharepointRequestHandlerUrl>/sp.ashx</sharepointRequestHandlerUrl>
    </metaData>
    <data>
      <webPartProperties>
        <property name='Title'>Title</property>
        <property name='Description'>Description</property>
        <property name='WindowlessMode'>TRUE</property>
        <property name='Height'>200px</property>
        <property name='Width'>100px</property>
        <property name='HelpUrl'>https://www.contoso.com/someapplication/help.aspx</property>
        <property name='HelpMode'>Modal</property>
        <property name='Direction'>NotSet</property>
        <property name='MinRuntimeVersion'>3.0</property>
      </webPartProperties>
      <customProperties>
        <property name='CustomPropertyName'>CustomPropertyInfo</property>
      </customProperties>
    </data>
  </applicationPart>
</applicationParts>

Element Information

Namespace

https://schemas.microsoft.com/sharepoint/2009/fluidapp

Schema Name

FluidAppSettings

Validation File

Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\FluidApplicationSettings.xsd

Can be Empty

No