Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

Open a new form from a Task Pane

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 09 Jul 2007 21:37 GMT
Does anyone know how to open a new form from java script when using
the custom task pane?  And more importantly, a new form and a specific
view without having to add any code to the infopath form?

TIA

Bob
K.Ramana Reddy(GGK Tech) - 11 Jul 2007 06:56 GMT
Hi,

we have one method called " NewFromSolution"  method to create a new form
based on an existing form template.

Code:

var objXDoc;

objXDoc = Application.XDocuments.NewFromSolution("C:\MyForm.xsn");

Place a button in taskpane and write the code under that button.

I hope this will help for you.

Signature

k.Ramana Reddy
http://www.GGKtech.com

> Does anyone know how to open a new form from java script when using
> the custom task pane?  And more importantly, a new form and a specific
[quoted text clipped - 3 lines]
>
> Bob
Kalyan G Reddy MVP (GGK Tech) - 11 Jul 2007 08:28 GMT
Hello,

Your form will need to require full trust in order to use this method.
Signature

Kalyan G Reddy - INFOPATH MVP 2007
http://www.ggktech.com

> Hi,
>
[quoted text clipped - 18 lines]
> >
> > Bob
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.