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


Top 5 Contributors of the Month
Melody Anderson
Sharad
Post New Web Links

InfoPath Filler - Hyperlink via datasource issue - always reverting to http://address/

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

Hi,

I am trying to design an InfoPath Filler 2010 form (form based on a SharePoint List) and I want to create a dynamic URL based on another field in the form.

When I place an image on the form and create the hyperlink from it, I get the option to choose a data source.

I do this, but as soon as I click ok and publish the form, the formula is lost and it defaults to http://address/

Has anybody else experienced this? and if so, did you find a workaround to create a dynamic URL?

Kind Regards

Giles


Giles Hamson MCTS, MCITP SharePoint 2010 | Blog: http://ghamson.wordpress.com | Twitter: @ghamson


View Complete Post


More Related Resource Links

Infopath 2010 Browser Based Form Vs Infopath 2010 Filler Based Form Issue

  
I have created a detailed infopath form that is connecting to multiple sharepoint lists, some of which contain thousands of rows and dozens of columns.  To tailor for the data load i have enabled the form to only pull in data as needed and on some of the lists i have created 5 or 6 data connections to the same list, each only looking at a certain set of data, and as you make your way through the form selecting your options, the data is pulled in. If i preview this form from within Infopath or if i launch it using Infopath filler this works great, the data is pulled through in under a second.  However if i then publish the form to the browser and launch it through the browser, it now takes roughly 30 seconds to pull in the data. My question is therefore this,  Is there something i can do to speed up the way the data is pulled in when launched through the browser?  are there transport protocols i can alter or something like that? maybe config in central admin or infopath config? any help would be gratefully appreciated as if i can not get the form to pull the data in fast through the browser then the whole project is a waste of time as my management team will never go for the solution if it is slow and will get slower as more data is added. thanks

Infopath 2010 Browser Based Form Vs Infopath 2010 Filler Based Form Issue

  
I have created a detailed infopath form that is connecting to multiple sharepoint lists, some of which contain thousands of rows and dozens of columns.  To tailor for the data load i have enabled the form to only pull in data as needed and on some of the lists i have created 5 or 6 data connections to the same list, each only looking at a certain set of data, and as you make your way through the form selecting your options, the data is pulled in. If i preview this form from within Infopath or if i launch it using Infopath filler this works great, the data is pulled through in under a second.  However if i then publish the form to the browser and launch it through the browser, it now takes roughly 30 seconds to pull in the data. My question is therefore this,  Is there something i can do to speed up the way the data is pulled in when launched through the browser?  are there transport protocols i can alter or something like that? maybe config in central admin or infopath config? any help would be gratefully appreciated as if i can not get the form to pull the data in fast through the browser then the whole project is a waste of time as my management team will never go for the solution if it is slow and will get slower as more data is added. thanks

Issue in Infopath 2007 browser form - cascading dropdown using owssvr.dll filter view

  

Referring the below link, I created a cascading dropdown. The parent dropdown has sharepoint list as datasource and the child dropdown has xml datasource that points to owssvr.dll filter view. The cascading drop down works fine in preview but throws error after publishing as admin approved form - "form cannot run the specified query" exception when trying to execute xml datasource i.e., when a value is selected in parent dropdown. The security is 'Full Trust". In the event viewer the error message states "401 unauthorised" for the user a/c. the xml data source is an approved udcx file and in central admin, have enabled cross domain for infopath service. I have tried different solution provided in tech forums but issue still exists. Not sure whether Im missing something. Can someone guide me in fixing this issue?

Link Reffered:

http://www.bizsupportonline.net/browserforms/filter-cascade-drop-down-infopath-sharepoint-browser-form-owssvr-dll.htm

http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html


