Modify Feature.xml on LocalFormService.FormTemplates.UploadFormTemplate() - InfoPath Dev
in

InfoPath Dev

Modify Feature.xml on LocalFormService.FormTemplates.UploadFormTemplate()

Last post 10-15-2009 12:12 PM by fromonesource. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-13-2009 01:31 PM

    Modify Feature.xml on LocalFormService.FormTemplates.UploadFormTemplate()

    When I activate my feature on the site collection level it calls this line of code

    LocalFormService.FormTemplates.UploadFormTemplate(xsnpath);

    which uploads the form to a folder in 12/templates/features to a folder that looks something like

    FT-01-0d446aa4-42ee-c68c-f5e7-676a569af35b

    Inside of that folder there is a feature.xml file which I want to modify. How can I get a reference to that folder that is created upon calling LocalFormService.FormTemplates.UploadFormTemplate()?

    Thanks

  • 10-14-2009 06:25 AM In reply to

    Re: Modify Feature.xml on LocalFormService.FormTemplates.UploadFormTemplate()

    There should be a Solution.URL property or something like that. Check out the object model documentation and search for URL.

    Patrick Halstead
    Project Manager at Qdabra
  • 10-15-2009 12:12 PM In reply to

    Re: Modify Feature.xml on LocalFormService.FormTemplates.UploadFormTemplate()

    I was not able to find anything like Solution.Url... there is a FormTemplate.FeatureId property but I can't see how to get a handle on the current FormTemplate in order to extract the FeatureId. Any ideas?

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