بایگانی دسته بندی: InfoPath و 2007 // فرم سرور

به طور تصادفی با اضافه کردن کد به فرم InfoPath; عمدا از بین بردن آن

در هنگام کار با دکمه های فرم, we often add rules. You access the rules editor from the properties of the button.

وقتی که با کلیک در اطراف سرعت, it’s easy to accidentally click on "Edit Form Code" instead of "Rules …".

اولین بار من این را, I canceled out of the code editor. اما, زمانی که من سعی کردم به انتشار فرم در حالی که کمی بعد, it required that I publish as an "Administrator-approved form template (پیشرفته)". I didn’t actually do any programming and I absolutely didn’t want to go through an unnecessary approval process. I was in a bit of panic at the time due to time constraints. To get past it, I simply restored a previous backup and continued. I had recently seen some blog posts about people going into the form’s XML to tweak things and I was afraid I would have to do something similar.

امروز, I did it again. این بار, من زمان کمی بیشتر در دست من بود و متوجه شد که شما به راحتی می توانید این کار را لغو.

رفتن به:

ابزار -> گزینه های فرم -> برنامه نویسی: "Remove Code"

این کار بسیار ساده تر از آن.

</پایان>

برچسب ها: ,

خزه: مشاهدات در اشکال زدایی InfoPath و

InfoPath form server error messages are misleading.

During development of an InfoPath form, I would post it to MOSS server and access the form. The form would start to load and then generate a misleading error message pointing me to the windows event log for details. در واقع, no message was written to the windows event log. Rather, the message was sent to the MOSS ascii diagnostic log. You can track that down via central services administration.

You need to be quick on your feet. MOSS likes to write to the log file, frequently and verbosely. This can be trimmed but the default log writing behavior is "everything as quickly as possible".