Infopath Changed Event code triggering in preview but not in web filler.

  
Hi there, I've written some code for a changed event hookup on a field in infopath 2010. The form is for submission to a sharepoint 2010 forms library. What the code does is fill in a specific value into a field depending on the selected value from a combo-box elsewhere on the form. When i preview this in Infopath 2010 it works perfectly but when i fill out the form through the web interface it simply does nothing. I've got another piece of code which executes on load and this works perfectly in both the preview and the web filler. What it does is just set the value of a field when the form loads. Here is the code, could someone tell me what i'm doing wrong? public void InternalStartup() { EventManager.XmlEvents["/my:myFields/my:service_level"].Changed += new XmlChangedEventHandler(service_level_Changed); EventManager.FormEvents.Loading += new LoadingEventHandler(FormEvents_Loading); } public void service_level_Changed(object sender, XmlEventArgs e) { // Write your code here to change the main data source. XPathNavigator xroot = MainDataSource.CreateNavigator(); XPathNavigator serviceLevel = xroot.SelectSingleNode("/my:myFields/my:service_level",NamespaceManager); XPathNavigator xest = xroot.SelectSingleNode("/my:myFields/my:est_cost", NamespaceManager); switch (serviceLevel.Value)

Filter Infopath Form View issue

  
Hi every body I want to Filter Infopath Form view based on the Document Library Name , or url . for example i have two document library : users and Moderators . I need if user open the form in users document library , the form opens with Users View and if user opens the form in Moderators document lib the form open with the Moderator view . what should i do ? I tried to insert a text box in my form and set it's default value to use sharepointlisturl function. but i think the sharepointlisturl function only use when the form hosted from the lists , not document libraries. when my form hosted from document library the text box is empty. i don't know what to do !

External Lists and Infopath forms issue with Secondary Data Sources

  
I've followed this tutorial for creating and customising forms for external data (http://blogs.msdn.com/infopath/archive/2010/03/11/customize-an-external-list-form-in-infopath-2010.aspx).  The only difference being that my seconday data source is not an XML file (I've tried database connection and existing sharepoint lists both internal and external) When running the design checker I get the message "Additional Data connections not supported" and my form won't publish.  Any ideas?

InfoPath Filler Questions...

  
Hello.  I was wondering if someone knew whether InfoPath Filler was available separate from Designer?  I would like to make InfoPath Forms available to my users, but I won't be using Browser Based Forms. You might say, I am looking for an Adobe Reader-type approach to my forms...  Like, deploying Filler as a free reader to my users... Thanks, Gene.

No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'.

  
I am getting this error whenever I tried to open the svc file in the browser using the Visual Studio 2008. The puzzling part is the localhost address being interpreted as '0.0.0.0 '. What are should I look for in order to troubleshoot this problem?Exception Details: System.InvalidOperationException: No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidOperationException: No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.][ServiceActivationException: No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.] System.ServiceModel.AsyncResult.End(IAsyncResult result) +4413209

InfoPath 2010 People Picker - Find Email Address

  
I am creating a form that uses the people picker to find information on a user but it doesn't appear to contain an email address for the user. I can create another form that uses a web service to connect to the SharePoint 2010 user profile service and pull back the current user details but I want to be able to send data from the people picker to fill in parts of the form with that users details (includiong email) and not the current user

SharePoint Data Source for InfoPath Issue

  
I've setup an InfoPath form which uses web services to pull an XML data source into the form.  The form works great internally, but when users on the extranet try to use it they get a "Cannot Access Data Source" error.  I have tried connecting to the web service via the extranet and it works just fine, but as a data source in the InfoPath form, extranet users cannot access it.  I've tried using both the intranet and extranet paths to the web service with no luck.  Any ideas?

Infopath bug in windows 7 to convert datasource to data connection library in sharepoint?

  
Any ideas about this bug: Windows 7, infopath 2007, did not check in the data connection file when converting a data source? Also it did not set title and kept the file checked out so that you can not even update the items by SharePoint UI. I did everything successfully with Infopath 2007 on a windows xp machine. Is the OS related in this case? Thanks,

Append Querystring Value on Hyperlink in InfoPath

  

