Applies to:
- Winshuttle Foundation
Winshuttle Workflow 10.5-10.7 FAQ
On this page
- Where is the SAP web service control in InfoPath?
- How do I zero-pad a field in Infopath?
- How do I prevent multiple callbacks?
- Where is the error 500.24- Internal Server Error coming from?
- Why can't I run SVADM or SVSERVICE commands after installation?
- Why isn't Internet Explorer 10 displaying my forms correctly?
- After changing Alternate Access Mapping in SharePoint after installing Workflow, I get an error when I run Svadm or Svservice commands.
- Why am I getting the error -401.1 Unable to authenticate to new AAM site?
- I'm having problems with Internet Explorer 11
Where is the SAP web service control in InfoPath?
Back to topIn some instances the SAP Web Service control becomes disabled in InfoPath. This can happen when the .Net Programmability support feature in the Office suite becomes disabled. Disabling can happen when a change is triggered by a Microsoft update or patch, or the upgrade or repair of the Office suite or user edits to the configuration of the Office suite.
Note: Winshuttle Workflow 10.5 and earlier only support the 32-bit version of InfoPath 2007 and 2010.
The symptoms of a disabled SAP Web Service control are:
- When the control is added to the form, its icon is compact, and only the image is outlined without including the extra space to the right of it.
- The control properties do not appear on the SAP Web Services tab.
To ensure that the SAP Web Service control appears:
- Uninstall the InfoPath Designer.
- In Control Panel, click Add/Remove Programs.
- Scroll to the Office listing, right-click it and click Change.
The Microsoft Office Installer window appears.
- Select the Add or remove features option and click Continue.
- Expand the Microsoft InfoPath Listing to display .Net Programmability support. In the Options menu, select Run from my Computer.
- Reinstall the InfoPath Designer.
How do I zero-pad a field in Infopath?
Back to topSometimes it may be necessary to zero pad fields to get the correct upload and download results. However, InfoPath does not have an option to pad. To overcome this limitation, you can create a JavaScript to insert zeros, which you then publish with the InfoPath form. Use the instructions at the top of the following script to create your own script.
/*
* This file contains a function for padding a field with leading zeroes.
* It must be customized before it can be used, see the section below labeled:
* "BEGIN CUSTOMIZE HERE"
* For each field you want to pad there should be an 'if' block that matches
* the field name. When a match is found a call to myZeroPadField is made with the
* second parameter indicating the final length of the padded string.
*/
==ShareVisBeginScript==
function SVFormXmlNodeChanged(theXmlNode, theChangedFormElementId)
{
if (theXmlNode != null)
{
var theXPath = "//*[@SVFormElementId='" + theChangedFormElementId + "']";
var theChangedNode = theXmlNode.selectSingleNode(theXPath);
var theChangedNodeName = theChangedNode.getNodeName();
// *** BEGIN CUSTOMIZE HERE ****
if (theChangedNodeName == "my:field1")
{
myZeroPadField(theChangedNode, 10)
}
else if (theChangedNodeName == "my:field2")
{
myZeroPadField(theChangedNode, 5)
}
// *** END CUSTOMIZE HERE ****
}
}
function myZeroPad(number, length)
{
var str = '' + number;
while (str.length < length)
{
str = '0' + str;
}
return str;
}
function myZeroPadField(theXmlNode, FinalSize)
{
var theOldText = theXmlNode.getValue();
if (theOldText != "")
{
var theNewText = myZeroPad(theOldText, FinalSize);
if (theNewText != theOldText)
{
theXmlNode.setValue(theNewText);
}
}
}
==ShareVisEndScript==
How do I prevent multiple callbacks?
Back to topWinshuttle Workflow can add multiple callbacks to a file received in a queue, if the file remains in the Data Files document library, even after its callback is received from Winshuttle Server. If you use CENTRAL to move completed files to another list library but again select "Data File" as the target library, repeated callbacks occur. This is because after CENTRAL gets the autoposted file response from Winshuttle Server, it renames the file and moves it back to "Data File" library. After this, Workflow checks the status based upon the file name and posts it again.
File renaming from Workflow resolves the problem.
Where is the error 500.24- Internal Server Error coming from?
Back to topIf you receive an error message about Workflow Central Administration, try running Central Administration in Classic .NET App Pool.
- Click Start.
- Under Connections, click Workflow CENTRAL Administration.
- Under Manage Web Site, click Advanced Settings.
- Click Behavior. In the Application pool box, select Classic.NET AppPool. Click OK.
Why can't I run SVADM or SVSERVICE commands after installation?
Back to topIf you change the 'Alternate Access Mapping' in SharePoint *after* installing Workflow, you will get an error.
You must replace the 'LocalURL' key value in the SVConfiguration\Sharevis.config file with the alternate access mapping URL in SharePoint.
Why isn't Internet Explorer 10 displaying my forms correctly?
Back to topIf you have difficulty viewing a form in Internet Explorer 10 (either through the Internet or an Intranet), try using Internet Explorer 10's Compatibility View to correct the problem.
This can occur if, for example, you are using IE10 to access a 2010 SharePoint Site, or a 2013 SharePoint site with 2010 Experience enabled.
To enable Internet Explorer 10 Compatibility View
- In Internet Explorer 10, press ALT+T to open the Tools menu.
- Click Compatibility Viewin the menu (or press the V key on the keyboard) to activate Compatibility View.
You can also click the Compatibility View icon (see below) in the Internet Explorer address bar to enable/disable Compatibility View.
compatibility mode active |
compatibility mode inactive |
In addition, you can also further customize which sites you view in Compatibility View. To do this, do the following:
|
|
After changing Alternate Access Mapping in SharePoint after installing Workflow, I get an error when I run Svadm or Svservice commands.
Back to topReplace the 'LocalUrl' key value in the SVConfigurator/Sharevis.config file with the alternate access mapping URL. This change needs to be done on every machine where sharevis is installed.
- In the <drive>\Program Files\ShareVis\Bin folder, double-click the SVConfigurator.exe file to run the SVConfigurator.
- In the LocalURL field, change the URL value for the svconfigurator utility with the alternate access mapping URL.
Why am I getting the error -401.1 Unable to authenticate to new AAM site?
Back to topThis can occur after configuring local alternate access mappings in your local SharePoint workspace.
If you are unable to connect to the newly created site through the AAM (Alternate Access Mapping) URL (i.e. http://spf-nlb.wse.wsmain.local/),do the following:
Create a DWORD registry key called "DisableLoopbackCheck" with a value of "1″ in the following Registry section:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
This will allow you to create AAMs based on host names to the local server.
I'm having problems with Internet Explorer 11
Back to topInternet Explorer 11 is not fully supported at this time, and you may experience issues using it. Some known examples include:
- Unable to add a web part by clicking on "Edit Page" in formex and docex.
- Unable to add a web part by clicking on "Edit Page" in Central.