I have upgrade LF Forms to 9.1 and ensured my configuration is correct. The issue is when I sumbit a form no template is assigned when it is sent to the repository. Am I missing something? I did not see anything in the documentation about this changing.
Question
Question
Upgraded Forms 9.1 - does not apply Forms Submittion template when sending to the repository.
Answers
Hi Jessica,
Please check the following three places:
1. FormsConfig site, Save to Repository Username, Password, Root folder is set correctly.
2. Laserfiche Forms\Forms\bin\SaveToLFConfiguration.xml is set correctly.
3. Business Process -> Publish -> Save to Laserfiche is checked
Replies
You might be missing some business process fields that Forms 9.1 requires internally. You can verify that by going into Event Viewer of the Forms server and see for any messages regarding missing field.
Other issue, which is less likely, has to do with Forms user not having enough access rights to the fields or templates.
Hope this helps.
First let me clarify, Forms 9.0 work with no issue. Once I upgraded to 9.1 I found that the documents stored into the repository no longer had the template assigned.
I found Laserfiche Forms\Forms\bin\SaveToLFConfiguration.xml had no values. I had never made a change to this file, so I will make the assumption that either this file had no values before the upgrade or that the upgrade cleared the data in the file. Either way when I insert my template name into the correct location it corrected the issue. Before I move forward with upgrading my customers I'd like to know if this is typical behavior for the upgrade or is this just unique to my system. Any ideas?
This is great, I can plan ahead and ensure I back up a copy before I upgrade my customers, Thanks!
Got the same issue and cannot make it work and I have forms version 9.1.1
Any ideas how to fix this issue.
Are you using the "Save to Laserfiche" option under the "Publish" tab or are you using the "Save to Repository" service task in the business process modeler?
I am using it in the business process modeler to send the forms in laserfiche as a document with a Template and metadata attached to it.
but the file when saves in laserfiche, does not have Template and metadada
Can you confirm that under the "Publish" tab that you are not also using the "Save to Laserfiche" option as that could create a conflict.
If that isn't the case, then please check the application event log on the Forms server to see if any errors are reported relating to the setting of the metadata for the forms submission.
the check box is not enable so I do not use it in the publish tab
Did you see anything reported in the application event log on the Forms server? Maybe you're running into the issue described in KB 1013481.
Well I just try it again, If I do it directly on the forms server, it works but if I try to fill the forms from another pc throught the Forms web site I got the issue and in the event viewer I have 3 error line
first event viewer error
Log Name: Application
Source: Laserfiche Forms
Date: 6/19/2014 4:43:41 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GammaHV.cedres.canadianhelicopters.ca
Description:
6/19/2014 4:43:41 PM | Session: nb3qaofvzlvja0hkq3tfwfcr
User: FormsUser
URL: /Forms/form/autopopulate?formId=22
Message: The parameters dictionary contains a null entry for parameter 'storeNum' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ContentResult AutoPopulate(Int32, System.String, Int32)' in 'E_Forms.Controllers.FormController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters
Stack trace: at System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Laserfiche Forms" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-19T20:43:41.000000000Z" />
<EventRecordID>2687</EventRecordID>
<Channel>Application</Channel>
<Computer>GammaHV.cedres.canadianhelicopters.ca</Computer>
<Security />
</System>
<EventData>
<Data>6/19/2014 4:43:41 PM | Session: nb3qaofvzlvja0hkq3tfwfcr
User: FormsUser
URL: /Forms/form/autopopulate?formId=22
Message: The parameters dictionary contains a null entry for parameter 'storeNum' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ContentResult AutoPopulate(Int32, System.String, Int32)' in 'E_Forms.Controllers.FormController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters
Stack trace: at System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
</Data>
</EventData>
</Event>
second one
Log Name: Application
Source: Laserfiche Forms
Date: 6/19/2014 4:43:41 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GammaHV.cedres.canadianhelicopters.ca
Description:
6/19/2014 4:43:41 PM | Session: nb3qaofvzlvja0hkq3tfwfcr
User: FormsUser
URL: /Forms/form/autopopulate?formId=22
Message: Laserfiche Forms encountered an internal error. Please try again.
Stack trace:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Laserfiche Forms" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-19T20:43:41.000000000Z" />
<EventRecordID>2688</EventRecordID>
<Channel>Application</Channel>
<Computer>GammaHV.cedres.canadianhelicopters.ca</Computer>
<Security />
</System>
<EventData>
<Data>6/19/2014 4:43:41 PM | Session: nb3qaofvzlvja0hkq3tfwfcr
User: FormsUser
URL: /Forms/form/autopopulate?formId=22
Message: Laserfiche Forms encountered an internal error. Please try again.
Stack trace:
</Data>
</EventData>
</Event>
and finally get this one
Log Name: Application
Source: Laserfiche Forms Routing Service
Date: 6/19/2014 4:44:00 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GammaHV.cedres.canadianhelicopters.ca
Description:
6/19/2014 8:44:00 PM
Bad field value ('PO Number'): Another operation on which this operation depends failed. [9054]
Bad field value ('PO Document Type'): Another operation on which this operation depends failed. [9054]
Bad field value ('Supplier Name'): Another operation on which this operation depends failed. [9054]
Bad field value ('Date'): Bad field value. [9017]
Bad field value ('Approbation'): Another operation on which this operation depends failed. [9054]
Message: Multistatus response. [9039]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
Bad field value. [9017]
Another operation on which this operation depends failed. [9054]
Stack trace: at Laserfiche.RepositoryAccess.EntryInfo.Save()
at Laserfiche.Forms.CommonUtils.LFHelper.SetValueToTemplateField(EntryInfo lfDoc, String template, FieldValueCollection fvs)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Laserfiche Forms Routing Service" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-19T20:44:00.000000000Z" />
<EventRecordID>2689</EventRecordID>
<Channel>Application</Channel>
<Computer>GammaHV.cedres.canadianhelicopters.ca</Computer>
<Security />
</System>
<EventData>
<Data>6/19/2014 8:44:00 PM
Bad field value ('PO Number'): Another operation on which this operation depends failed. [9054]
Bad field value ('PO Document Type'): Another operation on which this operation depends failed. [9054]
Bad field value ('Supplier Name'): Another operation on which this operation depends failed. [9054]
Bad field value ('Date'): Bad field value. [9017]
Bad field value ('Approbation'): Another operation on which this operation depends failed. [9054]
Message: Multistatus response. [9039]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
Bad field value. [9017]
Another operation on which this operation depends failed. [9054]
Stack trace: at Laserfiche.RepositoryAccess.EntryInfo.Save()
at Laserfiche.Forms.CommonUtils.LFHelper.SetValueToTemplateField(EntryInfo lfDoc, String template, FieldValueCollection fvs)
</Data>
</EventData>
</Event>
It's reporting a problem with the Date field. What date format is used when submitting the form from the server? What date format is used from the other PC? Is there a difference, i.e. MDY vs DMY, etc? What if you try a generic date such as 1/1/2014?
Well it should not matter a date is a date ?
I format is on the forms to display yyyy-MM-dd (well cannot customize it , choice from forms date format)
Date from pc to other pc in the background should not matter because it should be the whole date.
I will get a try to use the same regional setting for date and time if it works
I just tried it and I set the reginal setting to all usa and the shortdate to yyyy-MM-dd
and got the same issue
Rene,
Please open a support case as it will be easier to troubleshoot this issue rather than going back and forth in this Answers thread.
Regards
Date format in the Save To Repository is following the RoutingEngineServiceHost.exe.config (located under Forms\bin folder)
<add key="IgnoreBrowserLanguage" value="true" />
<add key="DefaultDateFormat" value="MM/dd/yyyy" />
Great Information , presently I did a workaround , in place to grab the date in forms, I do it with Workflow.
But I will try your information for sure
thanks