Can I create a combined view from 28 other views?

G

G. Tarazi

Hi



I have a long from that is divided exactly to 28 sections; the form is take long time to load, so I split it into views, one view per section.



But the client requires at least one main view that will combine all the sections in to one large view, is that possible in the current InfoPath ? is there any way of not using copy and paste of the sections (copy and paste it is not easy during development) to combine a main view from the other views?



Can I build one view from another 28 views?



Thank you
 
J

Josh Bertsch [MSFT]

What makes copy and paste difficult for you during development? I'd have to disagree and suggest that it is the simplest and easiest way to create a combined view that will retain the formatting of the other views. Of course other options include dragging over the correct nodes from the data source pane or writing your own XSL by hand. But both of those options seem quite a bit more tedious.

--josh bertsch
"G. Tarazi" <Tarazi (at) LiveTechnologies.ca> wrote in message Hi



I have a long from that is divided exactly to 28 sections; the form is take long time to load, so I split it into views, one view per section.



But the client requires at least one main view that will combine all the sections in to one large view, is that possible in the current InfoPath ? is there any way of not using copy and paste of the sections (copy and paste it is not easy during development) to combine a main view from the other views?



Can I build one view from another 28 views?



Thank you
 
B

Brian Teutsch [MSFT]

Sorry George, but there isn't a good way to combine all your InfoPath views
into 1 using the designer. If you're crafty with XSL, you can probably write
a simple XSL that will aggregate all the views in your solution and output
the merged view yourself.

Brian

"G. Tarazi" <Tarazi (at) LiveTechnologies.ca> wrote in message
Hi

I have a long from that is divided exactly to 28 sections; the form is take
long time to load, so I split it into views, one view per section.

But the client requires at least one main view that will combine all the
sections in to one large view, is that possible in the current InfoPath ? is
there any way of not using copy and paste of the sections (copy and paste it
is not easy during development) to combine a main view from the other views?

Can I build one view from another 28 views?

Thank you
 
G

G. Tarazi

Actually that is a brilliant idea :) , I didn't know that it is possible, I
will try to play with the source files to see if I can implement it.



About the copy and paste, it is difficult because of the continues changes,
the form is not small, more than one developer is working on it at the same
time (SourceSafe + Nanat), and it is difficult to make sure of the
synchronization.



We are also using the beta of InfoPath via terminal services (Windows 2003)
and there are tons of problems with the copy and paste, thanks god that it
works at least partly.



Thank you for the help, I will try the XSLT.
 
G

G. Tarazi

The difficulties is the code duplication, the conditional formatting duplication, the validation duplications, the rule duplications, the.. :)

And during development its changes all the time, its like having 2 different copies of Microsoft Word, one to write the documents and another one to view them :)

Thank you for the help

George

What makes copy and paste difficult for you during development? I'd have to disagree and suggest that it is the simplest and easiest way to create a combined view that will retain the formatting of the other views. Of course other options include dragging over the correct nodes from the data source pane or writing your own XSL by hand. But both of those options seem quite a bit more tedious.

--josh bertsch
"G. Tarazi" <Tarazi (at) LiveTechnologies.ca> wrote in message Hi



I have a long from that is divided exactly to 28 sections; the form is take long time to load, so I split it into views, one view per section.



But the client requires at least one main view that will combine all the sections in to one large view, is that possible in the current InfoPath ? is there any way of not using copy and paste of the sections (copy and paste it is not easy during development) to combine a main view from the other views?



Can I build one view from another 28 views?



Thank you
 
M

Matthew Blain \(Serriform\)

As mentioned in another recent thread, you can do this a few ways. One may
be using XSL and xsl:import. One is at build time, copying XSLs together. A
third is to use xdExtension and script.

--Matthew Blain
http://tips.serriform.com/
 
G

G. Tarazi

Hi



I am trying to do that since a day, is there is any example on the Internet
of how can I use the Import/Include in XSL



Tank you
 

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