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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Document attached to Infopath; will it work offline?

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :SharePoint

We have a user that has created an editing template using infopath. Part of the process involves uploading documents to the form template. It is part of an editing process they've created. The question is since the document is attached to the form what happens when SharePoint goes offline? I know you can sync the form to Outlook but if you work offline and then sync it back to SharePoint, will the changes you made to the document be recorded or just to the form itself? I hope I've explained this clearly.


I should mention were using MOSS 3.0 SharePoint 2007 server.

View Complete Post

More Related Resource Links

Workflow which is activated when infopath form created but need attached to another costing form als


I have a requirement to create an infopath form which is simple enough to create and is pretty much done.

It however has a secret which they didn't really mention in the doc or their "simple workflow requriemetns" and this is  that it goes some where for costing.

The idea of this is to automate a paper trail so I am thinking that this costing which is to be attached to this document should not simple be an upload onto the form but part of the workflow tasks.

My questions are.

If I have the follow workflow requiremetns.


1. User fill in form and submit

2. workflow then starts

3. (cost part next?) one group of people liase with accountants to ensure funding is posible and attach to form. two option I see here.

opt 1

The costing part is part of the workflow but if I do this I need the field to be read only for everyone except for a couple of groups is it possible in infopath to do this?

Opt 2

The costing is in a different library which the workflow create the new file this has it own workflow with a task to complete it and when completed workflow marks a field as complete before the main workflow will move on to next steps.

I would need to link the two forms together preferably in both directions would be nice what the best way to do this?

4 Once costing is co

Document Information Panel problem with Infopath

Hi, I have created a custom document content type that uses a specified word template deployed by a feature for a sharepoint site collection. The Content Type is defined in site collection level i have add a column also defined as a site column called "Abstract", and I added this column to my content type. Now I want to create a custom DIP using Infopath, when infopath is launched it maps all column from this content type. The problem that the "Abstract" column wich is defined as rich text and optional column is not mapped correctly Infopath show that field as a required field and can not be blank. When i added this content type to a document library and try to create a new document i have an error "Document Information Panel cannot create.. problem on the schema with Abstract field". When i try to modify the xsn file at the document library level and republish the form it works but when i do it in the site collection level it's impossible to map the field properly. Any suggestions about what might be causing this problem or how to fix it would be greatly appreciated. ABT

RichTextBox - Attached Properties, Document and CaretPosition

Hi I have created a couple of attached properties for the richtextbox control, to enable binding to the Document and CaretPosition native properties of the richtextbox. However, I am finding that, when I am programmatically updating the richtextbox document from the view model (rather than typing it into the richtextbox directly), I need to manually set the CaretPosition property of the richtextbox (see the underlined piece of code for the additional manual setting of CaretPosition) whereas the Document property appears to be updating automatically. At least when I step the code and break in on I'm concerned that I've not quite wired this together properly and would be grateful if someone could explain where I've got it wrong. The relevant  XAML is  <RichTextBox x:Name="rtb" Height="auto" Width="auto" local:RichTextBoxExtensions.CaretPosition="{Binding CaretPosition, Mode=TwoWay}" local:RichTextBoxExtensions.CurrentText="{Binding CurrentText, Mode=TwoWay}" cal:Message.Attach="[Event TextChanged] = [Action CheckForPopup]; [Event PreviewKeyUp] = [Action KeyPress($eventArgs)]"> <local:RichTextBoxExtensions.Document> <MultiBinding Converter="{StaticResource IntellisenseController}"> <Binding Path="CurrentDocument" Mode=&qu

Changing fields while updating an InfoPath Form to a SharePoint 2010 Document library

