In the world of InfoPath, you may have noticed the the url for an open form is crazy big! I ran into a problem in the past when I ran out of space in the url. Sometimes this happens if the form is nested a couple of levels down in a site. Whenever you open a new form in the browser, your url will look like the following:
https://www.yoursite.com/depts/test/_layouts/15/FormServer.aspx?XsnLocation=
https://www.yoursite.com/depts/test/newhiresur/Forms/template.xsn&SaveLocation
=https%3A%2F%2Fwww%2Eyoursite%2Ecom%2Fdepts%2Ftest%2Fnewhiresur
&ClientInstalled=true&DefaultItemOpen=1&Source=https%3A%2F%2Fwww%2
Eyoursite%2Ecom%2Fdepts%2Ftest%2Fnewhiresur%2FForms%2FAll
Items%2Easpx
You can shorten the above by removing all of the items in bold. It will look like this once you have finished:
https://www.yoursite.com/depts/test/_layouts/15/FormServer.aspx?XsnLocation=
/depts/test/newhiresur/Forms/template.xsn&SaveLocation=%2Fdepts%2Ftest%
2Fnewhiresur&ClientInstalled=true&DefaultItemOpen=1
As a best practice, I do this each time I have to setup a link to an InfoPath form. This way, I keep my urls short and will not have any issues of running out of url space.
Stay Salty!
thanks alot for this. I found it very helpful.
Very Helpful…:)