I have a custom InfoPath edit form for a SharePoint 2010 list.  What I would like to do is include a hyperlink within the form that points to some other page, appending a querystring variable value that pulls the value from one of the fields of the SharePoint list.  So if the user edits item 1, the url would point to "http://site/page.aspx?value=1", and if they edit item 2 the url would point to "http://site/page.aspx?value=2".

I can't seem to do that with the Hyperlink control in InfoPath.  I was thinking of maybe using a calculated column in the SharePoint list that contains the URL with the querystring value already appended and then use that as the source for the hyperlink.  Haven't tried that yet.  Any other ideas?  I'm not an InfoPath guy so hopefully I'm missing something easy.


http://randomdust.com/blogs/ryan

An unrecognized HTTP status was received. Check that the address can be accessed using Internet Expl

  

Hi All,

I am getting following error message in my crawl logs.

An unrecognized HTTP status was received. Check that the address can be accessed using Internet Explorer. (WebExceptionStatus KeepAliveFailure The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.)

Any idea how to solve this issue ?


SSRS Datasource is linkedserver issue?

  

I have 2 SQL 2005 servers with separate SSRS installs.  Using SSRS on Server 1, I am trying to save a report that I built using Report Builder.  The report is being built from a report model on Server 2.  When I try to save the report, I get an error....Unable to bind datasource to report.

Details....

The data source may might not be accessible from the location where the report was saved.
The report was saved to "...folder/Report2".
The data source is "/Models/xxxxx".

You will no longer be able to run the report until this problem is fixed

--------------
The item '/Models/xxxxx' cannot be found. ---> The item '/Models/xxxxx' cannot be found..

 

Thoughts on how to get around this?

Thanks.

 


Reporting Services 2008: "HTTP status 401: Unauthorized" Issue

  

I'm getting the error "The request failed with HTTP status 401: Unauthorized" whenever I try to list the reports on my reporting server. The weird thing is, it works when I run the asp.net application on my dev machine hitting the server reporting services web service url (http://www.example.com/reports/reportservice2005.asmx?wsdl) but when the asp.net app is installed on the server (running iis 7) hitting the same url I get the error. Here's my set up:


Server:

SQL Server Reporting services 2008 (not R2)

Web service url: http://www.example.com/reports/reportservice2005.asmx?wsdl


Client

Created a proxy ReportingServices2005.cs

Web.config has <identity impersonate="true"/>

Code to list reports:


<asp:ListView ID="lvReportList" runat="server">
    <LayoutTemplate>
        <ul>
            <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
        </ul>
    </LayoutTemplate>
    <ItemTemplate>
        <li>
            <asp:HyperLink runat="server" ID="hpReportLink" NavigateUrl='<%#Eval("Url")%>'><%#Eval("Name")%></asp:HyperLin

Link to Infopath Form web filler

  

Hi guys,

Does anyone know how link to sharepoint so that it opens an Infopath 2010 form through the web interface as opposed to the desktop client? If u use the Encoded Absolute URL in my workflow emails it tries to download / open the document through my desktop client.

Thanks!


The world is the mollusc of your choice

Changing the address in app.config at runtime ..AN ISSUE..HELP neede..

  
hi wcf champs.,

hmm...I have a problem..and seriously need a solution to get things done well..!!

Have developed a wcf Upload application,the wcf service is hosted on IIS..now,the endpoint address at the server is exposed at client(in app.config).If further the server ip changes to some other..then the address at the client must be changed..!right..ya I did something to handle this but ,its another problem..!!.

Let me say what i have done and why does that give a problem..

WHAT HAVE I DONE TO SOLVE THE PROBLEM :-

*.*.The server ip is stored in a xml file.When the application runs,it picks up the server ip and changes it in Client.exe.config...

*.And if there is EndpointotFound exception at the client,it asks the admin to check the ip of the server.

*.The admin checks it and if the server ip is changed,the admin changes the ip in the xml file (where server ip is stored).

now let me know.."IS THIS A RIGHT APPROACH TO SOLVE MY PROBLEM" ..But then there is a problem!!let me share that with u..

THE PROBLEM IS :-

*.The ip that is picked from  xml and placed in Client.exe.config.
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