SOS: Can i change the template URI/URl onload??? - InfoPath Dev
in

InfoPath Dev

SOS: Can i change the template URI/URl onload???

Last post 10-02-2007 04:02 AM by buzzby. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-17-2007 01:52 AM

    • buzzby
    • Top 200 Contributor
    • Joined on 07-11-2005
    • United Kingdom
    • Posts 60

    SOS: Can i change the template URI/URl onload???

    I have an issue with forms authentication and windows authentication working on the same system. I think i can solve the issue by removing or adding the port number to the template URI address when the form is loaded.

     

    Is this possiable??

     

    If i change the template URL of the form through the Form document library then my issue is resolved so i have to be able to do this in code.

     

    Please can someone help, this is a real show stopper for a product we need to release tomorrow and its making me look a fool  :(

    Thanks

     

    Paul

  • 10-02-2007 04:02 AM In reply to

    • buzzby
    • Top 200 Contributor
    • Joined on 07-11-2005
    • United Kingdom
    • Posts 60

    Re: SOS: Can i change the template URI/URl onload???

    Incase someone else has the same situation. You cannot do this. You cannot change the Template address in code its is read-only. I have opened a support call with microsoft and they have confirmed that it cannot be done.

     

    You can put a relative URL in the template address but this is replace with a fully qualified URL once the form is saved.

    There are 2 ways i can see to fix the issue. Use one authentication type. For me this beens Forms authentication which is messy to setu for users that could have used windows accounts. 

    Or

    We have had a thought of writting an event handler for MOSS that changed the template address to be relative after each form has been saved. Not sure how easy this is yet but is is something worth thinking about.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.