Applies to:
- Winshuttle Foundation
PublishNameTemplate
The Publish Name Template operation allows you to manually create and publish a Name Template to a SharePoint site. Name Templates allow you to add custom version tracking numbers to workflow-based forms and documents.
Usage
The following example publishes the name template "mocTracking Scheme" to the Sharepoint site using the administrator account:
svadm.exe –o publishnametemplate –url http://acme/sv/Chemforms -name "mocTrackingScheme" -template "[MOC][%%9999] " -seedvalue "MOC 0000" -user administrator -password 123pd -domain Acme
                                            
Options
| Name | Description | Required | 
| -domain | The domain of the user account to use when publishing. | No | 
| -name | The name of the Name Template. | Yes | 
| -nooverwrite | Do not overwrite a template of the same name. | No | 
| -overwrite | Overwrite any template of the same name. | No | 
| -password | The password of the user account to use when publishing. | No | 
| -seedvalue | The seed value for the Name Template. | Yes | 
| -template | The template definition. This parameter cannot have a space between the bracketed value templates. | Yes | 
| -url | The URL of the site to which to publish the name template. | Yes | 
| -user | The user name of the user account to use when publishing. | No | 
