defaultsavelocation - InfoPath Dev
in

InfoPath Dev

defaultsavelocation

Last post 06-28-2005 11:16 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-23-2005 07:18 AM

    • maryha
    • Not Ranked
    • Joined on 06-22-2005
    • Posts 2

    defaultsavelocation

    Hi,

    Is there anyway to retrieve the value of the defaultsavelocation command-line argument within the InfoPath programming environment?

    Mary F.
  • 06-23-2005 12:09 PM In reply to

    As far as I can tell, there is no way to get that.

    What are you trying to accomplish?

    Greg Collins [InfoPath MVP]
    InfoPath Dev
  • 06-28-2005 01:54 PM In reply to

    • maryha
    • Not Ranked
    • Joined on 06-22-2005
    • Posts 2
    It's the old "centralized forms library" question. I have a link on a WSS Site to a "central" form template on a SharePoint portal site that passes in the default save location as the WSS site where the link is displayed. That all works very nicely. However, we wanted to initialize some of the data in the form based on the original WSS site, so I wanted to get at the save location to read information from the WSS site for the form.

    maryha
  • 06-28-2005 11:16 PM In reply to

    Hi Mary,
    Instead of a link, why not just use a template.xml with a default parameter containing the location of the non-centralized location?

    Alternatively, if you didn't want to sully your main DOM, you could do some fancy xdlaunch with /aggregate option and pass in a form with the parameter in a separate form that is imported at load and you write some OnMergeRequest that pilfers the param and quits the merge.... cool hack eh?

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.