Replace FormServer.aspx by MyFormServer.aspx - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Replace FormServer.aspx by MyFormServer.aspx

Last post 05-11-2007 12:29 AM by ekzarov. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-27-2007 06:34 AM

    Replace FormServer.aspx by MyFormServer.aspx

    When I open new form in Infopath Document Library, I look in url and see ....FormServer.aspx.... and other stuff.... So, can I replace FormServer.aspx on my own MyFormServer.aspx and force Sharepoint behave itself the same way if it was FormServer.aspx ???
    Best regards,
    Alexander Ekzarov
    Kyiv, Ukraine
    silverlightnet.blogspot.com
  • 05-02-2007 08:19 AM In reply to

    Re: Replace FormServer.aspx by MyFormServer.aspx

    Hi ekzarov,

    This seems like it would be tricky.  There might be a configuration option buried deep within the SharePoint configuration, but a better bet might be to just open the page in SharePoint designer and hack away at the underlying HTML. Let us know if you figure it out, good luck!

    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 05-11-2007 12:29 AM In reply to

    Re: Replace FormServer.aspx by MyFormServer.aspx

    Well you can change serverfiles_FormServer.xml in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML. But I think this is not good... :(

    <ServerFiles>
     <Mapping FileExtension="xml" ProgId="InfoPath.Document" RedirectUrlTemplate="/_layouts/FormServer.aspx?XmlLocation=|0" />
     <Mapping FileExtension="xml" ProgId="InfoPath.Document.2" RedirectUrlTemplate="/_layouts/FormServer.aspx?XmlLocation=|0" />
     <Mapping FileExtension="xml" ProgId="InfoPath.Document.3" RedirectUrlTemplate="/_layouts/FormServer.aspx?XmlLocation=|0" />
     <Mapping FileExtension="xml" ProgId="InfoPath.Document.4" RedirectUrlTemplate="/_layouts/FormServer.aspx?XmlLocation=|0" />
     <Mapping FileExtension="xsn" RedirectUrlTemplate="/_layouts/FormServer.aspx?XsnLocation=|0" />
    </ServerFiles>

    Best regards,
    Alexander Ekzarov
    Kyiv, Ukraine
    silverlightnet.blogspot.com
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.