How to get the InfoPath Form Template Status? - InfoPath Dev
in

InfoPath Dev

How to get the InfoPath Form Template Status?

Last post 02-02-2007 10:13 AM by Patrick Halstead. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-31-2007 10:47 PM

    How to get the InfoPath Form Template Status?

    Hi guys,

    Here's my problem, I uploaded a Form Template with Managed Code to the Central Administration of the OSS2007, the status appears "Installing", and a few seconds later, the status modified to "Ready", I want to know if there's any way to get the Form Template's Status Programtically?


    Thanks in advanced!

    Lin.Feng
    2007.02.01
  • 02-01-2007 05:29 PM In reply to

    Re: How to get the InfoPath Form Template Status?

    I have found the solution for getting the form template's status. But that's not what I need.
    I use the
    FormTemplate ft = new FormTemplate();
    string status = ft.FormTemplateStatus.ToString();

    to get the specific form template's status.

    Below are the Form Template Status Description:
    Converting -- The form template data is being reconverted but is fully functional.
    Error -- The form template conversion encountered an error.
    Normal -- The form template is functioning normally.
    PendingConversion -- The form template is waiting to be reconverted but is fully functional.
    Quiesced -- All forms based on the form template are expired and new forms cannot be created.
    Quiescing -- Existing forms based on the form template are still active, but new forms cannot be created.
    Removing -- The form template is being removed from the server.
    Upgrading -- The form template is being upgraded to a newer version.
    UploadFailed -- The form template failed to upload to the server.
    Uploading -- The form template is uploading to the server for the first time.

    but there's no Ready Status as shown in the forms server. I did the test, the Normal status is not eaqule to the Ready status.
    so, is there anyone who can help to tell how to confirm the form template's status is Ready?
  • 02-02-2007 10:13 AM In reply to

    Re: How to get the InfoPath Form Template Status?

    FormTemplate.Status in the Microsoft.Office.Infopath.Server.Administration namespace
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.