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


Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid
Post New Web Links

SharePoint infopath item url in document library

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

I am in big problem which is very simple I believe for you. Hope someone will help me out.

I have a site in 3 environments. DEV, Staging, Production. I have a document library which has the infopath form template enabled in it and user has 3 infopath tempaltes in new button of library toolbar. User selects the template and save the infopath to the document library. A workflow is added on the library when a new item is added and it will trigger and fired on the item.

In the workflow I am writing some description and infopath url in it. In staging when I check the url, it is sending as below:

http://sharepoint/praveen/PHX10-SC130/_layouts/FormServer.aspx?XmlLocation=/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml&OpenIn=browser

The above is the format I actually needed to open infopath form in browser instead of client application.

But, when I check for the url in the mail from any other environment like dev or production, it is sending as below:

http://sharepointsite.com/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml

But, this is opening the item sometimes in Infopath client and some times it is prompting for open, save and save as option in browser.

All environments are having the same site and configuration. I have check


View Complete Post


More Related Resource Links

SharePoint infopath item url in document library

  

I am in big problem which is very simple I believe for you. Hope someone will help me out.

I have a site in 3 environments. DEV, Staging, Production. I have a document library which has the infopath form template enabled in it and user has 3 infopath tempaltes in new button of library toolbar. User selects the template and save the infopath to the document library. A workflow is added on the library when a new item is added and it will trigger and fired on the item.

In the workflow I am writing some description and infopath url in it. In staging when I check the url, it is sending as below:

http://sharepoint/praveen/PHX10-SC130/_layouts/FormServer.aspx?XmlLocation=/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml&OpenIn=browser

The above is the format I actually needed to open infopath form in browser instead of client application.

But, when I check for the url in the mail from any other environment like dev or production, it is sending as below:

http://sharepointsite.com/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml

But, this is opening the item sometimes in Infopath client and some times it is prompting for open, save and save as option in browser.

All environments are having the same site and configuration. I have check

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

Compare InfoPath Form Field to Document Library list in SharePoint

  

I have an infopath form that has a field that matches values in a SharePoint List. In the SharePoint List I have two fields, One is email and the other is the field I am trying to match on. When the form is submitted I want to take that field from the form and compare it to the SharePoint list and return the email that is associated with that list item. Can this be done?? I appreciate any assistance. Thank you.


How to get item of document library from sharepoint site

  

Hi,

How to get item of document library from sharepoint site using C# without using microsoft.sharepoint.dll.

If we have to use microsoft.sharepoint.dll then how can i get that dll as I don't have sharepoint server, My application is based on WPF and C# only. 

Kindly reply me ASAP.


"New Document" button not appearing in Sharepoint InfoPath form library

  

I have a sharepoint 2007 site that is accessed via 2 different urls.

  • http://inside network URL
  • https://outside network URL

When I browse the outside url and navigate to the InfoPath form library I created, I don't see the "New Document" button. If I browse to the same library using the Internal URL, the button appears as expected. what do I need to do to get the button to display?

I thought it might be a permissions issue because users need "contribute" in order to create a "New" instance of the form. I checked the permissions from the outside URL and everything seems correct.  

Externally, the site uses an ISA server and Forms Authentication to authenticate visitors via https, Windows server 2008 and the Sharepoint Moss 2007 backend.

Mike

 





Upload a File to a SharePoint Document Library - Part I

  
The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

Can I open the "new" menu in a SharePoint Document Library using Dragon NaturallySpeaking?

  

When a user, who uses Dragon NaturallySpeaking, says "new" when viewing a Document Library the default content type is selected and the associated application (e.g. Microsoft Word) is launched. This scenario is okay for Content Type selection since the Microsoft Office applications will prompt for the metadata once the file is saved.

If the user needs to create new folders in the Document Library however they need to expand the "new" dropdown menu.

What is the best way for someone using Dragon NaturallySpeaking to expand the "new" menu for a Document Library in SharePoint?


File Attachments from info-path forms to Sharepoint document library

  

Hi Experts,

