1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01038081"><META NAME="lcid" CONTENT="1033"><title>publishUrl Attribute</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><p id="ExpandAllLine" class="ExpFav"><a href="#" onclick="ExpandAll()" onkeypress="ExpandAll()" class="DropDown"><img id="picHeader" border="0" src="expandtri.gif" alt="Show All"><span id="ExpandAll">Show All</span></a></p><h1>publishUrl Attribute</h1><div class="ofvbanav"><span class="ofvbanavreuse" id="seealso" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="parentelements" onclick="toggleList()" onkeypress="toggleList()"></span></div><p>Identifies where the form was published and where the form template should download updates from.</p><h2>Type</h2><p><pre><code>xsd:string</code></pre></p><h2>Remarks</h2><p>The <b class="bterm">publishUrl</b> attribute is an optional attribute of the <b class="bterm"><a href="xsfelmxDocumentClass.htm" id="HV01021517" lcid=" ">xDocumentClass</a></b> element.</p><p>The <b class="bterm">publishUrl</b> attribute is set automatically when a form is published or deployed through the InfoPath
<a href="#" class="glossary" onclick="AppendPopup(this,'xddesignmode')" onkeypress="AppendPopup(this,'xddesignmode')">design mode</a>. When a form is opened, it will attempt to retrieve the latest updates from the published location.</p><h2><a id="#example" name="#example">Example</a></h2><p>The following is an example of the <b class="bterm">publishUrl</b> attribute as it is used in the <b class="bterm">xDocumentClass</b> element:</p><pre><code><xsf:xDocumentClass
xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition"
name="urn:microsoft-com:myTravelReport"
author="AuthorName"
description="Travel Report form for entering travel reports, issues, expenses, etc."
dataFormSolution="yes"
solutionVersion = "1.0.0.1"
productVersion="11.0.5106"
solutionFormatVersion="0.9.0.0"
<b class="bterm">publishUrl</b>="http://MyServer/InfoPathTemplates/MyTemplate.xsn">
...
</xsf:xDocumentClass></code></pre><script type="text/javascript" language="JScript" src="ofvbanl.js"></script><span id="ofVBAISpan" class="ofvbaispan"><iframe id="ofVBAIFrame" frameborder="0" marginheight="0" marginwidth="4" scrolling="auto" width="100%" src="../links/xsfatrpublishUrl_l.htm"></iframe></span><center><a href="XMLSchemaCopyright_HV01147162.htm">©2003-2004 Microsoft Corporation. All rights reserved.</a>
Permission to copy, display and distribute this document is available at: <a
href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&CTT=11&Origin=HV011232471033"
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>
|