Custom Task Pane HTML displays as text when form is full trust??

S

Steve B

Hi,

I'm developing an InfoPath 2007 form with VSTO. The form security setting is
set to 'Full Trust'. An HTML file has been created to display in the Custom
Task Pane. However, when the form starts up, the HTML is displayed as text in
the pane (i.e. you can see the raw HTML content). On setting the form
security to 'Domain', the HTML renders correctly. Why is this? Any ideas
gratefully received!

Steve.
 
S

Steve B

I should have mentioned the HTML file is set up as a resource for the form.

Further investigation reveals that entering the full path to the HTML file
in Tools...Form Options...Programming...Task Pane Location, rather than just
the resource filename, makes the HTML render correctly. This isn't an option
since the form will be installed by users via an MSI.

What am I missing about trust/permissions here? I would have thought 'Full
Trust' security wouldn't have a problem with a file packaged as a resource in
the distributed .xsn?
 

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