.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

File upload in infopath form put in xmlformview webpart MOSS2007

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint
 

Hi all,

Is there any workaround involed in the infopath form when it has file upload control in it.

This is called in the  xmlformview webpart of an aspx page. While submitting the form the file upload diesn't happen.

And I'm using Infopath 2007 and MOSS 2007.

Any solution for this ?

Thanks in advance

Gomathi


sharepoint development


View Complete Post


More Related Resource Links

Insert image into Infopath form and save to SharePoint as PDF file

  

I have an InfoPath web-enabled form in MOSS 2007, that is integrated with a K2 blackpoint process for an approval workflow.

Once the form (a Purchase Order request form) has been approved in the K2 workflow process, I switch the form view to a "print-friendly" view for the requestor to view from the browser.  However, now I need to go one step further with this scenario:

1) I need to somehow insert/embed an image with the scanned-in signature of the approver (likely stored in a SP doc library) at the signature line section of my form.  Also, what are the security requirements for storing such images, but not granting all users access to these (e.g. only services accounts that need to access this for embedding into the form, etc.)?

2) Then I need to convert this final "print-friendly" view of the form (with the signature image) to a PDF document so that I can store it in SharePoint (and email it to the requestor using K2's email event capabilities).

Can anyone help me with a solution to both of these requirement, or point me to some resources for this (even 3rd party components are open-game).

thanks!


--Thiago

Attachment upload error on browser based InfoPath form

  

Hello,

I am having an interesting problem with browser based InfoPath forms in SharePoint 2007.  For some reason the file attachment control is not working any more.  It was working fine in July, but now it will not allow file attachments over a few kb.  I tried a 34KB file and I get the error below, a 2KB file works fine.

Unable to connect to SQL Server session database. The connection string (server='SPDB', database='SharedServices1_DB') was returned by an instance of the IPartitionResolver type 'Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.   at System.Web.SessionState.SqlSessionStateStore.ThrowSqlConnectionException(SqlConnection conn, Exception e)
   at System.Web.SessionState.SqlSessionStateStore.HandleInsertException(SqlConnection conn, Exception e, Boolean newItem, String id)
   at System.Web.SessionState.SqlSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)
   at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
   at System.Web.HttpApplication.SyncEven

display icon or colum for inserted file in infopath form

  
i have a list with infopath form and in this form i have insert file now i need naythin in the view say there is attached or insert file in this record like the icon for attachment or column display file name or his path ,somthink can i know in this record there is attachmentThanks for any help :) my blog is: http://www.waelk.com

Problem to open infopath form : The file cannot be opened because it is not a valid InfoPath form

  
Hi i have a winform app which host of infopath forms. form templates and data stores in database and when user want to open/edit an existing infopath form data, it must be extract from database, save on disk and then open it to display it in formControl. my problem is that when i open form data, after it has been extracted on disk, i got this error : InfoPath cannot open the following file: C:\Users\Hamed\Documents\Visual Studio 2008\Projects\InfopathFormTest2\InfopathFormTest2\bin\Debug\d00d73e8-cf5c-4b12-b9a6-591c4ade83aa.xml. The file cannot be opened because it is not a valid InfoPath form.  The processing instruction in the file is missing or invalid. here is my code : this._fullPath = System.IO.Path.Combine(Application.StartupPath, this._dataRow.FormID.ToString() + ".xml"); this._templatePath = System.IO.Path.Combine(Application.StartupPath, this._templateRow.TemplateID.ToString() + ".xsn");if (HelperClass.ExtractToDisc(_fullPath, ASCIIEncoding.Unicode.GetBytes(this._dataRow.FormContent))) { this.formControl1.Open(_fullPath); this.txtFormName.Text = this._dataRow.FormName; } where is my problem and how to solve this ? thanks in advancehttp://www.codeproject.com/KB/codegen/DatabaseHelper.aspx

There has been an error while loading the form - The following file is not a valid InfoPath form tem

  

Hi,

We’re experiencing quite an odd issue with opening forms within a SharePoint form library. These are the symptoms;

We recently published a newer version of an InfoPath form, and have since received some feedback that the form no longer opens in the “View Properties” view of SharePoint.

Rather interesting though, within the standard view all form instances can be opened with no problem.

The reason this has to work within the “View Properties” view of SharePoint is because we have a workflow that is sent, with a link to this particular page.

This is the error message that is displayed;

Standard;

There has been an error while

upload images to a picture library from infopath form

  

Hi 

   I am having an infopath form, from where i need to upload images to picture library . 


Converting an Infopath form to a doc or pdf, attaching that file to an email that is then sent to an

  

Hi, we are looking to have internal users submit a browser based Infopath form hosted on our internal Sharepoint 2010 portal, have that submission start a workflow that converts the form to a .doc or .pdf, attaches the converted form to an email and then sends the email to different external addresses depending on the value of 1 field in the form.  Is this possible?

We are running Sharepoint 2010 Enterprise and I have Infopath 2010 and Sharepoint Designer 2010.  Thank you in advance for any help!

AK


error while openning infopath file + "The Form has been closed."

  

Hi,

I have restored the "Infopath" library from production to staging server

and when i tried to open the InfoPath form template(i.e TestFile.xsn file), but i am getting below error "The Form has been closed."

