<rule name="Opening MS Word Documents">
<conditions>
<field name="config.connector_type@connector" value="sharepoint" multiMode="any">
<field name="SDKHit.Metadata@conv_appname" pattern="^(Microsoft (Office)? ?Word)$" multiMode="any"/>
</field>
</conditions>
<actions>
<replace field="SDKHit.Link@Open" multiMode="all" create="true">
<set condition="empty">
<field name="SDKHit.Link@Open" multimodefield="first"/>
<format>
<replace pattern="^(Link\(Open\):)">
<text>
<![CDATA[Link(Open):ms-word:ofe|u|]]>
</text>
</replace>
</format>
</set>
<exit condition="empty" process="false"/>
</replace>
</actions>
</rule>
<rule name="Opening MS Excel Documents">
<conditions>
<field name="config.connector_type@connector" value="sharepoint" multiMode="any">
<field name="SDKHit.Metadata@conv_appname" pattern="^(Microsoft (Office)? ?Excel)$" multiMode="any"/>
</field>
</conditions>
<actions>
<replace field="SDKHit.Link@Open" multiMode="all" create="true">
<set condition="empty">
<field name="SDKHit.Link@Open" multimodefield="first"/>
<format>
<replace pattern="^(Link\(Open\):)">
<text>
<![CDATA[Link(Open):ms-excel:ofe|u|]]>
</text>
</replace>
</format>
</set>
<exit condition="empty" process="false"/>
</replace>
</actions>
</rule>
<rule name="Opening MS PowerPoint Documents">
<conditions>
<field name="config.connector_type@connector" value="sharepoint" multiMode="any">
<field name="SDKHit.Metadata@conv_appname" pattern="^(Microsoft (Office)? ?PowerPoint)$" multiMode="any"/>
</field>
</conditions>
<actions>
<replace field="SDKHit.Link@Open" multiMode="all" create="true">
<set condition="empty">
<field name="SDKHit.Link@Open" multimodefield="first"/>
<format>
<replace pattern="^(Link\(Open\):)">
<text>
<![CDATA[Link(Open):ms-powerpoint:ofe|u|]]>
</text>
</replace>
</format>
</set>
<exit condition="empty" process="false"/>
</replace>
</actions>
</rule> |