How to upload file attachements from info-path forms to Sharepoint document library?

I need to add attachement from local-PC/Any User to Sharepoint Document Library.

 

Any help please?? Appreciated

 

Regards,

Kumar


Infopath Brower enabled form not visible in the sharepoint library after being submitted

  
Hi, I have created a infopath browser enabled form to submit to a sharepoint form library, however the submitted forms are not visible in the sharepoint link structure.   I'm able to see them in the SPD structure.  I'm using infopath 2007 and MOSS. I actually created a SPD workflow which retrieves specific values from the submitted form and saves it to another sharepoint list. This works fine even if the forms are not visible. Appreciate any help. Thanks

InfoPath Form not showing up in Sharepoint Form Library

  
I have set up a template form setup that users can fill out and then by pressing the submit button sends an email.My current issue is, when I publish the form to sharepoint, I don't see it, I have sharepoint set to view all documents and I still don't see it.  I can get to the form by clicking the "view my form in browser" pop up after I'm done publishing it.  I would like the users to just be able to click on a link in the library, but I can't find where it was published.Any insight on this would be great thanks.

Sharepoint Workflow To Shoot Email Only When Folder Is Created In Document Library

  
Hi, Can anyone help me with the below issue, I am facing this from so long and didn’t figure out solution yet for the same. :( I want to send an email through SharePoint designer workflow only when a folder is created in document library (not file uploaded/updated event). Please provide me solution about how I can achieve this through SharePoint designer as don’t have enough coding acquaintance.

Cannot add SQL Server 2008 R2 Report items to SharePoint Server 2010 document library

  
Using account which is the primary parent site administrator, can upload RDS and RDL files to the document library (however, cannot open report). User is also a domain admin with SA on the database instances. Cannot add Report Data Source with "New Document" icon. The permissions granted to user '[domain]\[user]' are insufficient for performing this operation. Under "Site Settings", "Managed Shared Schedules" fails with same error. Attempting to deploy from BIDS results in the same permissions error. Sharepoint Server 2010, Report Server 2008 R2. RS and SP databases hosted on remote server (SQL Server 2008 R2). All connections (SharePoint services, RS services, users) except SQLAgent authenticating to remote SQL Server with Kerberos (all SPNs look correct). Single site, site collection "/". Document directory called "Reports". Windows Integrated Security (Negotiate). How would I troubleshoot/solve problem?

Sharepoint Document library

  
hi we can open excel in web browser itself... similarly can we do word files?   Thanks _____________   arWINdh  

Can't save SQL Server Management Studio sql file back into Sharepoint Document Library

  
I created an sql query file in SQL Server Management Studio and saved it onto my hard drive.  I then moved that file into a Sharepoint Document Library so others on my team could use that query.I opened the file from within sharepoint, it launched SSMS.I made a change to the file and pressed save.here is the error message that comes up."The operation could not be completed.  The process cannot access the file because it is being used by another process"Am I doing something wrong?

Upload documents to Sharepoint 2010 Document library

  
Is there a way to upload documents to an SP 2010 document library with Custom Actions or Workflows?  I have a requirement of taking the contents of several directories (older data files) and uploading them to Sharepoint.  Not sure which actions actually perform this operation.  Any help most greatly appreciated.

Converting Word Documents library to PDF document library in SharePoint Server 2007

  
My project requires me to create an event reciever such that when a word file is added to one library the same content pdf file should be added to other library also when a word file is updated,edited or checked in the respective pdf file in other document library should be replaced by a new pdf file with the edited word content . Can we do this in Sharepoint 2007 I have seen this can be done in Sharepoint 2010 http://msdn.microsoft.com/en-us/library/ff181518.aspx

Creating a new document in Document Library from custom menu item (in the ECB)

  
Hello! I created a custom menu item in the ECB for a document library. I'd like for this to create a new document from this menu item. Additionally, I'd like to create a workflow where the Title of the document from which the menu action originates is inserted into a custom textfield in the new document that is created. Is this possible using SharePoint Designer?
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