Actaully when i saw the log in 12\log folder, the error is given below

"10/07/2010 06:20:59.47  w3wp.exe (0x1A10)                        0x1740 Forms Server                   Forms Services Runtime         8ged Medium   MetaInformationByUrl:CrossSite check failed for site URL=http://mysitestaging/teamsites and file URL=: http://mysite/teamsite/formservertemplates/research%20request.xsn "

Please help me to solve this issue


Infopath 2007 form error - Selected file is too large

  

We are using Inforpath form to capture some metadata along with couple of file attachments. We implemented that and its working fine

When we tested by trying to upload file more than 5 MB we got the following error

"The selected file is too large and is causing the form to exceed the amount of allowable resources. Select Another File"

During its analysis we found that this can be resolved by changing one of the "Infopath forms service " configuration named "Maximum size of form session state".

Is there any issue (like performance issues) in increasing this limit to allow us to upload the large attachment

 

In other words

In the Maximum size of form session state text box, type the maximum session state size in kilobytes. Form-filling sessions that exceed this value will terminate, an error message will be generated, and all form data entered during the session will be lost. The default value is 4096 kilobytes.

If I make this value to 10240 kilobytes (10 MB) ; will this cause any performance issues ??


Infopath form with Totals connected to a graph webpart?

  

I have a form with two fields labeled "Total" which are filled with the sum of other fields. I would like to represent the totals in the graph webpart in a way the lower the number the better. I would like the bar to kind of transition from Red to Green as the number goes down. I connected the webpart to the field in my form but I am not sure what other parameters I need to represent what I want in the chart. Can anyone assist with this?

What I am trying to do is make a dashboard for people when they login the main page will have this webpart avaible to the group they belong to. As I get this working I would like to introduce other data to be presented to the employee.

 

Infopath 2010 and SP2010


asp.net mvc2 upload file with jquery.form.js

  

developing website with  vs2010, asp.net4.0 , mvc2 ,jquery version 1.4.2.  I want to upload files with ajax, but the jquery scripts don't working. my code:

view:

 
    <script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-1.4.2-vsdoc.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-1.4.2.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.form.js" type="text/javascript"></script>

<form id="filePost" action="/Examination/Upload?examNo=<%:Model.ExamNo%>&medicalNo=<%:Model.MedicalNo%>"  method="post" enctype="multipart/form-data">
    <input type="file" name="FileUpload1" id="upFile" />
    <input type="submit" id="upload" value="upload" />
</form> 

<div id="Details"></div>

<script lan

Asp.net Mvc upload file with jquery.form.js

  

developing website with  vs2010, asp.net4.0 , mvc2 ,jquery version 1.4.2.  I want to upload files with ajax, but the jquery scripts don't working. my code:

view:

 
    <script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-1.4.2-vsdoc.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-1.4.2.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.form.js" type="text/javascript"></script>

<form id="filePost" action="/Examination/Upload?examNo=<%:Model.ExamNo%>&medicalNo=<%:Model.MedicalNo%>"  method="post" enctype="multipart/form-data">
    <input type="file" name="FileUpload1" id="upFile" />
    <input type="submit" id="upload" value="upload" />
</form> 

<div id="Details"></div>

<script lan

upload multiple files from a single upload button i infopath form

  

Hi all

        My Infopath form contains an image upload button . Is it possible to upload multiple files at a time from the same upload button.

 

thnxs

shabadh 


file attachment control on infopath 2010 browser form, validating event not fired

  

If preview within InfoPath 2010, the validating event is fired. But After deploying the form to SharePoint 2010, the validating event does not fire.

Any ideas?

Thanks.


Blog: http://convergingpoint.blogspot.com/

InfoPath form submission error: You do not have permission to create a file in this location.

  

I have created an InfoPath 2007 form and published it to a SharePoint 2007 site. We use active directory authentication. The library has contribute rights for all authenticated users. The site itself has restricted read for all authenticated users (so they don't see the site actions button). An employee can open the form (locally in InfoPath), but when they click submit the authentication window pops up. Putting in credentials does nothing. Clicking cancel gives this error:

 

InfoPath cannot submit the form.
Some rules were not applied.
An error occurred while the form was being submitted.
The form cannot be submitted to the following location: ....... (path to library)
You do not have permission to create a file in this location.

Does anyone have a solution to this issue?

Thanks,
Deborah


adding input file (upload) with animation but it's not being transferred with form

  

Hello , I am having an iframe inside a page , in the iframe i am having an image and on that image am adding a new upload file , but the problem is that the file chosen from the browse button isnt being sent with the form , this is the animation function n this is my code

(function ($) {
    var defaults = {
        rowSpeed: 1000,
        newRow: null,
        addTop: true,
        removeTop: true

Not able to publish an infopath 2010 Web browser form mode, Invalid form template, .xsf file not ref

  

Hi, i am migrating a infopath 2007 form from a sharepoint 2007 site to infopath 2010 form for a sharepoint 2010 site. I used the design checker to verify the form template ,I got a invalid form template error. So I went to the Resource files tab under the developer section. I edited the context.xml to my current site. After this,the design checker gave no errors.

But when i tried to preview this form, I got an erro saying

"The form template contains files that are not referenced in the form definition (.xsf) file or are referenced more than once."

Can anybody tell me where I went wrong?


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend