Code Does Not Run When Published to SharePoint

H

hockera

I created an Infopath form template using InfoPath 2007 and have assigned it
Full Trust and signed with a digital certificate. I have a loading event
handler that reads from Active Directory and fills out fields within the form
based on the logged-on user. The code works fine when I open the form from
my desktop, but after publishing to SharePoint, the form opens fine, but the
fields are not filled out. I see no errors in the Sharepoint logs and no
errors are presented to the users.

What is the best way to debug the situation and find out whether the code is
running and whether there are any errors?

I am new to InfoPath.
 
A

Anuma (GGK Tech)

Hi,

You need to debug the Onload code in Infopath form.

Just open one form from sharepoint. And add the debug to code (Make sure add
the debug point to Onload Code). And now open another form from Sharepoint.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top