My document library has following EventReceiver: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListTemplateId="101"> <Receiver> <Name>EventReceiverDocumentLibraryItemUpdating</Name> <Type>ItemUpdating</Type> <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly> <Class>EventHandling.EventReceiverDocumentLibrary</Class> <SequenceNumber>10000</SequenceNumber> </Receiver> </Receivers> </Elements> Updating a browser enabled InfoPath form in the document library fires following event: Public Overrides Sub ItemUpdated(ByVal properties As SPItemEventProperties) Try Me.EventFiringEnabled = False properties.ListItem("Lastname") = "Testperson" properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = True properties.ListItem.SystemUpdate(False) ' solution 1 properties.ListItem.Update() ' solution 2 properties.ListItem.UpdateOverwriteVersion() ' solution 3 properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = False Me.EventFiringEnabled = True MyBase.ItemUpdated(properties) Catch ex As Exception Me.EventFiringEnabled = True E

Why sum function work fine in infopath and not in web browser

Hi,   I used the sum function in infopath, it work fine in infopath client, but the same open in web browser it not working correctly, it show the double the value. why it happen?

Multi select control does not work with Infopath. :(

I create new lookup column that allows multiple values.  The important part is the column is the Title(linked to item) so the item is shown as Hyperlink item to the actual item.  This works fine, but then I would like to fine tune my form with infopath.  When I open this form it complains about these columns, basically will not let me open the form without first deleting these lookup columns.  So I then try the other way I create a lookup column from infopath and this work fine, the only problem being is these items no longer so up as hyperlinks to the original items.  This is a major bumma, any one have any suggestions to get this working?

InfoPath list definition of type Document Library

Is there a way to create a list definition that is a document Library and deploy to SharePoint 2010 that is based on a InfoPath form?  Meaning that it will deploy and if I select the "add new item" link it will automatically open a new InfoPath form that a user can submit?  I have the infopath forms created already but I need a way to create the form library through visual studio so I can promote through our test and production environment and have it automatically and deploy to the different environments and create the proper list structure. 

How can I get search to work for a Custom Document Library with a few third-party field types?

Hi, Using WSS 3.0 with SQL Server 2008 for Workgroups I have created a Custom Document Library (2,462 files - copied from folder into Explorer view and then renamed using Batch Update in web services i.e. "BaseName" field) - basically it uses three fields that are of "Filtered Lookup" (a field type from a third party). The document library is included in the search (i.e. Advanced Settings), but it displays none of the files - bascially not included in search at all with all testing I have done. I created a new Document Library called "Test" and uploaded a document and it is included in the search. Is there any way I can debug this. Is there a log file? Is there something in the Search Database that might help? Your help would be really appreciated as this is my last issue - and its soooo important to the deliverable. Thanks. John.

Where will Documents attached in infopath gets saved

I am using a form library, in which i am storing all my infopath forms. In the infopath form I am attaching many word documents. My questions are 1) where do these forms gets stored ? 2) Are these documents searchable ?

InfoPath / ActiveX error when using person selector field in Word template off SharePoint document l

I have created an out-of-the-box document library on a SharePoint 2010 site.  I left Microsoft Word Document selected as the Document Template.  I then added a person or group column and a multiple lines of text column to the document library. I then went into Library Settings --> Advanced Settings and clicked on Edit Template, opening the template in Word.  I created my template and added the two new columns to the document.  I did this using the Quick Parts --> Document Property --> [column name] feature under the Insert tab in Word.  I then saved the template back to SharePoint. Upon opening the template or creating a new document from the template, I get the following dialog box: --------------------------- Microsoft Office InfoPath --------------------------- One or more ActiveX controls could not be displayed because either: 1) Your current security settings prohibit running ActiveX controls on this page, or 2) You have blocked a publisher of one of the controls. As a result, the page might not display correctly. --------------------------- OK   --------------------------- I've searched around (I believe fairly extensively) and have not run into anyone else with the same issue.  Some have mentioned a similar error when creating a custom document information panel in InfoPath, and suggested lowered ActiveX security setti

Can I just have a button to work offline?


Hi, I have Microsoft Visual C# 2008 express Eddition and I was wondering if there is a code (that go's in Form1.cs) that makes it so on the webbrowser that I am building can work offline a the click of a button, I tried experimenting with different codes but I got no where.

I had a feeling this code would work:



void workOflineToolStripMenuItem_Click(object sender, EventArgs e)






But it didnt...

If you know, please tell me how or if you ca

How to Set System.Windows.Controls.WebBrowser.Document Property , navigatetostring,stream DONT WORK


Hi , i search in google , bing , cuil and all of searchs provider for the solution of this problem :


I get HTML content from HTTPWebRequest(because is much requests and if i use WebBrowser control directly i get a lag and video processing unnecessary)


And i need  set System.Windows.Controls.WebBrowser.Document with this text.


"Solution" , use new methods call NavigateToString() or NavigateToStream()

BUT THIS PROBLEM , both DON'T work with <javascript src="something.js"> or <style src="something.css">

Navigates ONLY read and process content INSIDE this tags , no external files (like 'something.js')

Solution i encountred after two weeks of search

Process the text and replace the files by the content of that.

But this i think that is no real solution. (i tested , work , but not perfectly) * I write my own code because that post dont have source code.

for why you need to do that?

because i need interact with users after search , and use html's input to re-search again and process this file with all extern files is too slow

Any solutions?

C# Lenguage

Sorry for bad english, i'am brazilian.


InfoPath 2007 Form Content Type does not save as infopath form but as xml document.


I have a couple of infopath forms deployed to sharepoint as content types. Normally, when a user creates a new document of an infopath content type, the form opens in browser mode and ,when the user fills in the form and saves the form, a new document is created in the document library with the correct icon and progid.

This was before... Now, whenever I save a form, the form submits correctly, i see the file in de document library, BUT it has the icon of an XML document, all the infopath functionality is gone and when I click the file, I get a save as dialog...

The form itself hasn't changed that much and even when I redeploy a version that worked before it still does not work. However, when I create a new doc lib and associate the malfunctioning form there, the behavior is normal and i can still reopen the saved form.


Little sidenote: I have 7 different forms that now do not work on my test machine. It used to be only one, but after redeploying them, all of them have the same problem. Now when I deployed these forms in a production environement, the same thing started happening there. So I stopped the deployment and in production there is just the newly deployed form that does not work.

I have already tried reassociating the form to the doc lib. And everything looks normal in central administration.

Any suggestions?


Error when trying to open an InfoPath document launched from IE 8.0 64-bit edition?


I've come across something very strange, I'm running SharePoint 2007 enterprise edition, in one of my sites I have a form library with an InfoPath form template associated with it.  When clicking the "New" button from the form library I get the following Internet Explorer popup error:

"This feature requires Microsoft Internet Explorer 6.0 or later and a Windows SharePoint Services-compatible XML editor such as Microsoft Office InfoPath."

I have internet explorer 8.0 and InfoPath 2003 installed. 

Here's the odd part, when I try to open the form with IE 32 bit edition it works fine, this error is only occuring when I use the 64 bit edition.  Any idea why?

Editing SharePoint forms in Word Document with InfoPath



I have a SharePoint library on a MOSS 2007 server with six metadata columns. When a document is saved, a workflow populates five of those columns. However, when a document is open, the user can see all six of those columns (when they only need to enter data into one). I figured out how to edit the form that appears in Microsoft word using Infopath. However, I don't know how to get rid of the fields I don't want users to see. If I delete those fields in the form, the workflow gives an error.

Does anyone know of a good resource that explains editing these forms that show up in a document using Infopath?



Why my checkbox override does not work ? ( code attached )


I try to create 3 state button. This control will will change the image on each of those 3 state ( normal, pressed, mouseOver ). The images of each state will be define as a property from the c# code ==> that mean i will be able to re-use this code and change the properties of the image source.


<CheckBox x:Class="StateButton.StateCheckBox" 

Work with Html Document


I am using MVC 2.0 and I need work Html Document from c# code (Controller). I found http://sobot-software.blogspot.com/2009/02/aspnet-parse-html-string-htmldocument.html this. But couldn't find WebBrowser and HtmlDocument classes.

How can i work Html Document (same DomDocument in php).

Thanks for any help & idea .

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